mesa: split lib and API (headers)

Issue #2507.
This commit is contained in:
Sebastian Sumpf 2017-08-21 14:22:58 +02:00 committed by Christian Helmuth
parent 89cb3aa238
commit b9bc48dd63
6 changed files with 8 additions and 3 deletions

View File

@ -1 +1 @@
INC_DIR += $(call select_from_ports,mesa)/src/lib/mesa/include
include $(call select_from_repositories,lib/import/import-mesa_api.mk)

View File

@ -0,0 +1 @@
INC_DIR += $(call select_from_ports,mesa)/include/mesa

View File

@ -1,5 +1,5 @@
SHARED_LIB = yes
LIBS = libc stdcxx expat glapi pthread
LIBS = libc stdcxx expat glapi pthread mesa_api
include $(REP_DIR)/lib/mk/mesa-common.inc

View File

@ -0,0 +1 @@
# stub mk file

View File

@ -1 +1 @@
d82577300e8dcb9b7ce5a5a8c16c5121e9f67cfc
599f6a13e280b5410f5b7e7730f571fd1a73037b

View File

@ -14,6 +14,9 @@ HASH_INPUT += $(REP_DIR)/src/lib/mesa/files.list
PATCHES := src/lib/mesa/patches/egl.patch
PATCH_OPT := -p1
DIRS := include/mesa
DIR_CONTENT(include/mesa) = $(wildcard src/lib/mesa/include/*)
#
# Check for tools
#