mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 00:50:00 +00:00
klibc: restylize a bit the recipes
No runtime changes.
Reorder and fix some typos in the comments.
Remove unneeded empty do_install from utils.
Fix bogus PACKAGES_${PN} = "${PN}".
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
This commit is contained in:
committed by
Paul Eggleton
parent
f24daddfa0
commit
477ccd867c
@@ -1,44 +1,22 @@
|
||||
DEPENDS = "linux-libc-headers perl-native"
|
||||
SECTION = "libs"
|
||||
DESCRIPTION = "klibc is intended to be a minimalistic libc subset for \
|
||||
use with initramfs. It is deliberately written for small size, \
|
||||
minimal entaglement, and portability, not speed."
|
||||
SECTION = "libs"
|
||||
LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib"
|
||||
LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b"
|
||||
|
||||
# Prevents do_package failures with:
|
||||
# debugsources.list: No such file or directory:
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
KLIBC_ARCH = '${TARGET_ARCH}'
|
||||
KLIBC_ARCH_aarch64 = 'arm64'
|
||||
KLIBC_ARCH_armeb = 'arm'
|
||||
KLIBC_ARCH_mipsel = 'mips'
|
||||
KLIBC_ARCH_x86 = 'i386'
|
||||
KLIBC_ARCH_x86-64 = 'x86_64'
|
||||
KLIBC_ARCH_i486 = 'i386'
|
||||
KLIBC_ARCH_i586 = 'i386'
|
||||
KLIBC_ARCH_i686 = 'i386'
|
||||
KLIBC_ARCH_pentium = 'i386'
|
||||
KLIBC_ARCH_powerpc = 'ppc'
|
||||
KLIBC_ARCH_powerpc64 = 'ppc64'
|
||||
|
||||
export FIX_ARMV4_EABI_BX = "${FIX_V4BX}"
|
||||
|
||||
DEPENDS = "linux-libc-headers perl-native"
|
||||
SRCREV = "f0440baf7f2dc1d9a25863c184d0a8fb73c4ee6c"
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"
|
||||
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git"
|
||||
SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch \
|
||||
file://armv4-fix-v4bx.patch \
|
||||
"
|
||||
"
|
||||
SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch \
|
||||
file://armv4-fix-v4bx.patch \
|
||||
"
|
||||
|
||||
"
|
||||
SRC_URI += "file://klibc-linux-libc-dev.patch \
|
||||
file://staging.patch \
|
||||
"
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -48,10 +26,26 @@ EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \
|
||||
'prefix=${exec_prefix}' \
|
||||
'INSTALLROOT=${D}' \
|
||||
'SHLIBDIR=${libdir}' \
|
||||
"
|
||||
"
|
||||
|
||||
export FIX_ARMV4_EABI_BX = "${FIX_V4BX}"
|
||||
|
||||
do_configure () {
|
||||
ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux
|
||||
}
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
KLIBC_ARCH = "${TARGET_ARCH}"
|
||||
KLIBC_ARCH_aarch64 = "arm64"
|
||||
KLIBC_ARCH_armeb = "arm"
|
||||
KLIBC_ARCH_mipsel = "mips"
|
||||
KLIBC_ARCH_x86 = "i386"
|
||||
KLIBC_ARCH_x86-64 = "x86_64"
|
||||
KLIBC_ARCH_i486 = "i386"
|
||||
KLIBC_ARCH_i586 = "i386"
|
||||
KLIBC_ARCH_i686 = "i386"
|
||||
KLIBC_ARCH_pentium = "i386"
|
||||
KLIBC_ARCH_powerpc = "ppc"
|
||||
KLIBC_ARCH_powerpc64 = "ppc64"
|
||||
THIS_LIBKLIBC = "libklibc (= ${PV})"
|
||||
|
||||
Reference in New Issue
Block a user