summaryrefslogtreecommitdiff
path: root/targets/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'targets/Makefile.inc')
-rw-r--r--targets/Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/targets/Makefile.inc b/targets/Makefile.inc
index 2dc3b8155824c..9ef94473f6471 100644
--- a/targets/Makefile.inc
+++ b/targets/Makefile.inc
@@ -20,11 +20,12 @@ PKG_METHOD = no
.endif
.endif
+.MAIN: all
+
# The makefile in subdirs should set this to something useful
# the default should do nothing.
PKG_METHOD ?= none
-
-.MAIN: all
+none:
.if ${build-*:${M_L_TARGETS}} != ""
# just build the bits, skip packaging