Mesa (master): intel: automake: replace direct basename $@ invokation with $(@F)
Emil Velikov
evelikov at kemper.freedesktop.org
Fri Oct 14 10:09:40 UTC 2016
Module: Mesa
Branch: master
Commit: 72fa5ca06d1bfb9f580953b6901467f5783bf0e4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72fa5ca06d1bfb9f580953b6901467f5783bf0e4
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Wed Oct 12 19:05:29 2016 +0100
intel: automake: replace direct basename $@ invokation with $(@F)
Use the shorthand make variable(s) as elsewhere in the build.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/Makefile.genxml.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/Makefile.genxml.am b/src/intel/Makefile.genxml.am
index f8b0363..519f30e 100644
--- a/src/intel/Makefile.genxml.am
+++ b/src/intel/Makefile.genxml.am
@@ -37,7 +37,7 @@ $(GENXML_GENERATED_FILES): genxml/gen_pack_header.py
%_xml.h: %.xml Makefile
$(MKDIR_GEN)
$(AM_V_GEN) echo -n "static const uint8_t " > $@; \
- echo "`basename $@`_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
+ echo "$(@F)_xml[] = {" | sed -e 's,_xml.h,,' >> $@; \
cat $< | $(XXD) -i >> $@; \
echo "};" >> $@
More information about the mesa-commit
mailing list