diff options
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-samples_git.bb')
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb index 896b248327..447d498fb3 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb +++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=48aa35cefb768436223a6e7f18dc2a2a" | |||
6 | SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git \ | 6 | SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git \ |
7 | file://0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch \ | 7 | file://0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch \ |
8 | file://0001-support-link-against-libatomic-if-no-built-in-atomic.patch \ | 8 | file://0001-support-link-against-libatomic-if-no-built-in-atomic.patch \ |
9 | file://debugfix.patch \ | ||
9 | " | 10 | " |
10 | 11 | ||
11 | UPSTREAM_CHECK_COMMITS = "1" | 12 | UPSTREAM_CHECK_COMMITS = "1" |
@@ -19,3 +20,10 @@ REQUIRED_DISTRO_FEATURES = 'vulkan' | |||
19 | inherit cmake features_check | 20 | inherit cmake features_check |
20 | 21 | ||
21 | FILES_${PN} += "${datadir}" | 22 | FILES_${PN} += "${datadir}" |
23 | |||
24 | # | ||
25 | # There is code to remove the prefix CMAKE_SOURCE_DIR from __FILENAME__ paths | ||
26 | # used for logging with LOGE in the code. We need to make this match the value we use | ||
27 | # in the debug source remapping from CFLAGS | ||
28 | # | ||
29 | EXTRA_OECMAKE = "-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/" \ No newline at end of file | ||