Bug fix: $@ should not be used in rules with multiple targets targets (causes confusion).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19239 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
89c9dbe21c
commit
ef6b49815b
1 changed files with 3 additions and 3 deletions
|
@ -16,10 +16,10 @@ SRC += $(call preprocess, $(APPSDIR)/SOURCES)
|
|||
# button.h is included for the HAS_BUTTON_HOLD define.
|
||||
#
|
||||
features $(BUILDDIR)/apps/features $(BUILDDIR)/apps/genlang-features: $(APPSDIR)/features.txt
|
||||
$(SILENT)mkdir -p $(dir $@)
|
||||
$(SILENT)mkdir -p $(BUILDDIR)/apps
|
||||
$(call PRINTS,PP $(<F))
|
||||
$(SILENT)$(CC) $(PPCFLAGS) \
|
||||
-E -P -imacros "config.h" -imacros "button.h" -x c $< | \
|
||||
grep -v "^\#" | grep -v "^$$" > $@; \
|
||||
for f in `cat $@`; do feat="$$feat:$$f" ; done ; \
|
||||
grep -v "^\#" | grep -v "^$$" > $(BUILDDIR)/apps/features; \
|
||||
for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done ; \
|
||||
echo "$$feat" >$(BUILDDIR)/apps/genlang-features
|
||||
|
|
Loading…
Reference in a new issue