summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorDalon Westergreen <dwesterg@gmail.com>2018-02-15 14:02:33 -0800
committerKhem Raj <raj.khem@gmail.com>2018-02-26 18:33:46 -0800
commitc17b28f80b576dda0302d80f37f95a4965a578d0 (patch)
treecfd1d1b365c4fa598a9d41c7be94aaa4d91453a5 /conf/machine
parentf2b506ff48c67903a76f0f793076e6059594e2c0 (diff)
downloadmeta-altera-c17b28f80b576dda0302d80f37f95a4965a578d0.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>
Diffstat (limited to 'conf/machine')
-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"