SECTION:=kernel
CATEGORY:=Kernel drivers
DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo +wireless-tools
- DEFAULT:=y
TITLE:=Broadcom wl wrapper module
DESCRIPTION:=\
This package contains a wrapper module, that provides Wireless Extension \\\
define Package/kmod-wlcompat
$(call Package/kmod-wlcompat/Default)
+ DEFAULT:=y
endef
define Package/kmod-wlcompat-debug
endef
define Package/kmod-wlcompat/install
- install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
+ $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_BUILD_DIR)/wlcompat.o $(1)/lib/modules/$(LINUX_VERSION)/
- install -d -m0755 $(1)/etc/modules.d
+ $(INSTALL_DIR) $(1)/etc/modules.d
echo "wlcompat" > $(1)/etc/modules.d/30-wlcompat
endef
define Package/kmod-wlcompat-debug/install
- install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
+ $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_BUILD_DIR)/wlcompat-debug.o $(1)/lib/modules/$(LINUX_VERSION)/
endef