mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-05 05:04:45 +02:00
linux-raspberrypi: Only deploy cmdline.txt for the main kernel
When multiple kernels are being built, not all of them can deploy the same file. Signed-off-by: Alex Gonzalez <alexg@balena.io>
This commit is contained in:
parent
5551792e64
commit
65b95ce742
|
@ -130,11 +130,13 @@ do_compile_append() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_deploy_append() {
|
do_deploy_append() {
|
||||||
# Deploy cmdline.txt
|
# Deploy cmdline.txt for the main kernel package
|
||||||
install -d ${DEPLOYDIR}/bcm2835-bootfiles
|
if [ ${KERNEL_PACKAGE_NAME} = "kernel" ]; then
|
||||||
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
|
install -d ${DEPLOYDIR}/bcm2835-bootfiles
|
||||||
if [ ${PITFT} = "1" ]; then
|
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
|
||||||
PITFT_PARAMS="fbcon=map:10 fbcon=font:VGA8x8"
|
if [ ${PITFT} = "1" ]; then
|
||||||
|
PITFT_PARAMS="fbcon=map:10 fbcon=font:VGA8x8"
|
||||||
|
fi
|
||||||
|
echo "${CMDLINE}${PITFT_PARAMS}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
|
||||||
fi
|
fi
|
||||||
echo "${CMDLINE}${PITFT_PARAMS}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user