mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
bitbake.conf: Drop oldincludedir
Autoconf defines this as: "The directory for installing C header files for non-GCC compilers." Whilst this is something autoconf does allow changing, I find it hard to believe it has much use in the wild now and that headers don't get split like this in reality, it would probably only be useful on really old unixes.. The values are the same in our configuration anyway. Drop the value and just use includedir everywhere. (From OE-Core rev: 506c91cbc6a604a84e37e53ccff430436369802e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -76,7 +76,7 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
|
||||
--localstatedir=${localstatedir} \
|
||||
--libdir=${libdir} \
|
||||
--includedir=${includedir} \
|
||||
--oldincludedir=${oldincludedir} \
|
||||
--oldincludedir=${includedir} \
|
||||
--infodir=${infodir} \
|
||||
--mandir=${mandir} \
|
||||
--disable-silent-rules \
|
||||
|
||||
@@ -46,7 +46,6 @@ export sbindir = "${exec_prefix}/sbin"
|
||||
export libdir = "${exec_prefix}/${baselib}"
|
||||
export libexecdir = "${exec_prefix}/libexec"
|
||||
export includedir = "${exec_prefix}/include"
|
||||
export oldincludedir = "${exec_prefix}/include"
|
||||
localedir = "${libdir}/locale"
|
||||
|
||||
# Linkage between native/cross/nativesdk layouts
|
||||
|
||||
@@ -38,7 +38,6 @@ ${datadir}/locale 0755 root root true 0644 root root
|
||||
|
||||
# Cleanup headers
|
||||
${includedir} 0755 root root true 0644 root root
|
||||
${oldincludedir} 0755 root root true 0644 root root
|
||||
|
||||
# Cleanup debug src
|
||||
/usr/src/debug 0755 root root true 0644 root root
|
||||
|
||||
@@ -38,7 +38,6 @@ ${datadir}/locale 0755 root root true 0644 root root
|
||||
|
||||
# Cleanup headers
|
||||
${includedir} 0755 root root true 0644 root root
|
||||
${oldincludedir} 0755 root root true 0644 root root
|
||||
|
||||
# Cleanup debug src
|
||||
/usr/src/debug 0755 root root true 0644 root root
|
||||
|
||||
@@ -456,8 +456,7 @@ def fixup_perms(d):
|
||||
'sbindir',
|
||||
'libexecdir',
|
||||
'libdir',
|
||||
'includedir',
|
||||
'oldincludedir' ]
|
||||
'includedir' ]
|
||||
|
||||
for path in target_path_vars:
|
||||
dir = d.getVar(path) or ""
|
||||
|
||||
Reference in New Issue
Block a user