2005-05-28 12:17:29 +03:00
|
|
|
# Main makefile for the packages
|
|
|
|
include $(TOPDIR)/rules.mk
|
2006-01-10 21:43:00 +02:00
|
|
|
include ../rules.mk
|
2005-05-28 12:17:29 +03:00
|
|
|
|
2006-01-10 21:43:00 +02:00
|
|
|
package-y += base-files
|
2005-09-29 10:18:31 +03:00
|
|
|
package-$(BR2_PACKAGE_KMOD_ALSA) += alsa
|
2005-05-28 12:17:29 +03:00
|
|
|
package-$(BR2_PACKAGE_KMOD_FUSE) += fuse
|
2005-10-23 16:21:05 +03:00
|
|
|
package-$(BR2_PACKAGE_KMOD_HOSTAP) += hostap
|
2006-03-13 13:27:06 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_BCM43XX_STANDALONE) += bcm43xx-standalone
|
2005-12-28 15:22:51 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_IEEE80211_DSCAPE) += ieee80211-dscape
|
2006-04-10 18:33:40 +03:00
|
|
|
package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi
|
2006-03-04 07:48:53 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_MADWIFI_OLD) += madwifi-old
|
2005-07-21 02:50:51 +03:00
|
|
|
package-$(BR2_PACKAGE_KMOD_MINI_FO) += mini_fo
|
2005-05-28 12:17:29 +03:00
|
|
|
package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan
|
2005-11-03 00:23:20 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_SHFS) += shfs
|
2005-12-09 00:09:33 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_SPCA5XX) += spca5xx
|
2005-12-25 16:18:55 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_SWITCH) += switch
|
2006-01-05 22:05:39 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
|
2005-09-21 12:55:03 +03:00
|
|
|
package-$(BR2_PACKAGE_KMOD_DIAG) += diag
|
2005-11-03 00:23:20 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat
|
2006-03-01 08:37:25 +02:00
|
|
|
package-$(BR2_PACKAGE_KMOD_ZD1211) += zd1211
|
2006-01-10 21:43:00 +02:00
|
|
|
|
2006-03-13 13:27:06 +02:00
|
|
|
bcm43xx-standalone-compile: ieee80211-dscape-compile
|
2005-10-22 23:52:12 +03:00
|
|
|
wlcompat-compile: base-files-compile
|
2005-07-21 14:45:36 +03:00
|
|
|
|
2005-05-28 12:17:29 +03:00
|
|
|
all: compile install
|
|
|
|
clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
|
2005-09-29 10:18:31 +03:00
|
|
|
prepare: $(patsubst %,%-prepare,$(package-y) $(package-m))
|
2005-05-28 12:17:29 +03:00
|
|
|
compile: $(patsubst %,%-compile,$(package-y) $(package-m))
|
|
|
|
install: $(patsubst %,%-install,$(package-y))
|
|
|
|
|
2006-01-10 21:43:00 +02:00
|
|
|
KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
|
2005-06-11 18:36:31 +03:00
|
|
|
|
|
|
|
%-prepare:
|
|
|
|
$(MAKE) -C $(patsubst %-prepare,%,$@) \
|
2006-01-10 21:43:00 +02:00
|
|
|
$(KPKG_MAKEOPTS) \
|
2005-05-28 12:17:29 +03:00
|
|
|
prepare
|
|
|
|
|
2005-10-22 15:54:17 +03:00
|
|
|
%-compile:
|
2005-05-28 12:17:29 +03:00
|
|
|
$(MAKE) -C $(patsubst %-compile,%,$@) \
|
2006-01-10 21:43:00 +02:00
|
|
|
$(KPKG_MAKEOPTS) \
|
2005-05-28 12:17:29 +03:00
|
|
|
compile
|
|
|
|
|
2005-10-22 19:14:30 +03:00
|
|
|
%-install:
|
2005-05-28 12:17:29 +03:00
|
|
|
$(MAKE) -C $(patsubst %-install,%,$@) \
|
2006-01-10 21:43:00 +02:00
|
|
|
$(KPKG_MAKEOPTS) \
|
2005-05-28 12:17:29 +03:00
|
|
|
install
|
|
|
|
|
|
|
|
%-clean:
|
2006-02-24 22:59:09 +02:00
|
|
|
@$(MAKE) -C $(patsubst %-clean,%,$@) \
|
|
|
|
$(KPKG_MAKEOPTS) \
|
|
|
|
clean
|
2005-05-28 12:17:29 +03:00
|
|
|
|