mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
There were some shared binaries built together with the static ones and this was leading to the infamous: i586-oe-linux-musl-ld.bfd: discarded output section: `.got.plt' Fix this by purging the Kbuild files. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 lines
419 B
BlitzBasic
19 lines
419 B
BlitzBasic
SUMMARY = "klibc utils for initramfs statically compiled"
|
|
|
|
FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:"
|
|
|
|
PACKAGES = "${PN}"
|
|
FILES_${PN} = ""
|
|
|
|
KLIBC_UTILS_VARIANT = "static"
|
|
KLIBC_UTILS_PKGNAME = "klibc-static-utils"
|
|
|
|
require klibc-utils.inc
|
|
require klibc.inc
|
|
|
|
SRC_URI += "file://0001-klibc-static-utils-do-not-build-shared-binaries.patch"
|
|
|
|
# avoid textrel if linking with -pie
|
|
SECURITY_CFLAGS = ""
|
|
SECURITY_LDFLAGS = ""
|