more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)
[openwrt.git] / package / madwifi / Makefile
index c24c821..07e2c45 100644 (file)
@@ -1,7 +1,13 @@
+# 
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/package/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=madwifi
 PKG_VERSION:=0.9.0
@@ -51,9 +57,10 @@ MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \
                TOOLPREFIX="$(KERNEL_CROSS)" \
                TOOLPATH="$(KERNEL_CROSS)" \
                KERNELPATH="$(LINUX_DIR)" \
+               LDOPTS="" \
                DOMULTI=1
 
-include $(TOPDIR)/package/rules.mk
+include $(INCLUDE_DIR)/package.mk
 
 ifeq ($(findstring AHB,$(BUS)),AHB)
 define Build/Compile/ahb
@@ -90,6 +97,7 @@ define Package/kmod-madwifi
  TITLE:=Driver for Atheros wireless chipsets
  DESCRIPTION:=Driver for Atheros 802.11a/b/g chipsets
  URL:=http://madwifi.org/
+ VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
 endef
 
 define Package/kmod-madwifi/install
This page took 0.030807 seconds and 4 git commands to generate.