summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/package/Makefile2
-rw-r--r--target/linux/package/madwifi/Makefile4
-rw-r--r--target/linux/package/openwrt/Makefile2
3 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/package/Makefile b/target/linux/package/Makefile
index 6b7a85816c..dc031fc470 100644
--- a/target/linux/package/Makefile
+++ b/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/target/linux/package/madwifi/Makefile b/target/linux/package/madwifi/Makefile
index 829eed8f4f..2f06a2285a 100644
--- a/target/linux/package/madwifi/Makefile
+++ b/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/target/linux/package/openwrt/Makefile b/target/linux/package/openwrt/Makefile
index ef2c1cea06..f55b91d78b 100644
--- a/target/linux/package/openwrt/Makefile
+++ b/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/