intel: Fix bash-specific redirection.
authorEric Anholt <eric@anholt.net>
Mon, 10 Oct 2016 16:18:19 +0000 (09:18 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 10 Oct 2016 16:50:05 +0000 (09:50 -0700)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/Makefile.genxml.am

index 8d7d40266383633d3b765e484b981525bf49c848..160a41151795228bbe292cc4b03ac757a107870e 100644 (file)
@@ -35,7 +35,7 @@ $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
 %_xml.h:  %.xml Makefile
        $(MKDIR_GEN)
        $(AM_V_GEN) echo -n "static const uint8_t " > $@; \
-       sed -e 's,_xml.h,,' <<< "`basename $@`_xml[] = {" >> $@; \
+       echo "`basename $@`_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
        cat $< | $(XXD) -i >> $@; \
        echo "};" >> $@