diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-04-22 22:20:00 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-04-22 22:20:00 +0000 |
commit | 77fabf86f45faa153f3644f153b291b034459f3d (patch) | |
tree | 8f91c90578273810944d352d7d078b6285a93216 /firmware/Makefile | |
parent | b6bd35298befb6374641b487b3477ff7fd028aaf (diff) | |
download | rockbox-77fabf86f45faa153f3644f153b291b034459f3d.tar.gz rockbox-77fabf86f45faa153f3644f153b291b034459f3d.zip |
use the TOOLSDIR as passed-in from the top-level Makefile, you need to
run 'configure update' in your build dirs for everything to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3581 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 066097aa83..b4075b3e7b 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
@@ -15,8 +15,6 @@ OC = sh-elf-objcopy | |||
15 | 15 | ||
16 | INCLUDES=-Iinclude -I. -Iexport -Icommon -Idrivers | 16 | INCLUDES=-Iinclude -I. -Iexport -Icommon -Idrivers |
17 | 17 | ||
18 | TOOLSDIR = ../tools | ||
19 | |||
20 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} | 18 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} |
21 | 19 | ||
22 | ifndef MEM | 20 | ifndef MEM |
@@ -53,6 +51,11 @@ no_configure: | |||
53 | @echo "http://rockbox.haxx.se/docs/how_to_compile.html" | 51 | @echo "http://rockbox.haxx.se/docs/how_to_compile.html" |
54 | endif | 52 | endif |
55 | 53 | ||
54 | ifndef TOOLSDIR | ||
55 | no_toolsdir: | ||
56 | @echo "Rerun the configure script." | ||
57 | endif | ||
58 | |||
56 | all: $(OUTPUT) $(EXTRA_TARGETS) | 59 | all: $(OUTPUT) $(EXTRA_TARGETS) |
57 | 60 | ||
58 | $(OUTPUT): $(OBJS) | 61 | $(OUTPUT): $(OBJS) |