X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c65955aa6a15b044fcdb98b09544536a57a6692c..01cc5f0284a47c790f9ab73cea10e09b24816edd:/openwrt/target/linux/package/Makefile diff --git a/openwrt/target/linux/package/Makefile b/openwrt/target/linux/package/Makefile index 6b7a85816..a3d06b71d 100644 --- a/openwrt/target/linux/package/Makefile +++ b/openwrt/target/linux/package/Makefile @@ -2,19 +2,24 @@ include $(TOPDIR)/rules.mk ifneq ($(BOARD),ar7) +ifneq ($(BOARD)-$(KERNEL),brcm-2.6) package-$(BR2_PACKAGE_KMOD_ALSA) += alsa endif +endif package-$(BR2_PACKAGE_KMOD_FUSE) += fuse +package-$(BR2_PACKAGE_KMOD_HOSTAP) += hostap +package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi package-$(BR2_PACKAGE_KMOD_MINI_FO) += mini_fo -package-$(BR2_PACKAGE_KMOD_SHFS) += shfs +ifneq ($(BOARD)-$(KERNEL),brcm-2.6) package-$(BR2_PACKAGE_KMOD_OPENSWAN) += openswan -package-$(BR2_PACKAGE_KMOD_MADWIFI) += madwifi -package-y += openwrt +endif +package-$(BR2_PACKAGE_KMOD_SHFS) += shfs +package-y += base-files ifeq ($(BOARD)-$(KERNEL),brcm-2.4) -package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat package-$(BR2_PACKAGE_KMOD_DIAG) += diag -wlcompat-compile: openwrt-compile +package-$(BR2_PACKAGE_KMOD_WLCOMPAT) += wlcompat +wlcompat-compile: base-files-compile endif all: compile install @@ -34,24 +39,32 @@ MAKEOPTS:= BOARD="$(BOARD)" \ %-prepare: - @$(TRACE) target/linux/package/$(patsubst %-prepare,%,$@)-prepare + @$(START_TRACE) "target/linux/package/$(patsubst %-prepare,%,$@)/prepare: " $(MAKE) -C $(patsubst %-prepare,%,$@) \ $(MAKEOPTS) \ prepare + @$(CMD_TRACE) " done" + @$(END_TRACE) -%-compile: %-prepare - @$(TRACE) target/linux/package/$(patsubst %-compile,%,$@)-compile +%-compile: + @$(START_TRACE) "target/linux/package/$(patsubst %-compile,%,$@)-compile: " $(MAKE) -C $(patsubst %-compile,%,$@) \ $(MAKEOPTS) \ compile + @$(CMD_TRACE) " done" + @$(END_TRACE) -%-install: %-compile - @$(TRACE) target/linux/package/$(patsubst %-install,%,$@)-install +%-install: + @$(START_TRACE) "target/linux/package/$(patsubst %-install,%,$@)-install: " $(MAKE) -C $(patsubst %-install,%,$@) \ $(MAKEOPTS) \ install + @$(CMD_TRACE) " done" + @$(END_TRACE) %-clean: - @$(TRACE) target/linux/package/$(patsubst %-clean,%,$@)-clean + @$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: " @$(MAKE) -C $(patsubst %-clean,%,$@) clean + @$(CMD_TRACE) " done" + @$(END_TRACE)