diff options
Diffstat (limited to 'include/image-commands.mk')
-rw-r--r-- | include/image-commands.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk index 4d3f025b12..28b39c310e 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -49,6 +49,19 @@ define Build/eva-image mv $@.new $@ endef +define Build/make-ras + let \ + newsize="$(subst k,* 1024,$(RAS_ROOTFS_SIZE))"; \ + $(TOPDIR)/scripts/make-ras.sh \ + --board $(RAS_BOARD) \ + --version $(RAS_VERSION) \ + --kernel $(call param_get_default,kernel,$(1),$(IMAGE_KERNEL)) \ + --rootfs $@ \ + --rootfssize $$newsize \ + $@.new + @mv $@.new $@ +endef + define Build/netgear-chk $(STAGING_DIR_HOST)/bin/mkchkimg \ -o $@.new \ |