If the intel-gen4asm tool is not available, ship with the pre-built
EU kernels instead of trying to regenerate them. In particular, just
don't expose the build rules if intel-gen4asm is not installed.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit
238d8077705711036d62a6d536311def3ef35035)
SUFFIXES = .g7b .g7s .asm
+if HAVE_GEN4ASM
$(INTEL_PP_GEN7_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G4A)
.asm.g7s:
$(AM_V_GEN)cpp $< > _pp0.$@; \
.g7s.g75b:
$(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 7.5 $<
+endif
CLEANFILES = $(INTEL_PP_GEN7_ASM)
SUFFIXES = .g8b .g8s .asm
+if HAVE_GEN4ASM
$(INTEL_PP_GEN8_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G8A)
.asm.g8s:
$(AM_V_GEN)cpp $< > _pp0.$@; \
rm _pp0.$@
.g8s.g8b:
$(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 8 $<
+endif
CLEANFILES = $(INTEL_PP_GEN7_ASM)