*-symbols-check: error out when using unset variables
It will make bugs like the one fixed with previous patch dead obvious. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>main
parent
660643e498
commit
99c3540dd4
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.am/libdrm_amdgpuinclude_HEADERS
|
# A list of the latter should be available Makefile.am/libdrm_amdgpuinclude_HEADERS
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.sources/LIBDRM_ETNAVIV_H_FILES
|
# A list of the latter should be available Makefile.sources/LIBDRM_ETNAVIV_H_FILES
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# 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
|
# A list of the latter should be available Makefile.am/libdrm_exynos*_HEADERS
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
|
# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.sources/LIBDRM_INTEL_H_FILES
|
# A list of the latter should be available Makefile.sources/LIBDRM_INTEL_H_FILES
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
|
# A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.sources/LIBDRM_NOUVEAU_H_FILES
|
# A list of the latter should be available Makefile.sources/LIBDRM_NOUVEAU_H_FILES
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.am/libdrm_omap*HEADERS
|
# A list of the latter should be available Makefile.am/libdrm_omap*HEADERS
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first five) are taken from the public headers.
|
# The following symbols (past the first five) are taken from the public headers.
|
||||||
# A list of the latter should be available Makefile.sources/LIBDRM_RADEON_H_FILES
|
# A list of the latter should be available Makefile.sources/LIBDRM_RADEON_H_FILES
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -u
|
||||||
|
|
||||||
# The following symbols (past the first nine) are taken from tegra.h.
|
# The following symbols (past the first nine) are taken from tegra.h.
|
||||||
|
|
||||||
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
|
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
|
||||||
|
|
Loading…
Reference in New Issue