recovery-initramfs: generalize recipe to avoid redefinitions
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
188df6fee3
commit
d430cc3bab
|
|
@ -15,6 +15,8 @@ UBOOT_SUFFIX = "imx"
|
|||
# Linux kernel configuration
|
||||
KERNEL_DEFCONFIG ?= "arch/arm/configs/ccimx6sbc_defconfig"
|
||||
|
||||
STORAGE_MEDIA = "mmc"
|
||||
|
||||
# Wireless external module
|
||||
WIRELESS_MODULE ?= ""
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ include conf/machine/include/tune-cortexa7.inc
|
|||
UBOOT_PREFIX = "u-boot"
|
||||
UBOOT_SUFFIX = "imx"
|
||||
|
||||
STORAGE_MEDIA = "mtd"
|
||||
|
||||
# Bluetooth interface
|
||||
BT_DEVICE_NAME ?= "cc6ul"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ SDIMG_BOOTLOADER = "${DEPLOY_DIR_IMAGE}/${BOOTABLE_FILENAME}"
|
|||
# Linux kernel configuration
|
||||
KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8_defconfig"
|
||||
|
||||
STORAGE_MEDIA = "mmc"
|
||||
|
||||
# Bluetooth interface
|
||||
BT_DEVICE_NAME ?= "cc8mn"
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ RAM_CONFIGS = "1.2GHz_512MB_16bit 1.2GHz_1GB_16bit 1.2GHz_1GB_32bit 1.2GHz_2GB_3
|
|||
# Linux kernel configuration
|
||||
KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8x_defconfig"
|
||||
|
||||
STORAGE_MEDIA = "mmc"
|
||||
|
||||
# Bluetooth interface
|
||||
BT_DEVICE_NAME ?= "cc8x"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ LICENSE = "MIT"
|
|||
|
||||
PACKAGE_INSTALL = " \
|
||||
busybox \
|
||||
${@bb.utils.contains('STORAGE_MEDIA', 'mmc', 'e2fsprogs-mke2fs', '', d)} \
|
||||
${@bb.utils.contains('STORAGE_MEDIA', 'mtd', 'mtd-utils-ubifs', '', d)} \
|
||||
psplash \
|
||||
recovery-initramfs \
|
||||
swupdate \
|
||||
|
|
@ -13,11 +15,6 @@ PACKAGE_INSTALL = " \
|
|||
wipe \
|
||||
"
|
||||
|
||||
PACKAGE_INSTALL_append_ccimx6 = " e2fsprogs-mke2fs"
|
||||
PACKAGE_INSTALL_append_ccimx6ul = " mtd-utils-ubifs"
|
||||
PACKAGE_INSTALL_append_ccimx8x = " e2fsprogs-mke2fs"
|
||||
PACKAGE_INSTALL_append_ccimx8mn = " e2fsprogs-mke2fs"
|
||||
|
||||
# Do not pollute the initrd image with rootfs features
|
||||
IMAGE_FEATURES = ""
|
||||
IMAGE_LINGUAS = ""
|
||||
|
|
|
|||
|
|
@ -53,7 +53,4 @@ PACKAGES = "${PN}"
|
|||
|
||||
FILES_${PN} = "/"
|
||||
|
||||
RDEPENDS_${PN}_append_ccimx6sbc = " cryptsetup"
|
||||
RDEPENDS_${PN}_append_ccimx6qpsbc = " cryptsetup"
|
||||
RDEPENDS_${PN}_append_ccimx8x = " cryptsetup"
|
||||
RDEPENDS_${PN}_append_ccimx8mn = " cryptsetup"
|
||||
RDEPENDS_${PN}_append = "${@bb.utils.contains('STORAGE_MEDIA', 'mmc', ' cryptsetup', '', d)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue