← Commit list

c70240cc1

Mike Frysinger
Mike Frysinger
2006-03-10
SOURCE BUG Duration: 26s

Subject

add a sep option for stripping

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

Config.in+7 -0
@@ -318,6 +318,13 @@ config CONFIG_EFENCE
endchoice
+config CONFIG_STRIP_BINARIES
+ bool "Strip busybox objects"
+ default y if !CONFIG_DEBUG
+ default n if CONFIG_DEBUG
+ help
+ Whether or not we strip the busybox binary and such.
+
config CONFIG_DEBUG_YANK_SUSv2
bool "Disable obsolete features removed before SUSv3?"
default y
Rules.mak+4 -1
@@ -238,10 +238,13 @@ endif
LDFLAGS+=$(if $(call is_eq,$(CONFIG_DEBUG),y),$(call check_ld,LDFLAGS,--warn-common,)$(call check_ld,LDFLAGS,--sort-common,))
ifeq ($(CONFIG_DEBUG),y)
CFLAGS +=$(WARNINGS) -g -D_GNU_SOURCE
- STRIPCMD:=/bin/true -Not_stripping_since_we_are_debugging
else
CFLAGS+=$(WARNINGS) $(OPTIMIZATIONS) -D_GNU_SOURCE -DNDEBUG
+endif
+ifeq ($(CONFIG_STRIP_BINARIES),y)
STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
+else
+ STRIPCMD:=/bin/true -Not_stripping_since_we_are_debugging
endif
PROG_CFLAGS+=$(if $(call is_eq,$(CONFIG_STATIC),y),\
$(call check_gcc,PROG_CFLAGS,-static,))