mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #6806 from SupervisedThinking/up_qa_checks
[le11] libdrm: fix QA issues by conditionally removing test programs
This commit is contained in:
commit
354884ab0e
@ -48,11 +48,13 @@ listcontains "${GRAPHIC_DRIVERS}" "etnaviv" &&
|
||||
|
||||
post_makeinstall_target() {
|
||||
# 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.
|
||||
for PKG_LIBDRM_TEST in \
|
||||
drmdevice modeprint proptest vbltest
|
||||
do
|
||||
safe_remove ${INSTALL}/usr/bin/${PKG_LIBDRM_TEST}
|
||||
done
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "radeonsi"; then
|
||||
safe_remove ${INSTALL}/usr/bin/amdgpu_stress
|
||||
safe_remove ${INSTALL}/usr/bin/drmdevice
|
||||
safe_remove ${INSTALL}/usr/bin/modeprint
|
||||
safe_remove ${INSTALL}/usr/bin/proptest
|
||||
safe_remove ${INSTALL}/usr/bin/vbltest
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user