aboutsummaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-03-28 00:35:26 +0000
committerNicolas Thill <nico@openwrt.org>2007-03-28 00:35:26 +0000
commit7f409744a44fcc7b7935d6c5f590a9c454ea7197 (patch)
tree7d629c11a99fc5c47080bf9dc7c7f54d0754f18a /package/wpa_supplicant/Makefile
parent32490cac266799b368d73382af609b3625574c9b (diff)
downloadupstream-7f409744a44fcc7b7935d6c5f590a9c454ea7197.tar.gz
upstream-7f409744a44fcc7b7935d6c5f590a9c454ea7197.tar.bz2
upstream-7f409744a44fcc7b7935d6c5f590a9c454ea7197.zip
replace common -I and -L search flags with TARGET_CPPFLAGS and TARGET_LDFLAGS
SVN-Revision: 6735
Diffstat (limited to 'package/wpa_supplicant/Makefile')
-rw-r--r--package/wpa_supplicant/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/wpa_supplicant/Makefile b/package/wpa_supplicant/Makefile
index fb11085cfb..6448145565 100644
--- a/package/wpa_supplicant/Makefile
+++ b/package/wpa_supplicant/Makefile
@@ -47,8 +47,8 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
KERNEL=$(LINUX_DIR) \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
- LDFLAGS=" -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
+ CPPFLAGS="$(TARGET_CPPFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
all
$(STRIP) $(PKG_BUILD_DIR)/wpa_supplicant
$(STRIP) $(PKG_BUILD_DIR)/wpa_cli