summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7954e646..04d2c8b88 100644
--- a/Makefile
+++ b/Makefile
@@ -4,5 +4,21 @@
# GNU make and BSD make compatible make file wrapper
MAKECMDGOALS+= ${.TARGETS}
-all v allmodconfig allnoconfig allyesconfig help pkg-help dev-help targethelp kernelconfig savekconfig image menuconfig defconfig oldconfig download clean cleankernel cleansystem cleandir distclean hostclean hostpackage fetch package extract patch dep menu newpackage host-update-patches update-patches info:
+PHONY_TARGETS= all v \
+ allmodconfig allnoconfig allyesconfig \
+ help pkg-help dev-help targethelp \
+ kernelconfig savekconfig \
+ image \
+ menuconfig defconfig oldconfig \
+ download \
+ clean cleankernel cleansystem cleandir distclean hostclean \
+ hostpackage fetch package extract patch \
+ dep menu \
+ newpackage \
+ host-update-patches update-patches \
+ info
+
+${PHONY_TARGETS}:
@./scripts/prereq.sh ${MAKECMDGOALS}
+
+.PHONY: ${PHONY_TARGETS}