MACHINE: rework INITRD configuration

Change-Id: Id5028c42d5add160982b4657b6e486e4510a0f45
Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
This commit is contained in:
Romuald JEANNE authored and Lionel VITTE committed 2021-11-16 17:56:04 +01:00
1 parent 197f0c1a3c
commit 5245abf2c7
8 files changed
+17 -16

No files matched your search

+3 -3
View File
@@ -15,8 +15,8 @@ PACKAGE_INSTALL += " \
${@bb.utils.contains('MACHINE_FEATURES', 'splashscreen', 'u-boot-stm32mp-splash', '', d)} \
"
# Add specific autoresize package to bootfs
AUTORESIZE ?= ""
# Add specific initrd package to bootfs
INITRD_PACKAGE ?= ""
PACKAGE_INSTALL += " \
${@bb.utils.contains('COMBINED_FEATURES', 'autoresize', '${AUTORESIZE}', '', d)} \
${@bb.utils.contains('MACHINE_FEATURES', 'initrd', '${INITRD_PACKAGE}', '', d)} \
"