summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-29 13:41:14 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-30 16:39:56 -0300
commit18ec8ff159acc314f7e6015df211e15c823233fe (patch)
treef16950f71771f475d90dd07cbf817b314e8a0b2c
parent72444a3452540f9a1b2778f0963caaa880dc8c26 (diff)
downloadmeta-freescale-18ec8ff159acc314f7e6015df211e15c823233fe.tar.gz
iproute2: Scope header install to NXP machines
The bbappend installs iproute2 headers for NXP BSP consumers. Apply the install hook only for i.MX and QorIQ machine overrides so generic machines are not affected by the layer. Tested as part of the series with bitbake -p and yocto-check-layer. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
-rw-r--r--recipes-connectivity/iproute2/iproute2_%.bbappend10
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes-connectivity/iproute2/iproute2_%.bbappend b/recipes-connectivity/iproute2/iproute2_%.bbappend
index 0f9b5a87d..660984d7a 100644
--- a/recipes-connectivity/iproute2/iproute2_%.bbappend
+++ b/recipes-connectivity/iproute2/iproute2_%.bbappend
@@ -1,5 +1,11 @@
1do_install:append () { 1do_install:append:imx-generic-bsp () {
2 install -d ${D}/usr/include/tc 2 install -d ${D}/usr/include/tc
3 cp -a ${B}/include ${D}/usr/include
4 cp -a ${B}/tc/*.h ${D}/usr/include/tc
5}
6
7do_install:append:qoriq-generic-bsp () {
8 install -d ${D}/usr/include/tc
3 cp -a ${B}/include ${D}/usr/include 9 cp -a ${B}/include ${D}/usr/include
4 cp -a ${B}/tc/*.h ${D}/usr/include/tc 10 cp -a ${B}/tc/*.h ${D}/usr/include/tc
5} 11}