2005-05-28 09:17:29 +00:00
|
|
|
# Main makefile for the packages
|
|
|
|
include $(TOPDIR)/rules.mk
|
2006-01-10 19:43:00 +00:00
|
|
|
include ../rules.mk
|
2005-05-28 09:17:29 +00:00
|
|
|
|
2006-01-10 19:43:00 +00:00
|
|
|
package-y += base-files
|
2006-05-12 19:08:03 +00:00
|
|
|
package-$(CONFIG_PACKAGE_KMOD_ALSA) += alsa
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_FUSE) += fuse
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_HOSTAP) += hostap
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_MADWIFI) += madwifi
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_MINI_FO) += mini_fo
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_OPENSWAN) += openswan
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_SHFS) += shfs
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_SPCA5XX) += spca5xx
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_SWITCH) += switch
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_DIAG) += diag
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_WLCOMPAT) += wlcompat
|
|
|
|
package-$(CONFIG_PACKAGE_KMOD_ZD1211) += zd1211
|
2006-01-10 19:43:00 +00:00
|
|
|
|
2005-10-22 20:52:12 +00:00
|
|
|
wlcompat-compile: base-files-compile
|
2005-07-21 11:45:36 +00:00
|
|
|
|
2005-05-28 09:17:29 +00:00
|
|
|
all: compile install
|
|
|
|
clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
|
2005-09-29 07:18:31 +00:00
|
|
|
prepare: $(patsubst %,%-prepare,$(package-y) $(package-m))
|
2005-05-28 09:17:29 +00:00
|
|
|
compile: $(patsubst %,%-compile,$(package-y) $(package-m))
|
|
|
|
install: $(patsubst %,%-install,$(package-y))
|
|
|
|
|
2006-01-10 19:43:00 +00:00
|
|
|
KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
|
2005-06-11 15:36:31 +00:00
|
|
|
|
|
|
|
%-prepare:
|
|
|
|
$(MAKE) -C $(patsubst %-prepare,%,$@) \
|
2006-01-10 19:43:00 +00:00
|
|
|
$(KPKG_MAKEOPTS) \
|
2005-05-28 09:17:29 +00:00
|
|
|
prepare
|
|
|
|
|
2005-10-22 12:54:17 +00:00
|
|
|
%-compile:
|
2005-05-28 09:17:29 +00:00
|
|
|
$(MAKE) -C $(patsubst %-compile,%,$@) \
|
2006-01-10 19:43:00 +00:00
|
|
|
$(KPKG_MAKEOPTS) \
|
2005-05-28 09:17:29 +00:00
|
|
|
compile
|
|
|
|
|
2005-10-22 16:14:30 +00:00
|
|
|
%-install:
|
2005-05-28 09:17:29 +00:00
|
|
|
$(MAKE) -C $(patsubst %-install,%,$@) \
|
2006-01-10 19:43:00 +00:00
|
|
|
$(KPKG_MAKEOPTS) \
|
2005-05-28 09:17:29 +00:00
|
|
|
install
|
|
|
|
|
|
|
|
%-clean:
|
2006-02-24 20:59:09 +00:00
|
|
|
@$(MAKE) -C $(patsubst %-clean,%,$@) \
|
|
|
|
$(KPKG_MAKEOPTS) \
|
|
|
|
clean
|
2005-05-28 09:17:29 +00:00
|
|
|
|