diff options
author | Uwe Freese <thebreaker@rockbox.org> | 2003-03-03 13:17:49 +0000 |
---|---|---|
committer | Uwe Freese <thebreaker@rockbox.org> | 2003-03-03 13:17:49 +0000 |
commit | 4846ce8654a4f0a857718905882420aa2ced54e9 (patch) | |
tree | 966e6eee1747b6d1ab5078eb427979275cb90240 | |
parent | 62fe3a6d59a67d3b6f05fe8941d8dedb7b271fed (diff) | |
download | rockbox-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/Makefile | 2 | ||||
-rw-r--r-- | firmware/Makefile | 2 | ||||
-rwxr-xr-x | tools/configure | 2 |
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 | ||
21 | INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I. -I$(OBJDIR) | 21 | INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I. -I$(OBJDIR) |
22 | 22 | ||
23 | CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) | 23 | CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) -DMEM=${MEM} |
24 | AFLAGS += -small -relax | 24 | AFLAGS += -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 | ||
18 | TOOLSDIR = ../tools | 18 | TOOLSDIR = ../tools |
19 | 19 | ||
20 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) | 20 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} |
21 | 21 | ||
22 | ifdef DEBUG | 22 | ifdef DEBUG |
23 | CFLAGS += -g -DDEBUG | 23 | CFLAGS += -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@ | |||
424 | all: firmware apps | 424 | all: firmware apps |
425 | 425 | ||
426 | firmware: | 426 | firmware: |
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 | ||
429 | apps: | 429 | apps: |
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) |