summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen2003-07-22 22:15:21 +0000
committerEric Andersen2003-07-22 22:15:21 +0000
commite5272074c9bf554fa9f24a97899de584b1c127c2 (patch)
treeb2cb25c7af226c471111fd04f14e7502f41b1155 /Rules.mak
parent20c9f1e5e7290c7d22bdf4217e66b9d75e9e73df (diff)
downloadbusybox-e5272074c9bf554fa9f24a97899de584b1c127c2.zip
busybox-e5272074c9bf554fa9f24a97899de584b1c127c2.tar.gz
eliminate DOSTATIC, DODEBUG, etc and name them sensibly
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak10
1 files changed, 5 insertions, 5 deletions
diff --git a/Rules.mak b/Rules.mak
index b38225f..55e9b5c 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -140,20 +140,20 @@ OPTIMIZATIONS=$(OPTIMIZATION) -fomit-frame-pointer
# prone to casual user adjustment.
#
-ifeq ($(strip $(DOLFS)),y)
+ifeq ($(strip $(CONFIG_LFS)),y)
# For large file summit support
CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
-ifeq ($(strip $(DODMALLOC)),y)
+ifeq ($(strip $(CONFIG_DMALLOC)),y)
# For testing mem leaks with dmalloc
CFLAGS+=-DDMALLOC
LIBRARIES:=-ldmalloc
else
- ifeq ($(strip $(DOEFENCE)),y)
+ ifeq ($(strip $(CONFIG_EFENCE)),y)
LIBRARIES:=-lefence
endif
endif
-ifeq ($(strip $(DODEBUG)),y)
+ifeq ($(strip $(CONFIG_DEBUG)),y)
CFLAGS +=$(WARNINGS) -g -D_GNU_SOURCE
LDFLAGS +=-Wl,-warn-common
STRIPCMD:=/bin/true -Not_stripping_since_we_are_debugging
@@ -162,7 +162,7 @@ else
LDFLAGS += -s -Wl,-warn-common
STRIPCMD:=$(STRIP) --remove-section=.note --remove-section=.comment
endif
-ifeq ($(strip $(DOSTATIC)),y)
+ifeq ($(strip $(CONFIG_STATIC)),y)
LDFLAGS += --static
endif