summaryrefslogtreecommitdiff
path: root/conf/machine/include/tegra-base.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include/tegra-base.inc')
-rw-r--r--conf/machine/include/tegra-base.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/conf/machine/include/tegra-base.inc b/conf/machine/include/tegra-base.inc
index 64b7115..c49f568 100644
--- a/conf/machine/include/tegra-base.inc
+++ b/conf/machine/include/tegra-base.inc
@@ -13,6 +13,26 @@ XSERVER = "xserver-xorg \
PREFERRED_PROVIDER_virtual/kernel = "linux-toradex"
KERNEL_IMAGETYPE = "zImage"
+
+# wic support
+SOC_DEFAULT_IMAGE_FSTYPES = "wic.gz tar.xz"
+IMAGE_FSTYPES = "${SOC_DEFAULT_IMAGE_FSTYPES}"
+
+IMAGE_BOOT_FILES ?= " \
+ ${KERNEL_IMAGETYPE} \
+"
+WKS_FILE_DEPENDS ?= " \
+ virtual/bootloader \
+ \
+ e2fsprogs-native \
+ bmap-tools-native \
+"
+
+SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks"
+SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks"
+WKS_FILE ?= "sdimage-bootpart-tegra.wks"
+WIC_CREATE_EXTRA_ARGS_append = " --no-fstab-update"
+
# The kernel lives in a seperate FAT or UBI partition, don't deploy it in /boot
RDEPENDS_kernel-base = ""