From c17b28f80b576dda0302d80f37f95a4965a578d0 Mon Sep 17 00:00:00 2001 From: Dalon Westergreen Date: Thu, 15 Feb 2018 14:02:33 -0800 Subject: Add wic generation to default image types This adds creation of a stratix10 sdcard via wic by default, a consequence being that wic depends on both the kernel and bootloader being built so a typical console-image build will also build u-boot and the kernel. Signed-off-by: Dalon Westergreen --- conf/machine/stratix10.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'conf/machine') diff --git a/conf/machine/stratix10.conf b/conf/machine/stratix10.conf index 52603bf..06426a2 100644 --- a/conf/machine/stratix10.conf +++ b/conf/machine/stratix10.conf @@ -23,5 +23,15 @@ KERNEL_DEVICETREE ?= "altera/socfpga_stratix10_socdk.dtb" # we do not want to have getty running on tty1 as we run # auto-serial-console there #USE_VT = "0" -IMAGE_FSTYPES ?= "cpio ext3 tar.gz" + +# Add variables for wic creation of sdcard image +IMAGE_BOOT_FILES ?= " \ + u-boot-dtb.${UBOOT_SUFFIX} \ + ${KERNEL_IMAGETYPE} \ + socfpga_stratix10_socdk.dtb \ + " +WKS_FILE ?= "sdimage-stratix10.wks" +do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy" + +IMAGE_FSTYPES ?= "cpio ext3 tar.gz wic" MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" -- cgit v1.2.3-54-g00ecf