mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-02-19 16:54:18 +01:00
----------------------------------------------- -j support. Yocto needs this. Move external references into toolchain to avoid conflict with Yocto Sysroot. Move CPU tuning into toolchain. Clang uses a different tuning scheme. Python required check for Yocto. Correct usage of project details. Required for packaging step. Organize key/value to enable central place to change Toolchain path is discovered based on toolchain triple. Minimum requirement is to add toolchain bin path to your path. Add install_user step to replace install.sh Allow overriding user name. Username will not always be 'pi'. zlib.h and zconf.h from raspbian rootfs (missing form rpi toolchain sysroot) rename drm-uapi to match yocto -> libdrm packaging, testing, and rpath for unit tests stick with sdk branches CMake documentation -> BUILD.md Move -Wall to global.cmake, which makes for easier filtering Rename toolchain.cmake as it is GCC specific vulkaninfo from vulkan-tools
18 lines
654 B
CMake
18 lines
654 B
CMake
if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt")
|
|
message(FATAL_ERROR "Cannot find install manifest: ${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt")
|
|
endif()
|
|
|
|
file(READ "${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt" files)
|
|
string(REGEX REPLACE "[\r\n]" ";" files "${files}")
|
|
|
|
foreach(file ${files})
|
|
message(STATUS "Uninstalling ${file}")
|
|
if(EXISTS "${file}")
|
|
file(REMOVE ${file})
|
|
if (EXISTS "${file}")
|
|
message(FATAL_ERROR "Problem when removing ${file}, please check your permissions")
|
|
endif()
|
|
else()
|
|
message(STATUS "File ${file} does not exist.")
|
|
endif()
|
|
endforeach() |