X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6e26c2c9e5d5d65dd1efc7cba4194bdd06a1295f..ae57d8838ce086c44a95b54816191ed9e92545b2:/package/broadcom-wl/Makefile?ds=sidebyside diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile index 395ddd72c..273c103ff 100644 --- a/package/broadcom-wl/Makefile +++ b/package/broadcom-wl/Makefile @@ -9,12 +9,15 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=broadcom-wl -PKG_VERSION:=5.10.56.27.0 +PKG_VERSION:=5.10.56.27.1 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(ARCH).tar.bz2 PKG_SOURCE_URL:=http://downloads.openwrt.org/sources -PKG_MD5SUM:=dfaee8bdafaa4bb5ccbcdfe541c29e7d + +PKG_MD5SUM.mipsel:=9f42cfa9c46ee1b0e04dc2d3ab9bc8cd +PKG_MD5SUM.mips:=9dcc902af0fcac5f34b6656982e82c21 +PKG_MD5SUM:=$(PKG_MD5SUM.$(ARCH)) include $(INCLUDE_DIR)/package.mk @@ -23,15 +26,15 @@ define Package/broadcom-wl/Default CATEGORY:=Kernel modules DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mini SUBMENU:=Proprietary BCM43xx WiFi driver - SUBMENUDEP:=@TARGET_brcm47xx||@TARGET_brcm_2_4 + SUBMENUDEP:=@TARGET_brcm47xx||TARGET_brcm63xx endef define KernelPackage/brcm-wl/Default $(call Package/broadcom-wl/Default) SECTION:=kernel - DEPENDS:=@TARGET_brcm47xx +wireless-tools + DEPENDS:=@TARGET_brcm47xx||TARGET_brcm63xx +wireless-tools TITLE:=Kernel driver for BCM43xx chipsets - FILES:=$(PKG_BUILD_DIR)/driver$(1)/wl.$(LINUX_KMOD_SUFFIX) + FILES:=$(PKG_BUILD_DIR)/driver$(1)/wl.ko AUTOLOAD:=$(call AutoLoad,30,wl) endef @@ -126,7 +129,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 +145,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/