diff options
author | Dalon Westergreen <dwesterg@gmail.com> | 2018-02-15 14:02:33 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-02-26 18:33:46 -0800 |
commit | c17b28f80b576dda0302d80f37f95a4965a578d0 (patch) | |
tree | cfd1d1b365c4fa598a9d41c7be94aaa4d91453a5 | |
parent | f2b506ff48c67903a76f0f793076e6059594e2c0 (diff) | |
download | meta-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>
-rw-r--r-- | conf/machine/stratix10.conf | 12 |
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" |
26 | IMAGE_FSTYPES ?= "cpio ext3 tar.gz" | 26 | |
27 | # Add variables for wic creation of sdcard image | ||
28 | IMAGE_BOOT_FILES ?= " \ | ||
29 | u-boot-dtb.${UBOOT_SUFFIX} \ | ||
30 | ${KERNEL_IMAGETYPE} \ | ||
31 | socfpga_stratix10_socdk.dtb \ | ||
32 | " | ||
33 | WKS_FILE ?= "sdimage-stratix10.wks" | ||
34 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy" | ||
35 | |||
36 | IMAGE_FSTYPES ?= "cpio ext3 tar.gz wic" | ||
27 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" | 37 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" |