forked from len0rd/rockbox
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
This commit is contained in:
parent
03cf6669b1
commit
c643692201
1 changed files with 2 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ $(BUILDDIR)/rombox.ucl: $(OBJDIR)/rombox.bin $(MAXOUTFILE)
|
||||||
|
|
||||||
$(BUILDDIR)/rombox.iriver: $(OBJDIR)/rombox.bin
|
$(BUILDDIR)/rombox.iriver: $(OBJDIR)/rombox.bin
|
||||||
$(call PRINTS,Build ROM file)$(MKFIRMWARE) $< $@
|
$(call PRINTS,Build ROM file)$(MKFIRMWARE) $< $@
|
||||||
|
|
||||||
include $(TOOLSDIR)/make.inc
|
include $(TOOLSDIR)/make.inc
|
||||||
|
|
||||||
# apps/features.txt is a file that (is preprocessed and) lists named features
|
# apps/features.txt is a file that (is preprocessed and) lists named features
|
||||||
|
|
@ -204,13 +204,13 @@ include $(TOOLSDIR)/make.inc
|
||||||
#
|
#
|
||||||
|
|
||||||
$(OBJDIR)/features: features.txt
|
$(OBJDIR)/features: features.txt
|
||||||
|
$(SILENT)mkdir -p `dirname $@`
|
||||||
$(SILENT)cat $< | $(HOSTCC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
|
$(SILENT)cat $< | $(HOSTCC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
|
||||||
$(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -imacros "config.h" -imacros "button.h" - | \
|
$(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -imacros "config.h" -imacros "button.h" - | \
|
||||||
grep -v "^\#" | grep -v "^$$" > $@; \
|
grep -v "^\#" | grep -v "^$$" > $@; \
|
||||||
echo "" >/dev/null
|
echo "" >/dev/null
|
||||||
|
|
||||||
$(OBJDIR)/lang.o: lang/$(LANGUAGE).lang $(OBJDIR)/features
|
$(OBJDIR)/lang.o: lang/$(LANGUAGE).lang $(OBJDIR)/features
|
||||||
$(SILENT)mkdir -p `dirname $@`
|
|
||||||
$(SILENT)for f in `cat $(OBJDIR)/features`; do feat="$$feat:$$f" ; done; \
|
$(SILENT)for f in `cat $(OBJDIR)/features`; do feat="$$feat:$$f" ; done; \
|
||||||
perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(ARCHOS)$$feat $<
|
perl -s $(TOOLSDIR)/genlang -p=$(BUILDDIR)/lang -t=$(ARCHOS)$$feat $<
|
||||||
$(call PRINTS,CC lang.c)$(CC) $(CFLAGS) -c $(BUILDDIR)/lang.c -o $@
|
$(call PRINTS,CC lang.c)$(CC) $(CFLAGS) -c $(BUILDDIR)/lang.c -o $@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue