exynos: convert to new symbols check
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>main
parent
ff832d734b
commit
2763cd390e
|
@ -1,42 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -u
|
||||
|
||||
# The following symbols (past the first five) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.am/libdrm_exynos*_HEADERS
|
||||
|
||||
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_exynos.so} | awk '{print $3}'| while read func; do
|
||||
( grep -q "^$func$" || echo $func ) <<EOF
|
||||
__bss_start
|
||||
_edata
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
exynos_bo_create
|
||||
exynos_bo_destroy
|
||||
exynos_bo_from_name
|
||||
exynos_bo_get_info
|
||||
exynos_bo_get_name
|
||||
exynos_bo_handle
|
||||
exynos_bo_map
|
||||
exynos_device_create
|
||||
exynos_device_destroy
|
||||
exynos_prime_fd_to_handle
|
||||
exynos_prime_handle_to_fd
|
||||
exynos_vidi_connection
|
||||
exynos_handle_event
|
||||
g2d_blend
|
||||
g2d_copy
|
||||
g2d_copy_with_scale
|
||||
g2d_exec
|
||||
g2d_config_event
|
||||
g2d_fini
|
||||
g2d_init
|
||||
g2d_move
|
||||
g2d_scale_and_blend
|
||||
g2d_solid_fill
|
||||
EOF
|
||||
done)
|
||||
|
||||
test ! -n "$FUNCS" || echo $FUNCS
|
||||
test ! -n "$FUNCS"
|
|
@ -0,0 +1,23 @@
|
|||
exynos_bo_create
|
||||
exynos_bo_destroy
|
||||
exynos_bo_from_name
|
||||
exynos_bo_get_info
|
||||
exynos_bo_get_name
|
||||
exynos_bo_handle
|
||||
exynos_bo_map
|
||||
exynos_device_create
|
||||
exynos_device_destroy
|
||||
exynos_prime_fd_to_handle
|
||||
exynos_prime_handle_to_fd
|
||||
exynos_vidi_connection
|
||||
exynos_handle_event
|
||||
g2d_blend
|
||||
g2d_copy
|
||||
g2d_copy_with_scale
|
||||
g2d_exec
|
||||
g2d_config_event
|
||||
g2d_fini
|
||||
g2d_init
|
||||
g2d_move
|
||||
g2d_scale_and_blend
|
||||
g2d_solid_fill
|
|
@ -47,8 +47,11 @@ pkg.generate(
|
|||
)
|
||||
|
||||
test(
|
||||
'exynos-symbol-check',
|
||||
find_program('exynos-symbol-check'),
|
||||
env : env_test,
|
||||
args : libdrm_exynos,
|
||||
'exynos-symbols-check',
|
||||
symbols_check,
|
||||
args : [
|
||||
'--lib', libdrm_exynos,
|
||||
'--symbols-file', files('exynos-symbols.txt'),
|
||||
'--nm', prog_nm.path(),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue