diff --git a/openwrt/target/linux/package/Makefile b/openwrt/target/linux/package/Makefile index 6b7a85816c..dc031fc470 100644 --- a/openwrt/target/linux/package/Makefile +++ b/openwrt/target/linux/package/Makefile @@ -39,7 +39,7 @@ MAKEOPTS:= BOARD="$(BOARD)" \ $(MAKEOPTS) \ prepare -%-compile: %-prepare +%-compile: @$(TRACE) target/linux/package/$(patsubst %-compile,%,$@)-compile $(MAKE) -C $(patsubst %-compile,%,$@) \ $(MAKEOPTS) \ diff --git a/openwrt/target/linux/package/madwifi/Makefile b/openwrt/target/linux/package/madwifi/Makefile index 829eed8f4f..2f06a2285a 100644 --- a/openwrt/target/linux/package/madwifi/Makefile +++ b/openwrt/target/linux/package/madwifi/Makefile @@ -75,5 +75,5 @@ install-dev: $(STAGING_DIR)/usr/include/madwifi/net80211/ieee80211.h uninstall-dev: rm -rf $(STAGING_DIR)/usr/include/madwifi -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev diff --git a/openwrt/target/linux/package/openwrt/Makefile b/openwrt/target/linux/package/openwrt/Makefile index ef2c1cea06..f55b91d78b 100644 --- a/openwrt/target/linux/package/openwrt/Makefile +++ b/openwrt/target/linux/package/openwrt/Makefile @@ -47,7 +47,7 @@ install: compile openwrt-install openwrt-install: $(IPKG) install $(IPKG_OPENWRT) -compile: install-dev $(IPKG_OPENWRT) +compile-targets: install-dev $(IPKG_OPENWRT) install-dev: mkdir -p $(STAGING_DIR)/usr/include cp -fpR ./include/[a-z]* $(STAGING_DIR)/usr/include/