From acf5e8907aa7b479f00c163ef28d10b604bfe972 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 8 Mar 2012 17:43:26 -0800 Subject: [PATCH] compat-wireless: use PWD for file version details The CFLAGS were using some local files to add some definition of some variables later used by the compat module. Lets be careful to use only the locally defined files. Signed-off-by: Luis R. Rodriguez --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e0947986be4f..fe9d3628c4cf 100644 --- a/Makefile +++ b/Makefile @@ -52,10 +52,10 @@ $(error "The path to this compat-wireless directory has spaces in it." \ endif CFLAGS += \ - -DCOMPAT_BASE_TREE="\"$(shell cat compat_base_tree)\"" \ - -DCOMPAT_BASE_TREE_VERSION="\"$(shell cat compat_base_tree_version)\"" \ + -DCOMPAT_BASE_TREE="\"$(shell cat $(PWD)/compat_base_tree)\"" \ + -DCOMPAT_BASE_TREE_VERSION="\"$(shell cat $(PWD)/compat_base_tree_version)\"" \ -DCOMPAT_PROJECT="\"Compat-wireless\"" \ - -DCOMPAT_VERSION="\"$(shell cat compat_version)\"" + -DCOMPAT_VERSION="\"$(shell cat $(PWD)/compat_version)\"" # These exported as they are used by the scripts # to check config and compat autoconf -- 2.30.2