[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] tools/Rules.mk: Cleanup %.pc rules
commit fc93c3ac4f888d506f4b15ad05b900c46416ace0 Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Mon Dec 6 17:02:33 2021 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Thu Dec 16 20:27:13 2021 +0000 tools/Rules.mk: Cleanup %.pc rules PKG_CONFIG_VARS isn't set anymore, so is dead logic. For "local" pkg-config file, we only have one headers directory now, "tools/include", so there is no need to specify it twice. So remove $(CFLAGS_xeninclude) from "Cflags:". Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- tools/Rules.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/Rules.mk b/tools/Rules.mk index 0d3febfbb6..47424935ba 100644 --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -184,12 +184,11 @@ $(PKG_CONFIG_DIR)/%.pc: Makefile $(XEN_ROOT)/tools/Rules.mk $(PKG_CONFIG_DIR) echo "prefix=$(PKG_CONFIG_PREFIX)"; \ echo "includedir=$(PKG_CONFIG_INCDIR)"; \ echo "libdir=$(PKG_CONFIG_LIBDIR)"; \ - $(foreach var,$(PKG_CONFIG_VARS),echo $(var);) \ echo ""; \ echo "Name: $(PKG_CONFIG_NAME)"; \ echo "Description: $(PKG_CONFIG_DESC)"; \ echo "Version: $(PKG_CONFIG_VERSION)"; \ - echo "Cflags: -I\$${includedir} $(CFLAGS_xeninclude)"; \ + echo "Cflags: -I\$${includedir}"; \ echo "Libs: -L\$${libdir} $(PKG_CONFIG_USELIBS) -l$(PKG_CONFIG_LIB)"; \ echo "Libs.private: $(PKG_CONFIG_LIBSPRIV)"; \ echo "Requires.private: $(PKG_CONFIG_REQPRIV)"; \ @@ -200,7 +199,6 @@ $(PKG_CONFIG_DIR)/%.pc: Makefile $(XEN_ROOT)/tools/Rules.mk $(PKG_CONFIG_DIR) echo "prefix=$(PKG_CONFIG_PREFIX)"; \ echo "includedir=$(PKG_CONFIG_INCDIR)"; \ echo "libdir=$(PKG_CONFIG_LIBDIR)"; \ - $(foreach var,$(PKG_CONFIG_VARS),echo $(var);) \ echo ""; \ echo "Name: $(PKG_CONFIG_NAME)"; \ echo "Description: $(PKG_CONFIG_DESC)"; \ -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |