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-05-12 22:08:03 +03: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 21:43:00 +02:00
|
|
|
|
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
|
|
|
|