[package] broadcom-wl:
[openwrt.git] / package / broadcom-wl / Makefile
index 2d4aacf..ebf9b38 100644 (file)
@@ -126,7 +126,9 @@ define Build/Compile
                $(PKG_BUILD_DIR)/nas_exe.o \
                $(PKG_BUILD_DIR)/shared/libshared.a
 
-       $(TARGET_CC) -o $(PKG_BUILD_DIR)/wl $(PKG_BUILD_DIR)/wl_exe.o
+       $(TARGET_CC) -o $(PKG_BUILD_DIR)/wl \
+               $(PKG_BUILD_DIR)/wl_exe.o \
+               $(PKG_BUILD_DIR)/shared/libshared.a
 endef
 
 define Build/InstallDev
@@ -140,6 +142,11 @@ define Package/wlc/install
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/wlc $(1)/sbin/
 endef
 
+define Package/wlc/postinst
+#!/bin/sh
+[ -n "$${IPKG_INSTROOT}" ] || /etc/init.d/wlunbind enable || true
+endef
+
 define Package/wl/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/wl $(1)/usr/sbin/
This page took 0.02051 seconds and 4 git commands to generate.