3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:=2005-08-13
8 PKG_MD5SUM
:=188127127aebd8815595c025a787d729
10 PKG_SOURCE_URL
:=http
://madwifi.otaku42.de
/2005/08/
11 PKG_SOURCE
:=$(PKG_NAME
)-cvs-snapshot-
$(PKG_VERSION
).
tar.bz2
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
17 KERNEL_DIR
:=$(LINUX_DIR
)
21 HAL_TARGET
:=mips-be-elf
24 HAL_TARGET
:=mips-le-elf
30 include $(TOPDIR
)/package
/rules.mk
32 $(eval
$(call PKG_template
,KMOD_MADWIFI
,kmod-madwifi
,$(LINUX_VERSION
)$(BOARD
)+$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
),kernel-
$(LINUX_VERSION
)-$(BOARD
) ($(KERNEL_RELEASE
))))
34 $(PKG_BUILD_DIR
)/.configured
:
37 $(PKG_BUILD_DIR
)/.built
:
38 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 TARGET
="$(HAL_TARGET)" \
41 TOOLPREFIX
="$(KERNEL_CROSS)" \
42 KERNELPATH
="$(KERNEL_DIR)"
46 mkdir
-p
$(IDIR_KMOD_MADWIFI
)/etc
/modules.d
47 mkdir
-p
$(IDIR_KMOD_MADWIFI
)/etc
/init.d
48 mkdir
-p
$(IDIR_KMOD_MADWIFI
)/lib
/modules
/$(LINUX_VERSION
)
49 install -m0644 .
/files
/madwifi.modules
$(IDIR_KMOD_MADWIFI
)/etc
/modules.d
/20-madwifi
50 install -m0755 .
/files
/madwifi.init
$(IDIR_KMOD_MADWIFI
)/etc
/init.d
/S20madwifi
51 cp
-fpR
$(PKG_BUILD_DIR
)/net80211
/wlan
*.o \
52 $(PKG_BUILD_DIR
)/ath_hal
/ath_hal.o \
53 $(PKG_BUILD_DIR
)/ath_rate
/sample
/ath_rate_sample.o \
54 $(PKG_BUILD_DIR
)/ath
/ath_pci.o \
55 $(IDIR_KMOD_MADWIFI
)/lib
/modules
/$(LINUX_VERSION
)/
56 $(IPKG_BUILD
) $(IDIR_KMOD_MADWIFI
) $(PACKAGE_DIR
)
58 $(STAGING_DIR
)/usr
/include/madwifi
/net80211
/ieee80211.h
: $(PKG_BUILD_DIR
)/.built
59 mkdir
-p
$(STAGING_DIR
)/usr
/include/madwifi
60 cp
-fpR
$(PKG_BUILD_DIR
)/include $(STAGING_DIR
)/usr
/include/madwifi
/
61 mkdir
-p
$(STAGING_DIR
)/usr
/include/madwifi
/net80211
62 cp
-fpR
$(PKG_BUILD_DIR
)/net80211
/*.h
$(STAGING_DIR
)/usr
/include/madwifi
/net80211
/
65 install-dev
: $(STAGING_DIR
)/usr
/include/madwifi
/net80211
/ieee80211.h
68 rm -rf
$(STAGING_DIR
)/usr
/include/madwifi
This page took 0.043744 seconds and 5 git commands to generate.