From 59bec2eaa06025fc9cc056318e60ba0c7ba208ff Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Oct 2004 08:20:25 +0000 Subject: don't build UCL files for targets that don't support flashing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5204 a1c6a512-1295-4272-9138-f99709370657 --- apps/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'apps/Makefile') diff --git a/apps/Makefile b/apps/Makefile index 12d4c85fd9..9dee7cbcca 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -21,9 +21,6 @@ endif SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) DIRS = . -# set the ROMTARGET here -ROMTARGET := $(ARCHOSROM) - ifdef APPEXTRA DIRS += $(APPEXTRA) INCLUDES += -I$(APPEXTRA) @@ -42,7 +39,7 @@ MAXOUTFILE = $(OBJDIR)/romstart ifdef DEBUG all: $(OBJDIR)/rockbox.elf rocks else -all: $(OBJDIR)/$(BINARY) $(OBJDIR)/rockbox.ucl rocks $(ROMTARGET) +all: $(OBJDIR)/$(BINARY) $(FLASHFILE) rocks $(ARCHOSROM) endif dep: $(DEPFILE) @@ -101,7 +98,7 @@ $(OBJDIR)/rockbox.ucl: $(OBJDIR)/rockbox.bin echo "fake" > $@; \ fi -$(ARCHOSROM): $(OBJDIR)/rombox.bin $(MAXOUTFILE) +$(OBJDIR)/rombox.ucl: $(OBJDIR)/rombox.bin $(MAXOUTFILE) @a=`uclpack -h 2>/dev/null`; \ if test -n "$$a"; then \ echo "UCLPACK rombox" ; \ -- cgit v1.2.3