diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-16 16:52:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-20 15:30:52 +0000 |
commit | 0769e8ef6b52584ef790744fe43973e56789e2b2 (patch) | |
tree | dbde9a4a20aa45670497a126e9d1939cd8d9a425 | |
parent | 62ad6660e00d1cee0de2a1f2c49fa38d8d2fc3c5 (diff) | |
download | poky-0769e8ef6b52584ef790744fe43973e56789e2b2.tar.gz |
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>
-rw-r--r-- | meta/classes-recipe/autotools.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 1 | ||||
-rw-r--r-- | meta/files/fs-perms-persistent-log.txt | 1 | ||||
-rw-r--r-- | meta/files/fs-perms.txt | 1 | ||||
-rw-r--r-- | meta/lib/oe/package.py | 3 |
5 files changed, 2 insertions, 6 deletions
diff --git a/meta/classes-recipe/autotools.bbclass b/meta/classes-recipe/autotools.bbclass index 5ed21a3d68..1663307b06 100644 --- a/meta/classes-recipe/autotools.bbclass +++ b/meta/classes-recipe/autotools.bbclass | |||
@@ -76,7 +76,7 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \ | |||
76 | --localstatedir=${localstatedir} \ | 76 | --localstatedir=${localstatedir} \ |
77 | --libdir=${libdir} \ | 77 | --libdir=${libdir} \ |
78 | --includedir=${includedir} \ | 78 | --includedir=${includedir} \ |
79 | --oldincludedir=${oldincludedir} \ | 79 | --oldincludedir=${includedir} \ |
80 | --infodir=${infodir} \ | 80 | --infodir=${infodir} \ |
81 | --mandir=${mandir} \ | 81 | --mandir=${mandir} \ |
82 | --disable-silent-rules \ | 82 | --disable-silent-rules \ |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 67ff769046..8d04b71de3 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -46,7 +46,6 @@ export sbindir = "${exec_prefix}/sbin" | |||
46 | export libdir = "${exec_prefix}/${baselib}" | 46 | export libdir = "${exec_prefix}/${baselib}" |
47 | export libexecdir = "${exec_prefix}/libexec" | 47 | export libexecdir = "${exec_prefix}/libexec" |
48 | export includedir = "${exec_prefix}/include" | 48 | export includedir = "${exec_prefix}/include" |
49 | export oldincludedir = "${exec_prefix}/include" | ||
50 | localedir = "${libdir}/locale" | 49 | localedir = "${libdir}/locale" |
51 | 50 | ||
52 | # Linkage between native/cross/nativesdk layouts | 51 | # Linkage between native/cross/nativesdk layouts |
diff --git a/meta/files/fs-perms-persistent-log.txt b/meta/files/fs-perms-persistent-log.txt index 518c1be3c9..61f0a6e26a 100644 --- a/meta/files/fs-perms-persistent-log.txt +++ b/meta/files/fs-perms-persistent-log.txt | |||
@@ -38,7 +38,6 @@ ${datadir}/locale 0755 root root true 0644 root root | |||
38 | 38 | ||
39 | # Cleanup headers | 39 | # Cleanup headers |
40 | ${includedir} 0755 root root true 0644 root root | 40 | ${includedir} 0755 root root true 0644 root root |
41 | ${oldincludedir} 0755 root root true 0644 root root | ||
42 | 41 | ||
43 | # Cleanup debug src | 42 | # Cleanup debug src |
44 | /usr/src/debug 0755 root root true 0644 root root | 43 | /usr/src/debug 0755 root root true 0644 root root |
diff --git a/meta/files/fs-perms.txt b/meta/files/fs-perms.txt index daa4aed840..48191f504c 100644 --- a/meta/files/fs-perms.txt +++ b/meta/files/fs-perms.txt | |||
@@ -38,7 +38,6 @@ ${datadir}/locale 0755 root root true 0644 root root | |||
38 | 38 | ||
39 | # Cleanup headers | 39 | # Cleanup headers |
40 | ${includedir} 0755 root root true 0644 root root | 40 | ${includedir} 0755 root root true 0644 root root |
41 | ${oldincludedir} 0755 root root true 0644 root root | ||
42 | 41 | ||
43 | # Cleanup debug src | 42 | # Cleanup debug src |
44 | /usr/src/debug 0755 root root true 0644 root root | 43 | /usr/src/debug 0755 root root true 0644 root root |
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 1dd20f85eb..f69bf9c353 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
@@ -456,8 +456,7 @@ def fixup_perms(d): | |||
456 | 'sbindir', | 456 | 'sbindir', |
457 | 'libexecdir', | 457 | 'libexecdir', |
458 | 'libdir', | 458 | 'libdir', |
459 | 'includedir', | 459 | 'includedir' ] |
460 | 'oldincludedir' ] | ||
461 | 460 | ||
462 | for path in target_path_vars: | 461 | for path in target_path_vars: |
463 | dir = d.getVar(path) or "" | 462 | dir = d.getVar(path) or "" |