From ddb3d3705da728fc0638d39d699e5550748d5689 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 10 Nov 2007 15:23:02 +0000 Subject: clean up mac80211 related kernel version deps SVN-Revision: 9522 --- package/b43/Makefile | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'package/b43') diff --git a/package/b43/Makefile b/package/b43/Makefile index 8d64302233..86b8621a3b 100644 --- a/package/b43/Makefile +++ b/package/b43/Makefile @@ -44,22 +44,18 @@ MAKE_OPTS:= \ LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211 -I$(LINUX_DIR)/include -include linux/autoconf.h" \ $(EXTRA_KCONFIG) -ifneq ($(findstring 2.6.23,$(LINUX_VERSION)),) - define Build/Prepare +define Build/Prepare mkdir -p $(PKG_BUILD_DIR) $(CP) ./src/* $(PKG_BUILD_DIR)/ - endef +endef - define Build/Configure - endef +define Build/Configure +endef - define Build/Compile +define Build/Compile $(MAKE) -C "$(LINUX_DIR)" \ $(MAKE_OPTS) \ modules - endef -else - override CONFIG_PACKAGE_kmod-b43= -endif +endef $(eval $(call KernelPackage,b43)) -- cgit v1.2.3