mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
libdrm: remove RPATH
Remove all test programs installed by install-test-programs=true except modetest Do not "not use" the ninja install and replace this with a simple "cp modetest" as ninja strips the unnecessary build rpath during the install.
This commit is contained in:
parent
eb70950135
commit
48bfca4beb
@ -23,7 +23,7 @@ PKG_MESON_OPTS_TARGET="-Dlibkms=false \
|
||||
-Dman-pages=false \
|
||||
-Dvalgrind=false \
|
||||
-Dfreedreno-kgsl=false \
|
||||
-Dinstall-test-programs=false \
|
||||
-Dinstall-test-programs=true \
|
||||
-Dudev=false"
|
||||
|
||||
listcontains "${GRAPHIC_DRIVERS}" "(crocus|i915|iris)" &&
|
||||
@ -48,6 +48,14 @@ listcontains "${GRAPHIC_DRIVERS}" "etnaviv" &&
|
||||
PKG_MESON_OPTS_TARGET+=" -Detnaviv=true" || PKG_MESON_OPTS_TARGET+=" -Detnaviv=false"
|
||||
|
||||
post_makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -a ${PKG_BUILD}/.${TARGET_NAME}/tests/modetest/modetest ${INSTALL}/usr/bin/
|
||||
# Remove all test programs installed by install-test-programs=true except modetest
|
||||
# Do not "not use" the ninja install and replace this with a simple "cp modetest"
|
||||
# as ninja strips the unnecessary build rpath during the install.
|
||||
safe_remove ${INSTALL}/usr/bin/amdgpu_stress
|
||||
safe_remove ${INSTALL}/usr/bin/drmdevice
|
||||
safe_remove ${INSTALL}/usr/bin/kms-steal-crtc
|
||||
safe_remove ${INSTALL}/usr/bin/kms-universal-planes
|
||||
safe_remove ${INSTALL}/usr/bin/modeprint
|
||||
safe_remove ${INSTALL}/usr/bin/proptest
|
||||
safe_remove ${INSTALL}/usr/bin/vbltest
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user