summaryrefslogtreecommitdiffstats
path: root/openwrt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/Makefile')
-rw-r--r--openwrt/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index e96618818..cd9423314 100644
--- a/openwrt/Makefile
+++ b/openwrt/Makefile
@@ -61,8 +61,11 @@ toolchain_install:
#
##############################################################
-package_install: toolchain
- $(MAKE) -C package compile install
+package_compile: target_compile
+ $(MAKE) -C package compile
+
+package_install: package_compile toolchain
+ $(MAKE) -C package install
#############################################################
#
@@ -91,6 +94,9 @@ package_index:
target_prepare:
$(MAKE) -C target prepare
+target_compile:
+ $(MAKE) -C target compile
+
target_install:
$(MAKE) -C target install