mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 07:39:49 +02:00
dwarfsrcfiles: Switch to S = UNPACKDIR
Since the recipe uses a single source file, use UNPACKDIR = ${S}.
(From OE-Core rev: e302088dc08b230fe841a3447348f4dd7eff964d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
SUMMARY = "A small utility for printing debug source file locations embedded in binaries"
|
||||
DESCRIPTION = "${SUMMARY}"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://../dwarfsrcfiles.c;md5=31483894e453a77acbb67847565f1b5c;beginline=1;endline=8"
|
||||
LIC_FILES_CHKSUM = "file://dwarfsrcfiles.c;md5=31483894e453a77acbb67847565f1b5c;beginline=1;endline=8"
|
||||
|
||||
SRC_URI = "file://dwarfsrcfiles.c"
|
||||
BBCLASSEXTEND = "native"
|
||||
DEPENDS = "elfutils"
|
||||
DEPENDS:append:libc-musl = " argp-standalone"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
do_compile () {
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ../dwarfsrcfiles.c -lelf -ldw
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ${S}/dwarfsrcfiles.c -lelf -ldw
|
||||
}
|
||||
|
||||
do_compile:libc-musl () {
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ../dwarfsrcfiles.c -lelf -ldw -largp
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ${S}/dwarfsrcfiles.c -lelf -ldw -largp
|
||||
}
|
||||
|
||||
do_install () {
|
||||
|
||||
Reference in New Issue
Block a user