summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc')
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc15
1 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index 7ec94024c3..3a8d32e785 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -1,7 +1,8 @@
1SUMMARY = "Sanitized set of kernel headers for the C library's use" 1SUMMARY = "Sanitized set of kernel headers for the C library's use"
2HOMEPAGE = "https://www.kernel.org/"
2DESCRIPTION = "Designed to maintain an Application Programming Interface (API) stable version of the Linux headers" 3DESCRIPTION = "Designed to maintain an Application Programming Interface (API) stable version of the Linux headers"
3SECTION = "devel" 4SECTION = "devel"
4LICENSE = "GPLv2" 5LICENSE = "GPL-2.0-only"
5 6
6######################################################################### 7#########################################################################
7#### PLEASE READ 8#### PLEASE READ
@@ -43,6 +44,8 @@ python __anonymous () {
43 d.setVar("HEADER_FETCH_VER", "4.x") 44 d.setVar("HEADER_FETCH_VER", "4.x")
44 elif major == "5": 45 elif major == "5":
45 d.setVar("HEADER_FETCH_VER", "5.x") 46 d.setVar("HEADER_FETCH_VER", "5.x")
47 elif major == "6":
48 d.setVar("HEADER_FETCH_VER", "6.x")
46 else: 49 else:
47 d.setVar("HEADER_FETCH_VER", "2.6") 50 d.setVar("HEADER_FETCH_VER", "2.6")
48} 51}
@@ -74,15 +77,15 @@ do_install() {
74 find ${D}${includedir} -name ..install.cmd | xargs rm -f 77 find ${D}${includedir} -name ..install.cmd | xargs rm -f
75} 78}
76 79
77do_install_append_aarch64 () { 80do_install:append:aarch64 () {
78 do_install_armmultilib 81 do_install_armmultilib
79} 82}
80 83
81do_install_append_arm () { 84do_install:append:arm () {
82 do_install_armmultilib 85 do_install_armmultilib
83} 86}
84 87
85do_install_append_armeb () { 88do_install:append:armeb () {
86 do_install_armmultilib 89 do_install_armmultilib
87} 90}
88 91
@@ -102,8 +105,8 @@ do_install_armmultilib () {
102 105
103BBCLASSEXTEND = "nativesdk" 106BBCLASSEXTEND = "nativesdk"
104 107
105RDEPENDS_${PN}-dev = "" 108DEV_PKG_DEPENDENCY = ""
106RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 109RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
107 110
108INHIBIT_DEFAULT_DEPS = "1" 111INHIBIT_DEFAULT_DEPS = "1"
109DEPENDS += "unifdef-native bison-native rsync-native" 112DEPENDS += "unifdef-native bison-native rsync-native"