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
This commit is contained in:
parent
b6bd35298b
commit
77fabf86f4
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue