From 77fabf86f45faa153f3644f153b291b034459f3d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 22 Apr 2003 22:20:00 +0000 Subject: [PATCH] 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 --- firmware/Makefile | 7 +++++-- 1 file 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 INCLUDES=-Iinclude -I. -Iexport -Icommon -Idrivers -TOOLSDIR = ../tools - CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} ifndef MEM @@ -53,6 +51,11 @@ no_configure: @echo "http://rockbox.haxx.se/docs/how_to_compile.html" endif +ifndef TOOLSDIR +no_toolsdir: + @echo "Rerun the configure script." +endif + all: $(OUTPUT) $(EXTRA_TARGETS) $(OUTPUT): $(OBJS)