aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-02-24 00:08:08 +0000
committerNicolas Thill <nico@openwrt.org>2009-02-24 00:08:08 +0000
commit21d7852de0baa1bb6b466a887d227e243df593ee (patch)
tree3f7b5cda53614c4d991f4cadfc607c18dfcf02d1 /package/broadcom-wl/Makefile
parente80fb36f396323d88d8bdf192d93dceeb6be2dbd (diff)
downloadupstream-21d7852de0baa1bb6b466a887d227e243df593ee.tar.gz
upstream-21d7852de0baa1bb6b466a887d227e243df593ee.tar.bz2
upstream-21d7852de0baa1bb6b466a887d227e243df593ee.zip
replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
SVN-Revision: 14651
Diffstat (limited to 'package/broadcom-wl/Makefile')
-rw-r--r--package/broadcom-wl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index e49fc50a88..2cb511f969 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -161,7 +161,7 @@ define Build/Compile
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I. -I$(PKG_BUILD_DIR)/include -Dlinux=1" \
all
- $(TARGET_CC) -o $(PKG_BUILD_DIR)/nas $(PKG_BUILD_DIR)/nas_exe.o -L$(STAGING_DIR)/usr/lib -lnvram $(PKG_BUILD_DIR)/router/shared/libshared.a
+ $(TARGET_CC) -o $(PKG_BUILD_DIR)/nas $(PKG_BUILD_DIR)/nas_exe.o $(TARGET_LDFLAGS) -lnvram $(PKG_BUILD_DIR)/router/shared/libshared.a
$(TARGET_CC) -o $(PKG_BUILD_DIR)/wl $(PKG_BUILD_DIR)/wl_exe.o
endef