summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2003-03-03 13:17:49 +0000
committerUwe Freese <thebreaker@rockbox.org>2003-03-03 13:17:49 +0000
commit4846ce8654a4f0a857718905882420aa2ced54e9 (patch)
tree966e6eee1747b6d1ab5078eb427979275cb90240
parent62fe3a6d59a67d3b6f05fe8941d8dedb7b271fed (diff)
downloadrockbox-4846ce8654a4f0a857718905882420aa2ced54e9.tar.gz
rockbox-4846ce8654a4f0a857718905882420aa2ced54e9.zip
export MEM variable in firmware and apps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3371 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/Makefile2
-rw-r--r--firmware/Makefile2
-rwxr-xr-xtools/configure2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/Makefile b/apps/Makefile
index dfd1ae2710..c3fc170600 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -20,7 +20,7 @@ DOCSDIR := ../docs
20 20
21INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I. -I$(OBJDIR) 21INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I. -I$(OBJDIR)
22 22
23CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) 23CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) -DMEM=${MEM}
24AFLAGS += -small -relax 24AFLAGS += -small -relax
25 25
26# Check if this is a kind of Recorder 26# Check if this is a kind of Recorder
diff --git a/firmware/Makefile b/firmware/Makefile
index 5f637bb907..98d4641651 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -17,7 +17,7 @@ INCLUDES=-Iinclude -I. -Iexport -Icommon -Idrivers
17 17
18TOOLSDIR = ../tools 18TOOLSDIR = ../tools
19 19
20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) 20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}
21 21
22ifdef DEBUG 22ifdef DEBUG
23CFLAGS += -g -DDEBUG 23CFLAGS += -g -DDEBUG
diff --git a/tools/configure b/tools/configure
index 23050e8c3c..e3f678a95c 100755
--- a/tools/configure
+++ b/tools/configure
@@ -424,7 +424,7 @@ EXTRA_DEFINES=@EXTRA_DEFINES@
424all: firmware apps 424all: firmware apps
425 425
426firmware: 426firmware:
427 \$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) EXTRA_DEFINES="\$(EXTRA_DEFINES)" 427 \$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) EXTRA_DEFINES="\$(EXTRA_DEFINES)" MEM=\$(MEMORYSIZE)
428 428
429apps: 429apps:
430 \$(MAKE) -C \$(APPSDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) LANGUAGE=\$(LANGUAGE) EXTRA_DEFINES="\$(EXTRA_DEFINES)" MEM=\$(MEMORYSIZE) 430 \$(MAKE) -C \$(APPSDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) LANGUAGE=\$(LANGUAGE) EXTRA_DEFINES="\$(EXTRA_DEFINES)" MEM=\$(MEMORYSIZE)