mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 20:58:04 +02:00
Android: move libraries to /vendor
As part of Treble project in Android O, all the device specific files have to be located in a separate vendor partition. This is done by setting LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not break existing platforms without a vendor partition as it will just move files to /system/vendor. Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
6f5abf3146
commit
c3f75d483c
1 changed files with 3 additions and 2 deletions
|
|
@ -97,8 +97,9 @@ LOCAL_CFLAGS += -DHAVE_LIBDRM
|
||||||
LOCAL_SHARED_LIBRARIES += libdrm
|
LOCAL_SHARED_LIBRARIES += libdrm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_CFLAGS_32 += -DDEFAULT_DRIVER_DIR=\"/system/lib/$(MESA_DRI_MODULE_REL_PATH)\"
|
LOCAL_CFLAGS_32 += -DDEFAULT_DRIVER_DIR=\"/vendor/lib/$(MESA_DRI_MODULE_REL_PATH)\"
|
||||||
LOCAL_CFLAGS_64 += -DDEFAULT_DRIVER_DIR=\"/system/lib64/$(MESA_DRI_MODULE_REL_PATH)\"
|
LOCAL_CFLAGS_64 += -DDEFAULT_DRIVER_DIR=\"/vendor/lib64/$(MESA_DRI_MODULE_REL_PATH)\"
|
||||||
|
LOCAL_PROPRIETARY_MODULE := true
|
||||||
|
|
||||||
# uncomment to keep the debug symbols
|
# uncomment to keep the debug symbols
|
||||||
#LOCAL_STRIP_MODULE := false
|
#LOCAL_STRIP_MODULE := false
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue