diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-09-11 07:43:33 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-09-11 07:43:33 +0000 |
commit | c643692201418c631b7ea8b9c68a9595323b1d5a (patch) | |
tree | f049540d6773b422849f5334291ac81b10638f29 /apps | |
parent | 03cf6669b16f904c7a1e5a4ddabef7bd1769f8a5 (diff) | |
download | rockbox-c643692201418c631b7ea8b9c68a9595323b1d5a.tar.gz rockbox-c643692201418c631b7ea8b9c68a9595323b1d5a.zip |
Make sure that the apps directory exists when building the apps/features file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14669 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile index cc22591c3f..1708727273 100644 --- a/apps/Makefile +++ b/apps/Makefile | |||
@@ -194,7 +194,7 @@ $(BUILDDIR)/rombox.ucl: $(OBJDIR)/rombox.bin $(MAXOUTFILE) | |||
194 | 194 | ||
195 | $(BUILDDIR)/rombox.iriver: $(OBJDIR)/rombox.bin | 195 | $(BUILDDIR)/rombox.iriver: $(OBJDIR)/rombox.bin |
196 | $(call PRINTS,Build ROM file)$(MKFIRMWARE) $< $@ | 196 | $(call PRINTS,Build ROM file)$(MKFIRMWARE) $< $@ |
197 | 197 | ||
198 | include $(TOOLSDIR)/make.inc | 198 | include $(TOOLSDIR)/make.inc |
199 | 199 | ||
200 | # apps/features.txt is a file that (is preprocessed and) lists named features | 200 | # apps/features.txt is a file that (is preprocessed and) lists named features |
@@ -204,13 +204,13 @@ include $(TOOLSDIR)/make.inc | |||
204 | # | 204 | # |
205 | 205 | ||
206 | $(OBJDIR)/features: features.txt | 206 | $(OBJDIR)/features: features.txt |
207 | $(SILENT)mkdir -p `dirname $@` | ||
207 | $(SILENT)cat $< | $(HOSTCC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ | 208 | $(SILENT)cat $< | $(HOSTCC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ |
208 | $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -imacros "config.h" -imacros "button.h" - | \ | 209 | $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -imacros "config.h" -imacros "button.h" - | \ |
209 | grep -v "^\#" | grep -v "^$$" > $@; \ | 210 | grep -v "^\#" | grep -v "^$$" > $@; \ |
210 | echo "" >/dev/null | 211 | echo "" >/dev/null |
211 | 212 | ||
212 | $(OBJDIR)/lang.o: lang/$(LANGUAGE).lang $(OBJDIR)/features | 213 | $(OBJDIR)/lang.o: lang/$(LANGUAGE).lang $(OBJDIR)/features |
213 | $(SILENT)mkdir -p `dirname $@` | ||
214 | $(SILENT)for f in `cat $(OBJDIR)/features`; do feat="$$feat:$$f" ; done; \ | 214 | $(SILENT)for f in `cat $(OBJDIR)/features`; do feat="$$feat:$$f" ; done; \ |
215 | perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(ARCHOS)$$feat $< | 215 | perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(ARCHOS)$$feat $< |
216 | $(call PRINTS,CC lang.c)$(CC) $(CFLAGS) -c $(BUILDDIR)/lang.c -o $@ | 216 | $(call PRINTS,CC lang.c)$(CC) $(CFLAGS) -c $(BUILDDIR)/lang.c -o $@ |