summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDalon Westergreen <dwesterg@gmail.com>2018-02-15 14:02:33 -0800
committerKhem Raj <raj.khem@gmail.com>2018-04-23 10:00:58 -0700
commit88497fc137415532d1cb42de805ccf13a2c96a18 (patch)
tree8901012c500ba50279114bfc4d1bfad0f71603f6
parent8665915f02d90dda71ddc40450cdc2792fff1d96 (diff)
downloadmeta-altera-88497fc137415532d1cb42de805ccf13a2c96a18.tar.gz
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 <dwesterg@gmail.com>
-rw-r--r--conf/machine/stratix10.conf12
1 files changed, 11 insertions, 1 deletions
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"
23# we do not want to have getty running on tty1 as we run 23# we do not want to have getty running on tty1 as we run
24# auto-serial-console there 24# auto-serial-console there
25#USE_VT = "0" 25#USE_VT = "0"
26IMAGE_FSTYPES ?= "cpio ext3 tar.gz" 26
27# Add variables for wic creation of sdcard image
28IMAGE_BOOT_FILES ?= " \
29 u-boot-dtb.${UBOOT_SUFFIX} \
30 ${KERNEL_IMAGETYPE} \
31 socfpga_stratix10_socdk.dtb \
32 "
33WKS_FILE ?= "sdimage-stratix10.wks"
34do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy"
35
36IMAGE_FSTYPES ?= "cpio ext3 tar.gz wic"
27MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" 37MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"