From a164be8ebef134efe1f99166cd1eb3196bd7abb2 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 4 Sep 2015 14:44:27 +0000 Subject: build: add a build step for generic sysupgrade nand image Signed-off-by: Jonas Gorski SVN-Revision: 46784 --- include/image.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/image.mk b/include/image.mk index fb89ed1..8ac3593 100644 --- a/include/image.mk +++ b/include/image.mk @@ -390,6 +390,14 @@ define Build/combined-image @mv $@.new $@ endef +define Build/sysupgrade-nand + sh $(TOPDIR)/scripts/sysupgrade-nand.sh \ + --board $(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)) \ + --kernel $(word 1,$^) \ + --rootfs $(word 2,$^) \ + $@ +endef + define Device/Init PROFILES := $(PROFILE) DEVICE_NAME := $(1) -- cgit v1.1