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
|
2005-09-29 07:18:31 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_ALSA) += alsa
|
2005-05-28 09:17:29 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_FUSE) += fuse
|
2005-10-23 13:21:05 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_HOSTAP) += hostap
|
2006-04-10 15:33:40 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi
|
2006-03-04 05:48:53 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_MADWIFI_OLD) += madwifi-old
|
2005-07-20 23:50:51 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_MINI_FO) += mini_fo
|
2005-05-28 09:17:29 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan
|
2005-11-02 22:23:20 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_SHFS) += shfs
|
2005-12-08 22:09:33 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_SPCA5XX) += spca5xx
|
2005-12-25 14:18:55 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_SWITCH) += switch
|
2006-01-05 20:05:39 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_UEAGLE_ATM) += ueagle-atm
|
2005-09-21 09:55:03 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_DIAG) += diag
|
2005-11-02 22:23:20 +00:00
|
|
|
package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat
|
2006-03-01 06:37:25 +00:00
|
|
|
package-$(BR2_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:
|
2005-10-22 15:10:20 +00:00
|
|
|
@$(START_TRACE) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: "
|
2005-06-11 15:36:31 +00:00
|
|
|
$(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 15:10:20 +00:00
|
|
|
@$(CMD_TRACE) " done"
|
|
|
|
@$(END_TRACE)
|
2005-05-28 09:17:29 +00:00
|
|
|
|
2005-10-22 12:54:17 +00:00
|
|
|
%-compile:
|
2005-10-22 15:10:20 +00:00
|
|
|
@$(START_TRACE) "target/linux/package/$(patsubst %-compile,%,$@)-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 15:10:20 +00:00
|
|
|
@$(CMD_TRACE) " done"
|
|
|
|
@$(END_TRACE)
|
2005-05-28 09:17:29 +00:00
|
|
|
|
2005-10-22 16:14:30 +00:00
|
|
|
%-install:
|
2005-10-22 15:10:20 +00:00
|
|
|
@$(START_TRACE) "target/linux/package/$(patsubst %-install,%,$@)-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
|
2005-10-22 15:10:20 +00:00
|
|
|
@$(CMD_TRACE) " done"
|
|
|
|
@$(END_TRACE)
|
2005-05-28 09:17:29 +00:00
|
|
|
|
|
|
|
%-clean:
|
2005-10-22 15:10:20 +00:00
|
|
|
@$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
|
2006-02-24 20:59:09 +00:00
|
|
|
@$(MAKE) -C $(patsubst %-clean,%,$@) \
|
|
|
|
$(KPKG_MAKEOPTS) \
|
|
|
|
clean
|
2005-10-22 15:10:20 +00:00
|
|
|
@$(CMD_TRACE) " done"
|
|
|
|
@$(END_TRACE)
|
2005-05-28 09:17:29 +00:00
|
|
|
|