diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-04 05:49:53 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-04 05:49:53 +0000 |
commit | 975e240a0c1da0738b443b6964fb2150448754e3 (patch) | |
tree | cf07ff18e2d3dabe04c6bf8e88c778944eb96402 | |
parent | bff3d1e1db1abdb8091ea2c7363d0f148f20441a (diff) | |
download | rockbox-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/Makefile | 5 |
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 | ||
20 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} | 20 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} |
21 | 21 | ||
22 | ifndef MEM | ||
23 | # if MEM is not set, assume 2MB | ||
24 | MEM=2 | ||
25 | endif | ||
26 | |||
22 | ifdef DEBUG | 27 | ifdef DEBUG |
23 | CFLAGS += -g -DDEBUG | 28 | CFLAGS += -g -DDEBUG |
24 | else | 29 | else |