sync with OpenBSD -current
This commit is contained in:
parent
f3c6f98243
commit
4b49aefbb1
101 changed files with 911 additions and 672 deletions
12
lib/libdrm/omap/Android.bp
Normal file
12
lib/libdrm/omap/Android.bp
Normal file
|
@ -0,0 +1,12 @@
|
|||
build = ["Android.sources.bp"]
|
||||
|
||||
cc_library_shared {
|
||||
name: "libdrm_omap",
|
||||
defaults: [
|
||||
"libdrm_defaults",
|
||||
"libdrm_omap_sources",
|
||||
],
|
||||
vendor: true,
|
||||
|
||||
shared_libs: ["libdrm"],
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libdrm_omap
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
|
||||
LOCAL_SRC_FILES := omap_drm.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libdrm
|
||||
|
||||
include $(LIBDRM_COMMON_MK)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
8
lib/libdrm/omap/Android.sources.bp
Normal file
8
lib/libdrm/omap/Android.sources.bp
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Autogenerated with Android.sources.bp.mk
|
||||
|
||||
cc_defaults {
|
||||
name: "libdrm_omap_sources",
|
||||
srcs: [
|
||||
"omap_drm.c",
|
||||
],
|
||||
}
|
|
@ -26,7 +26,7 @@ libdrm_omap = library(
|
|||
gnu_symbol_visibility : 'hidden',
|
||||
link_with : libdrm,
|
||||
dependencies : [dep_threads, dep_atomic_ops],
|
||||
version : '1.0.0',
|
||||
version : '1.@0@.0'.format(patch_ver),
|
||||
install : true,
|
||||
)
|
||||
|
||||
|
@ -56,6 +56,6 @@ test(
|
|||
args : [
|
||||
'--lib', libdrm_omap,
|
||||
'--symbols-file', files('omap-symbols.txt'),
|
||||
'--nm', prog_nm.path(),
|
||||
'--nm', prog_nm.full_path(),
|
||||
],
|
||||
)
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/types.h>
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue