summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2026-07-24 05:43:33 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-07-24 13:55:21 +0000
commitcf02d3a381a6d33db7bda940221eb4e634ca9b4c (patch)
treed83993f346e9ecac78ad64df40b03916c2e71d7f
parent77b61cb4ad0f4891907956aee29ab8ba1574a597 (diff)
downloadmeta-freescale-backport-2600-to-wrynose.tar.gz
fixup! iproute2: Fix v6.19.0 install issuebackport-2600-to-wrynose
Cleanup: - Remove the redundant include folder copy - Group the tc folder commands and the include folder commands Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit f06cd99e78b2d0dae51aa2650e069c6e84f56773)
-rw-r--r--recipes-connectivity/iproute2/iproute2_%.bbappend14
1 files changed, 10 insertions, 4 deletions
diff --git a/recipes-connectivity/iproute2/iproute2_%.bbappend b/recipes-connectivity/iproute2/iproute2_%.bbappend
index ba8e8df40..c61d3e483 100644
--- a/recipes-connectivity/iproute2/iproute2_%.bbappend
+++ b/recipes-connectivity/iproute2/iproute2_%.bbappend
@@ -1,8 +1,11 @@
1do_install:append:imx-generic-bsp () { 1do_install:append:imx-generic-bsp () {
2 cp -Rf --no-preserve=ownership ${B}/include/* ${D}${includedir} 2
3 # Add tc folder headers
3 install -d ${D}${includedir}/tc 4 install -d ${D}${includedir}/tc
4 cp -R ${B}/include/* ${D}${includedir}
5 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc 5 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc
6
7 # Add include folder headers
8 cp -R --no-preserve=ownership ${B}/include/* ${D}${includedir}
6 # Remove files that conflict with glibc 9 # Remove files that conflict with glibc
7 rm -f ${D}${includedir}/dlfcn.h 10 rm -f ${D}${includedir}/dlfcn.h
8 rm -f ${D}${includedir}/netinet/tcp.h 11 rm -f ${D}${includedir}/netinet/tcp.h
@@ -10,10 +13,13 @@ do_install:append:imx-generic-bsp () {
10} 13}
11 14
12do_install:append:qoriq-generic-bsp () { 15do_install:append:qoriq-generic-bsp () {
13 cp -Rf --no-preserve=ownership ${B}/include/* ${D}${includedir} 16
17 # Add tc folder headers
14 install -d ${D}${includedir}/tc 18 install -d ${D}${includedir}/tc
15 cp -R ${B}/include/* ${D}${includedir}
16 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc 19 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc
20
21 # Add include folder headers
22 cp -R --no-preserve=ownership ${B}/include/* ${D}${includedir}
17 # Remove files that conflict with glibc 23 # Remove files that conflict with glibc
18 rm -f ${D}${includedir}/dlfcn.h 24 rm -f ${D}${includedir}/dlfcn.h
19 rm -f ${D}${includedir}/netinet/tcp.h 25 rm -f ${D}${includedir}/netinet/tcp.h