mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
vulkan-samples: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 23c40b46af0ede566b854fdeaeae9675c2f48549) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d7a8a51cf5
commit
5d32c24baa
|
|
@ -9,7 +9,7 @@ in the debug source remapping from CFLAGS
|
|||
|
||||
We export the right path to use in the recipe with:
|
||||
|
||||
EXTRA_OECMAKE = "-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/"
|
||||
EXTRA_OECMAKE = "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
|
||||
|
||||
and we then patch this into the code instead of the broken use
|
||||
of CMAKE_SOURCE_DIR since __FILENAME__ will match our path prefix
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ FILES:${PN} += "${datadir}"
|
|||
# used for logging with LOGE in the code. We need to make this match the value we use
|
||||
# in the debug source remapping from CFLAGS
|
||||
#
|
||||
EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/"
|
||||
EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
|
||||
# Binaries built with PCH enabled don't appear reproducible, differing results were seen
|
||||
# from some builds depending on the point the PCH was compiled. Disable it to be
|
||||
# deterministic
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user