summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-01 22:16:11 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-01 22:16:11 +0000
commit8c29d069db1898b519c6c610a91a25b5ffb8c9d0 (patch)
treee2c90d09cd3329d33b26b53f0a2491e6a81a2025 /Rules.mak
parent67d0b8edf6c8c19366c4507d8453216d007397cd (diff)
A bunch of updates, part from Manuel Novoa III (such as more long long
support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
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 600ce5ea8..f081affe4 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -39,11 +39,11 @@ endif
CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS)
ifeq ($(DODEBUG),true)
- CFLAGS += -Wall -g
+ CFLAGS += $(WARNINGS) -g
LDFLAGS = -nostdlib -Wl,-warn-common
STRIPTOOL = /bin/true -Since_we_are_debugging
else
- CFLAGS += -Wall #-fomit-frame-pointer
+ CFLAGS += $(WARNINGS) #-fomit-frame-pointer
LDFLAGS = -s -nostdlib -Wl,-warn-common
endif
@@ -53,15 +53,15 @@ endif
ifneq ($(HAS_MMU),true)
CFLAGS += -D__HAS_NO_MMU__
+ ARCH_DIR = $(shell echo $(TARGET_ARCH)nommu)
+else
+ ARCH_DIR = $(TARGET_ARCH)
endif
ifneq ($(HAS_FLOATS),true)
CFLAGS += -D__HAS_NO_FLOATS__
endif
-ifneq ($(DO_FIXME_STUFF),true)
- CFLAGS += -DFIXME
-endif
# Use '-ffunction-sections -fdata-sections' and '--gc-sections' if they work