summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/xmltohb/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/targeting/xmltohb/makefile')
-rw-r--r--src/usr/targeting/xmltohb/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/targeting/xmltohb/makefile b/src/usr/targeting/xmltohb/makefile
index 8ce66479b..565f5c704 100644
--- a/src/usr/targeting/xmltohb/makefile
+++ b/src/usr/targeting/xmltohb/makefile
@@ -121,12 +121,12 @@ ${GENDIR}/${XMLTOHB_MERGED_COMMON_TARGET_SOURCES}: \
# generic XML is created from the generic sources only
${GENDIR}/${XMLTOHB_GENERIC_XML}: \
${XMLTOHB_MERGE_SCRIPT} ${XMLTOHB_GENERIC_SOURCES}
- $< $^ > $@
+ $< $(wordlist 2,$(words $^),$^) > $@
# merge all FAPI attribute files into one
${GENDIR}/${XMLTOHB_FAPI_XML}: ${XMLTOHB_MERGE_SCRIPT} \
${XMLTOHB_FAPIATTR_SOURCES}
- $< $^ > $@
+ $< $(wordlist 2,$(words $^),$^) > $@
# create the header files, only needs generic xml
$(call GENTARGET,$(XMLTOHB_TARGETS)) : $(XMLTOHB_RAN_INDICATION)
OpenPOWER on IntegriCloud