aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2016-03-14 17:06:12 +0000
committerLuka Perkov <luka@openwrt.org>2016-03-14 17:06:12 +0000
commit33f76a486dc704f026e220514ce1bcdf2daeea05 (patch)
treea1d9abb9acda03c3230b173777ff59720f56dd32 /target
parentf533c86d12775616d2fa24d419a69cb0203b56d7 (diff)
downloadupstream-33f76a486dc704f026e220514ce1bcdf2daeea05.tar.gz
upstream-33f76a486dc704f026e220514ce1bcdf2daeea05.tar.bz2
upstream-33f76a486dc704f026e220514ce1bcdf2daeea05.zip
linux/kirkwood: migrate goflexhome/goflexnet to new ubi style
Also using the new image build step format Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49013
Diffstat (limited to 'target')
-rw-r--r--target/linux/kirkwood/image/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index bc42befc18..d38ee71555 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/image.mk
DEVICE_VARS += DEVICE_DTS KERNEL_SIZE PAGESIZE BLOCKSIZE SUBPAGESIZE KERNEL_IN_UBI
KERNEL_LOADADDR:=0x8000
-TARGET_DEVICES = linksys-audi linksys-viper dockstar
+TARGET_DEVICES = linksys-audi linksys-viper dockstar goflexnet goflexhome
define Device/Default
KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
@@ -35,6 +35,18 @@ define Device/dockstar
KERNEL := kernel-bin | append-dtb
endef
+define Device/goflexnet
+$(Device/dockstar)
+ PROFILES := Generic GOFLEXNET
+ DEVICE_DTS := kirkwood-goflexnet
+endef
+
+define Device/goflexhome
+$(Device/dockstar)
+ PROFILES := Generic GOFLEXHOME
+ DEVICE_DTS := kirkwood-goflexhome
+endef
+
define Device/linksys-audi
DEVICE_DTS := kirkwood-linksys-audi
PAGESIZE := 512
@@ -161,12 +173,6 @@ endef
Image/BuildKernel/Template/Generic=$(call Image/BuildKernel/Template)
Image/InstallKernel/Template/Generic=$(call Image/InstallKernel/Template)
-Image/BuildKernel/Template/GOFLEXHOME=$(call Image/BuildKernel/Template,goflexhome)
-Image/InstallKernel/Template/GOFLEXHOME=$(call Image/InstallKernel/Template,goflexhome)
-
-Image/BuildKernel/Template/GOFLEXNET=$(call Image/BuildKernel/Template,goflexnet)
-Image/InstallKernel/Template/GOFLEXNET=$(call Image/InstallKernel/Template,goflexnet)
-
Image/BuildKernel/Template/IB62X0=$(call Image/BuildKernel/Template,ib62x0)
Image/InstallKernel/Template/IB62X0=$(call Image/InstallKernel/Template,ib62x0)