diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2026-07-24 10:11:11 -0700 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2026-07-24 10:11:11 -0700 |
| commit | 91a83d2d4a2d53b7fd91d2bc0bae4a2ebb81e5e9 (patch) | |
| tree | e38ce497ae01b8809be9fb5a8a59cb0e590bbd53 | |
| parent | 7a5f5f8a1fbfbf9aa6e0a4da5e2aa5ab1931c197 (diff) | |
| download | meta-freescale-91a83d2d4a2d53b7fd91d2bc0bae4a2ebb81e5e9.tar.gz | |
iproute2: Revert install changes
The recent analysis that concluded that the install to
/usr/include/include was new was mistaken. The original implementation
did this as well. Moving the install to /usr/include was incorrect and
caused the conflicts with glibc.
Revert the install changes.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| -rw-r--r-- | recipes-connectivity/iproute2/iproute2_%.bbappend | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/recipes-connectivity/iproute2/iproute2_%.bbappend b/recipes-connectivity/iproute2/iproute2_%.bbappend index c61d3e483..655635b52 100644 --- a/recipes-connectivity/iproute2/iproute2_%.bbappend +++ b/recipes-connectivity/iproute2/iproute2_%.bbappend | |||
| @@ -4,12 +4,8 @@ do_install:append:imx-generic-bsp () { | |||
| 4 | install -d ${D}${includedir}/tc | 4 | install -d ${D}${includedir}/tc |
| 5 | install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc | 5 | install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc |
| 6 | 6 | ||
| 7 | # Add include folder headers | 7 | # Add include folder headers at /usr/include/include |
| 8 | cp -R --no-preserve=ownership ${B}/include/* ${D}${includedir} | 8 | cp -R --no-preserve=ownership ${B}/include ${D}${includedir} |
| 9 | # Remove files that conflict with glibc | ||
| 10 | rm -f ${D}${includedir}/dlfcn.h | ||
| 11 | rm -f ${D}${includedir}/netinet/tcp.h | ||
| 12 | rm -f ${D}${includedir}/xtables.h | ||
| 13 | } | 9 | } |
| 14 | 10 | ||
| 15 | do_install:append:qoriq-generic-bsp () { | 11 | do_install:append:qoriq-generic-bsp () { |
| @@ -18,10 +14,6 @@ do_install:append:qoriq-generic-bsp () { | |||
| 18 | install -d ${D}${includedir}/tc | 14 | install -d ${D}${includedir}/tc |
| 19 | install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc | 15 | install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc |
| 20 | 16 | ||
| 21 | # Add include folder headers | 17 | # Add include folder headers at /usr/include/include |
| 22 | cp -R --no-preserve=ownership ${B}/include/* ${D}${includedir} | 18 | cp -R --no-preserve=ownership ${B}/include ${D}${includedir} |
| 23 | # Remove files that conflict with glibc | ||
| 24 | rm -f ${D}${includedir}/dlfcn.h | ||
| 25 | rm -f ${D}${includedir}/netinet/tcp.h | ||
| 26 | rm -f ${D}${includedir}/xtables.h | ||
| 27 | } | 19 | } |
