summaryrefslogtreecommitdiff
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-04 13:34:18 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-04 13:35:11 +0200
commitaa53f78038d541052de8764323f6f26578327606 (patch)
tree6b727dbb60f75aee3db17e8e84777c143cba22d2 /target/linux/ar7
parenta810e7789ab52b65dca7c3dc74e0b96f44679950 (diff)
downloadmtk-20170518-aa53f78038d541052de8764323f6f26578327606.zip
mtk-20170518-aa53f78038d541052de8764323f6f26578327606.tar.gz
mtk-20170518-aa53f78038d541052de8764323f6f26578327606.tar.bz2
build: fix subtarget descriptions
Move Target/Description above the target.mk include Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile
index 1832e7b..c5a6035 100644
--- a/target/linux/ar7/Makefile
+++ b/target/linux/ar7/Makefile
@@ -15,12 +15,12 @@ SUBTARGETS:=generic ac49x
KERNEL_PATCHVER:=3.18
-include $(INCLUDE_DIR)/target.mk
-
-DEFAULT_PACKAGES+= swconfig
-
define Target/Description
Build firmware images for TI AR7 based routers.
endef
+include $(INCLUDE_DIR)/target.mk
+
+DEFAULT_PACKAGES+= swconfig
+
$(eval $(call BuildTarget))