summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-18 21:12:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-18 21:12:18 +0000
commitaef03f09b5e9a115a249500b0bdd71f12c292efe (patch)
treeb1b1890572d054629da998299f966da752b9233c /target/Makefile
parent0a699b0a9f7b8ada67cea99f7168f33944c759a4 (diff)
downloadmtk-20170518-aef03f09b5e9a115a249500b0bdd71f12c292efe.zip
mtk-20170518-aef03f09b5e9a115a249500b0bdd71f12c292efe.tar.gz
mtk-20170518-aef03f09b5e9a115a249500b0bdd71f12c292efe.tar.bz2
add prereq checks for target/linux/* and target/image/*, check for fdisk for the x86 builds
SVN-Revision: 5569
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index dc21033..c00eea0 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -25,6 +25,10 @@ compile: linux-compile image_compile
install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
clean: $(patsubst %,%-clean,$(TARGETS-y)) image_clean
+prereq: FORCE
+ $(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq
+ $(MAKE) -C image/$(BOARD) prereq
+
image_clean: FORCE
$(MAKE) -C image/$(BOARD) clean
rm -f $(BIN_DIR)/openwrt-*