aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/Makefile
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/Makefile
parenta810e7789ab52b65dca7c3dc74e0b96f44679950 (diff)
downloadupstream-aa53f78038d541052de8764323f6f26578327606.tar.gz
upstream-aa53f78038d541052de8764323f6f26578327606.tar.bz2
upstream-aa53f78038d541052de8764323f6f26578327606.zip
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/Makefile')
-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 1832e7b5e0..c5a6035b53 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))