]> code.ossystems Code Review - openembedded-core.git/commit
security_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic
authorTom Rini <trini@konsulko.com>
Thu, 1 Feb 2018 14:16:56 +0000 (09:16 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Feb 2018 10:54:33 +0000 (10:54 +0000)
commit27fce6ec277788f8fad0c9799e784df80f791120
treeb790f3582d4cc812b1f4ae3081f9749f0b1c55f1
parent2ad3b8ae1c56a46bf14fc6bc4c34e4b3a568d741
security_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic

We need to ensure that all xorg modules are linked with
SECURITY_X_LDFLAGS to ensure that they will be able to resolve their run
time dependencies.  The approach of listing each driver in
security_flags.inc lets less frequently used drivers be run-time
broken.  Move the flag logic into xorg-driver-common.inc so that all
xorg modules from all layers will have the correct security flags used.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/security_flags.inc
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc