diff options
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index ea7f778..603947e 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
| @@ -130,11 +130,13 @@ do_compile_append() { | |||
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | do_deploy_append() { | 132 | do_deploy_append() { |
| 133 | # Deploy cmdline.txt | 133 | # Deploy cmdline.txt for the main kernel package |
| 134 | install -d ${DEPLOYDIR}/bcm2835-bootfiles | 134 | if [ ${KERNEL_PACKAGE_NAME} = "kernel" ]; then |
| 135 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" | 135 | install -d ${DEPLOYDIR}/bcm2835-bootfiles |
| 136 | if [ ${PITFT} = "1" ]; then | 136 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" |
| 137 | PITFT_PARAMS="fbcon=map:10 fbcon=font:VGA8x8" | 137 | if [ ${PITFT} = "1" ]; then |
| 138 | PITFT_PARAMS="fbcon=map:10 fbcon=font:VGA8x8" | ||
| 139 | fi | ||
| 140 | echo "${CMDLINE}${PITFT_PARAMS}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt | ||
| 138 | fi | 141 | fi |
| 139 | echo "${CMDLINE}${PITFT_PARAMS}" > ${DEPLOYDIR}/bcm2835-bootfiles/cmdline.txt | ||
| 140 | } | 142 | } |
