aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/Makefile2
-rw-r--r--target/linux/Makefile21
2 files changed, 3 insertions, 20 deletions
diff --git a/target/Makefile b/target/Makefile
index 438d268b5e..a3b15b2659 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -51,5 +51,5 @@ image_install: image_compile
imagebuilder_install: image_install
$(MAKE) -C imagebuilder install
-%-prereq %-prepare %-download %-clean %-compile %-install %-refresh: FORCE
+%-prereq %-prepare %-download %-clean %-compile %-install %-refresh %-update: FORCE
$(MAKE) -C $* $(patsubst $*-%,%,$@)
diff --git a/target/linux/Makefile b/target/linux/Makefile
index 275085448f..e124869150 100644
--- a/target/linux/Makefile
+++ b/target/linux/Makefile
@@ -7,23 +7,6 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.mk
-download:
- $(MAKE) -C $(BOARD)-$(KERNEL) download
+clean download prepare compile install menuconfig update refresh: FORCE
+ $(MAKE) -C $(BOARD)-$(KERNEL) $@
-prepare:
- $(MAKE) -C $(BOARD)-$(KERNEL) prepare
-
-compile:
- $(MAKE) -C $(BOARD)-$(KERNEL) compile
-
-install:
- $(MAKE) -C $(BOARD)-$(KERNEL) install
-
-refresh:
- $(MAKE) -C $(BOARD)-$(KERNEL) refresh
-
-menuconfig:
- $(MAKE) -C $(BOARD)-$(KERNEL) menuconfig
-
-clean:
- $(MAKE) -C $(BOARD)-$(KERNEL) clean