From: Luis R. Rodriguez Date: Fri, 9 Mar 2012 01:43:26 +0000 (-0800) Subject: compat-wireless: use PWD for file version details X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=acf5e8907aa7b479f00c163ef28d10b604bfe972;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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