mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Fix mktccboot to make Rockbox Utility compile again.
- when building out-of-tree don't build objects in the tools folder. - take out-of-tree building into account when looking for objects. - don't lie to the user -- linking is not compiling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23423 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aae798d237
commit
8ed7a590ad
1 changed files with 6 additions and 5 deletions
|
|
@ -45,16 +45,17 @@ OUT = $(TARGET_DIR)build$(RBARCH)
|
|||
|
||||
all: $(OUTPUT)
|
||||
|
||||
$(TOOLSDIR)/telechips.o: $(TOOLSDIR)/telechips.[ch]
|
||||
make -C $(TOOLSDIR) $(TARGET_DIR)telechips.o
|
||||
$(OUT)/telechips.o: $(TOOLSDIR)/telechips.[ch]
|
||||
@echo CC $<
|
||||
$(SILENT)$(CC) $(CFLAGS) -c -o $(OUT)/telechips.o $(TOOLSDIR)/telechips.c
|
||||
|
||||
$(OUT)/mktccboot.o: mktccboot.[ch] $(TOOLSDIR)/telechips.o
|
||||
$(OUT)/mktccboot.o: mktccboot.[ch] $(OUT)/telechips.o
|
||||
@echo CC $<
|
||||
$(SILENT)$(CC) $(CFLAGS) -c -o $(OUT)/mktccboot.o -W -Wall mktccboot.c -DVERSION=\"$(APPVERSION)\"
|
||||
|
||||
$(OUTPUT): $(OUT) $(OUT)/mktccboot.o
|
||||
@echo CC $<
|
||||
$(SILENT)$(CC) $(CFLAGS) -o $(OUTPUT) $(OUT)/mktccboot.o $(TOOLSDIR)/telechips.o
|
||||
@echo LD $@
|
||||
$(SILENT)$(CC) $(CFLAGS) -o $(OUTPUT) $(OUT)/mktccboot.o $(OUT)/telechips.o
|
||||
|
||||
$(OUT)/libmktccboot.o: $(OUT)/mktccboot.o
|
||||
@echo CC $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue