summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-04 05:49:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-04 05:49:53 +0000
commit975e240a0c1da0738b443b6964fb2150448754e3 (patch)
treecf07ff18e2d3dabe04c6bf8e88c778944eb96402
parentbff3d1e1db1abdb8091ea2c7363d0f148f20441a (diff)
downloadrockbox-975e240a0c1da0738b443b6964fb2150448754e3.tar.gz
rockbox-975e240a0c1da0738b443b6964fb2150448754e3.zip
if MEM is not set, set it to 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3377 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 98d4641651..066097aa83 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -19,6 +19,11 @@ TOOLSDIR = ../tools
19 19
20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} 20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}
21 21
22ifndef MEM
23 # if MEM is not set, assume 2MB
24 MEM=2
25endif
26
22ifdef DEBUG 27ifdef DEBUG
23CFLAGS += -g -DDEBUG 28CFLAGS += -g -DDEBUG
24else 29else