Skip to content

Commit

Permalink
bsp: linux-lmp: simplify patches versioning
Browse files Browse the repository at this point in the history
Use newly presented KSHORT_VER to simplify versioning of the same
patches applied to different kernel versions.

Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
  • Loading branch information
MrCry0 committed May 30, 2024
1 parent 4d346a8 commit 5736661
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions meta-lmp-bsp/recipes-kernel/linux/linux-lmp_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${KSHORT_VER}:${THISDIR}/${PN}:"

SRC_URI:append:stm32mp15-disco = " \
${@bb.utils.contains('MACHINE_FEATURES', 'se05x', "file://0001-FIO-internal-arch-arm-dts-stm32mp157c-dk2-enable-I2C.patch", '', d)} \
"
5 changes: 0 additions & 5 deletions meta-lmp-bsp/recipes-kernel/linux/linux-lmp_6.1.bbappend

This file was deleted.

5 changes: 0 additions & 5 deletions meta-lmp-bsp/recipes-kernel/linux/linux-lmp_6.6.bbappend

This file was deleted.

0 comments on commit 5736661

Please sign in to comment.