diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-27 14:18:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-27 14:18:34 +0000 |
commit | 7f8b55cec9fe602f3855531e2f2e4fce7c63e68f (patch) | |
tree | cbaf649258191715ad517b3216176d8a51b9a5c9 /package/broadcom-wl/Makefile | |
parent | d607443fdb25b45684481e5c0b4b79ac772c973c (diff) | |
download | mtk-20170518-7f8b55cec9fe602f3855531e2f2e4fce7c63e68f.zip mtk-20170518-7f8b55cec9fe602f3855531e2f2e4fce7c63e68f.tar.gz mtk-20170518-7f8b55cec9fe602f3855531e2f2e4fce7c63e68f.tar.bz2 |
broadcom-wl: add nvram stub to fix nas compile after the switch to unvram
SVN-Revision: 15439
Diffstat (limited to 'package/broadcom-wl/Makefile')
-rw-r--r-- | package/broadcom-wl/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile index e8aea74..5317e0d 100644 --- a/package/broadcom-wl/Makefile +++ b/package/broadcom-wl/Makefile @@ -100,7 +100,6 @@ endef define Package/wl $(call Package/broadcom-wl/Default) - DEPENDS+= +nvram TITLE:=Proprietary Broadcom wl driver config utility endef @@ -111,7 +110,6 @@ endef define Package/nas $(call Package/broadcom-wl/Default) - DEPENDS+= +nvram TITLE:=Proprietary Broadcom WPA/WPA2 authenticator endef @@ -150,17 +148,25 @@ define Build/Compile $(if $(WL_WEXT),WL_WEXT=1) \ modules + # NVRAM stub + $(TARGET_CC) $(TARGET_CFLAGS) -c -o $(PKG_BUILD_DIR)/nvram/nvram_stub.o $(PKG_BUILD_DIR)/nvram/nvram_stub.c + # Compile wlc $(MAKE) -C $(PKG_BUILD_DIR)/wlc \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ all + # Compile libshared $(MAKE) -C $(PKG_BUILD_DIR)/router/shared \ $(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 $(TARGET_LDFLAGS) -lnvram $(PKG_BUILD_DIR)/router/shared/libshared.a + $(TARGET_CC) -o $(PKG_BUILD_DIR)/nas \ + $(PKG_BUILD_DIR)/nas_exe.o \ + $(PKG_BUILD_DIR)/nvram/nvram_stub.o \ + $(TARGET_LDFLAGS) \ + $(PKG_BUILD_DIR)/router/shared/libshared.a $(TARGET_CC) -o $(PKG_BUILD_DIR)/wl $(PKG_BUILD_DIR)/wl_exe.o endef |