mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
klibc_1.5.25: Fetcher and QA fixes
* fix unfetchable SRC_URI and use git fetcher instead
* and remove checksums file
* adapt ${S}
* fix QA about non -staticdev package contains static .a library
* fix QA about /bin installed but not shipped
* fix license and relative QA
* bump INC_PR
* patchset untouched awaiting klibc_2.0, expected in March 2012
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
parent
08bf37116b
commit
4c9740b5a8
|
|
@ -1,7 +1,6 @@
|
|||
PR = "${INC_PR}.0"
|
||||
|
||||
require klibc.inc
|
||||
require klibc-checksums_${PV}.inc
|
||||
|
||||
export KLCC_INST = "${STAGING_DIR_TARGET}/lib/klibc"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
SRC_URI[md5sum] = "5bc4dcd63e9142b934787729133c2766"
|
||||
SRC_URI[sha256sum] = "0b910ec0b2a97d4c775ed06e44ad7bca7be150efdf2a77a19253a573e16367d3"
|
||||
|
|
@ -14,4 +14,3 @@ FILES_${PN} = ""
|
|||
|
||||
require klibc-utils.inc
|
||||
require klibc.inc
|
||||
require klibc-checksums_${PV}.inc
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ FILES_${PN} = ""
|
|||
|
||||
require klibc-utils.inc
|
||||
require klibc.inc
|
||||
require klibc-checksums_${PV}.inc
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ 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."
|
||||
LICENSE = "BSD-ADV"
|
||||
LICENSE = "BSD-3-Clause & GPL-2.0 & Zlib"
|
||||
LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8b"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
|
@ -12,7 +12,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|||
# debugsources.list: No such file or directory:
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
INC_PR = "r0"
|
||||
INC_PR = "r1"
|
||||
|
||||
KLIBC_ARCH = '${TARGET_ARCH}'
|
||||
KLIBC_ARCH_armeb = 'arm'
|
||||
|
|
@ -23,8 +23,8 @@ KLIBC_ARCH_i586 = 'i386'
|
|||
KLIBC_ARCH_i686 = 'i386'
|
||||
KLIBC_ARCH_pentium = 'i386'
|
||||
|
||||
KLIBC_FETCHDIR = "1.5"
|
||||
SRC_URI = "${KERNELORG_MIRROR}/linux/libs/klibc/${KLIBC_FETCHDIR}/klibc-${PV}.tar.bz2"
|
||||
SRCREV = "ff0a614bd724f6c4c6a5014a9955dc1bc028f336"
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git;protocol=git"
|
||||
|
||||
SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch"
|
||||
SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch"
|
||||
|
|
@ -36,7 +36,7 @@ SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch \
|
|||
file://staging.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/klibc-${PV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \
|
||||
'CROSS_COMPILE=${TARGET_PREFIX}' \
|
||||
|
|
|
|||
|
|
@ -8,8 +8,9 @@ do_install() {
|
|||
|
||||
# the crosscompiler is packaged by klcc-cross
|
||||
# remove klcc
|
||||
# remove also from FILES_libklibc-dev
|
||||
rm ${D}${base_bindir}/klcc
|
||||
# remove now empty dir
|
||||
rmdir ${D}${base_bindir}
|
||||
|
||||
# remove Linux headers .install and ..install.cmd files
|
||||
find ${D}${base_libdir}/klibc/include -name '.install' -delete
|
||||
|
|
@ -21,15 +22,11 @@ do_install() {
|
|||
|
||||
}
|
||||
|
||||
PACKAGES = "libklibc libklibc-dev"
|
||||
PACKAGES = "libklibc libklibc-staticdev libklibc-dev"
|
||||
FILES_libklibc = "${base_libdir}/klibc-*.so"
|
||||
FILES_libklibc-staticdev = "${base_libdir}/klibc/lib/libc.a"
|
||||
FILES_libklibc-dev = "${base_libdir}/klibc.so \
|
||||
${base_libdir}/klibc/lib/* \
|
||||
${base_libdir}/klibc/include/* \
|
||||
"
|
||||
# see above
|
||||
# do not package it in -dev
|
||||
# ${base_bindir}/klcc \
|
||||
|
||||
require klibc.inc
|
||||
require klibc-checksums_${PV}.inc
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user