Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also add required recipes for new dependencies. As per NXP langdale-6.1.1-1.0.0 release. Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
- Loading branch information
1 parent
48d772f
commit 56104cf
Showing
6 changed files
with
126 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SRC_URI = "${GPU_SDK_SRC};branch=${GPU_SDK_SRC_BRANCH}" | ||
GPU_SDK_SRC ?= "git://github.com/nxp-imx/gtec-demo-framework.git;protocol=https" | ||
GPU_SDK_SRC_BRANCH ?= "master" | ||
SRCREV = "ed8a6ac85234b0aaa28ce0035286293240a5e02c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SUMMARY = "Provides XDG shell header and glue code library" | ||
LICENSE = "BSD-3-Clause" | ||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/License.md;md5=9d58a2573275ce8c35d79576835dbeb8" | ||
|
||
DEPENDS = "wayland-native wayland wayland-protocols" | ||
|
||
require imx-gpu-sdk-src.inc | ||
|
||
S = "${WORKDIR}/git/ThirdParty/Recipe/xdg-shell" | ||
|
||
inherit cmake pkgconfig | ||
|
||
EXTRA_OECMAKE = " \ | ||
-DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ | ||
-DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \ | ||
" | ||
|
||
ALLOW_EMPTY:${PN} = "1" | ||
RDEPENDS:${PN}-dev = "${PN}-staticdev" |
36 changes: 36 additions & 0 deletions
36
...s/vulkan-validationlayers/0001-CMakeLists.txt-Change-the-installation-path-of-JSON-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
From 1f2837e05ed090ec553a3fc4fccee5618cf26d12 Mon Sep 17 00:00:00 2001 | ||
From: Neena Busireddy <neenareddy.busireddy@nxp.com> | ||
Date: Thu, 8 Aug 2019 11:27:01 -0500 | ||
Subject: [PATCH] CMakeLists.txt: Change the installation path of JSON files | ||
|
||
Also modify the library path in JSON files to /usr/lib/libVK*.so | ||
|
||
Upstream-Status: Inappropriate [configuration] | ||
|
||
Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com> | ||
--- | ||
layers/CMakeLists.txt | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
Index: git/layers/CMakeLists.txt | ||
=================================================================== | ||
--- git.orig/layers/CMakeLists.txt | ||
+++ git/layers/CMakeLists.txt | ||
@@ -337,7 +337,7 @@ if(BUILD_LAYERS) | ||
-DVK_VERSION=1.2.${vk_header_version}) | ||
# If this json file is not a metalayer, get the needed properties from that target | ||
if(TARGET ${TARGET_NAME}) | ||
- set(INSTALL_DEFINES ${INSTALL_DEFINES} -DRELATIVE_LAYER_BINARY="$<TARGET_FILE_NAME:${TARGET_NAME}>") | ||
+ set(INSTALL_DEFINES ${INSTALL_DEFINES} -DRELATIVE_LAYER_BINARY="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/$<TARGET_FILE_NAME:${TARGET_NAME}>") | ||
endif() | ||
add_custom_target(${TARGET_NAME}-staging-json ALL | ||
COMMAND ${CMAKE_COMMAND} ${INSTALL_DEFINES} -P "${CMAKE_CURRENT_BINARY_DIR}/generator.cmake") | ||
@@ -351,7 +351,7 @@ if(BUILD_LAYERS) | ||
DESTINATION ${CMAKE_INSTALL_LIBDIR}) | ||
elseif(UNIX) | ||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/staging-json/${TARGET_NAME}.json | ||
- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/vulkan/explicit_layer.d) | ||
+ DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/vulkan/explicit_layer.d) | ||
endif() | ||
endforeach() | ||
endif() |
43 changes: 43 additions & 0 deletions
43
recipes-graphics/vulkan-validationlayers/vulkan-validationlayers_1.2.182.0.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
SUMMARY = "Vulkan ValidationLayers" | ||
DESCRIPTION = "This project provides Vulkan validation layers that \ | ||
can be enabled to assist development by enabling developers to verify \ | ||
their applications correct use of the Vulkan API." | ||
HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers" | ||
SECTION = "libs" | ||
|
||
LICENSE = "Apache-2.0" | ||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8df9e8826734226d08cb412babfa599c" | ||
SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;branch=sdk-1.2.182" | ||
|
||
SRCREV = "91fcffa8eca1a9573c8d736a54a028035ed4e06c" | ||
|
||
S = "${WORKDIR}/git" | ||
|
||
REQUIRED_DISTRO_FEATURES = "vulkan" | ||
|
||
inherit cmake features_check | ||
ANY_OF_DISTRO_FEATURES = "x11 wayland" | ||
|
||
DEPENDS = "vulkan-headers glslang spirv-tools spirv-headers" | ||
|
||
EXTRA_OECMAKE = " \ | ||
-DGLSLANG_INSTALL_DIR=${STAGING_DIR_HOST}/usr \ | ||
-DSPIRV_HEADERS_INSTALL_DIR=${STAGING_DIR_HOST}/usr \ | ||
-DSPIRV_TOOLS_INSTALL_DIR=${STAGING_DIR_HOST}/usr \ | ||
-DUSE_ROBIN_HOOD_HASHING=OFF \ | ||
" | ||
|
||
# must choose x11 or wayland or both | ||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
|
||
PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON -DDEMOS_WSI_SELECTION=XCB, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF -DDEMOS_WSI_SELECTION=WAYLAND, libxcb libx11 libxrandr" | ||
PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" | ||
|
||
# The output library is unversioned | ||
SOLIBS = ".so" | ||
FILES_SOLIBSDEV = "" | ||
|
||
RRECOMMENDS:${PN} = "mesa-vulkan-drivers" | ||
|
||
UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" |
3 changes: 3 additions & 0 deletions
3
recipes-graphics/vulkan-validationlayers/vulkan-validationlayers_1.2.182.0.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
|
||
SRC_URI += "file://0001-CMakeLists.txt-Change-the-installation-path-of-JSON-.patch" |