sync with OpenBSD -current
This commit is contained in:
parent
f3c6f98243
commit
4b49aefbb1
101 changed files with 911 additions and 672 deletions
11
lib/libdrm/etnaviv/Android.bp
Normal file
11
lib/libdrm/etnaviv/Android.bp
Normal file
|
@ -0,0 +1,11 @@
|
|||
build = ["Android.sources.bp"]
|
||||
|
||||
cc_library_shared {
|
||||
name: "libdrm_etnaviv",
|
||||
defaults: [
|
||||
"libdrm_defaults",
|
||||
"libdrm_etnaviv_sources",
|
||||
],
|
||||
vendor: true,
|
||||
shared_libs: ["libdrm"],
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# Import variables LIBDRM_ETNAVIV_FILES, LIBDRM_ETNAVIV_H_FILES
|
||||
include $(LOCAL_PATH)/Makefile.sources
|
||||
|
||||
LOCAL_MODULE := libdrm_etnaviv
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libdrm
|
||||
|
||||
LOCAL_SRC_FILES := $(LIBDRM_ETNAVIV_FILES)
|
||||
|
||||
include $(LIBDRM_COMMON_MK)
|
||||
include $(BUILD_SHARED_LIBRARY)
|
13
lib/libdrm/etnaviv/Android.sources.bp
Normal file
13
lib/libdrm/etnaviv/Android.sources.bp
Normal file
|
@ -0,0 +1,13 @@
|
|||
// Autogenerated with Android.sources.bp.mk
|
||||
|
||||
cc_defaults {
|
||||
name: "libdrm_etnaviv_sources",
|
||||
srcs: [
|
||||
"etnaviv_device.c",
|
||||
"etnaviv_gpu.c",
|
||||
"etnaviv_bo.c",
|
||||
"etnaviv_bo_cache.c",
|
||||
"etnaviv_pipe.c",
|
||||
"etnaviv_cmd_stream.c",
|
||||
],
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
LIBDRM_ETNAVIV_FILES := \
|
||||
etnaviv_device.c \
|
||||
etnaviv_gpu.c \
|
||||
etnaviv_bo.c \
|
||||
etnaviv_bo_cache.c \
|
||||
etnaviv_perfmon.c \
|
||||
etnaviv_pipe.c \
|
||||
etnaviv_cmd_stream.c \
|
||||
etnaviv_drm.h \
|
||||
etnaviv_priv.h
|
||||
|
||||
LIBDRM_ETNAVIV_H_FILES := \
|
||||
etnaviv_drmif.h
|
|
@ -25,8 +25,7 @@
|
|||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/types.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -33,7 +33,7 @@ libdrm_etnaviv = library(
|
|||
c_args : libdrm_c_args,
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
dependencies : [dep_threads, dep_rt, dep_atomic_ops],
|
||||
version : '1.0.0',
|
||||
version : '1.@0@.0'.format(patch_ver),
|
||||
install : true,
|
||||
)
|
||||
|
||||
|
@ -61,6 +61,6 @@ test(
|
|||
args : [
|
||||
'--lib', libdrm_etnaviv,
|
||||
'--symbols-file', files('etnaviv-symbols.txt'),
|
||||
'--nm', prog_nm.path(),
|
||||
'--nm', prog_nm.full_path(),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue