kumquat-buildroot/support
Thomas Petazzoni f4b2233c44 support/scripts/fix-rpath: exclude /lib/firmware in the target
The /lib/firmware directory contains random firmware for various
devices. It happens that some of them might be or appear to be ELF
files, but they shouldn't be checked by fix-rpath. For example, one of
the Qualcomm VPU firmware file appears to be an ELF file, but patchelf
isn't happy about it:

$ ./output/host/bin/patchelf --print-rpath output/target/lib/firmware/qcom/venus-4.2/venus.b00
patchelf: patchelf.cc:387: void ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym>::parse() [with Elf_Ehdr = Elf32_Ehdr; Elf_Phdr = Elf32_Phdr; Elf_Shdr = Elf32_Shdr; Elf_Addr = unsigned int; Elf_Off = unsigned int; Elf_Dyn = Elf32_Dyn; Elf_Sym = Elf32_Sym]: Assertion `shstrtabIndex < shdrs.size()' failed.
Aborted (core dumped)

Even though patchelf definitely shouldn't crash, it anyway doesn't
make sense to check ELF files in /lib/firmware, so let's exclude this
directory from our check.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 184cb52f6d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-04-30 22:17:55 +02:00
..
config-fragments support/config-fragments/autobuild: fix SSP in br-nios2-glibc 2018-04-06 20:07:44 +02:00
dependencies check-host-tar.sh: bump minimum tar version to 1.27 for reproducible tar files with long paths 2018-04-08 18:10:29 +02:00
docker support/dependencies: add check for c++ multilib 2018-02-06 17:21:09 +01:00
download support/download: svn non-interactive in BR2_SVN 2017-11-26 14:18:57 +01:00
gnuconfig
kconfig merge_config.sh: add br2-external support 2018-01-29 14:54:42 +01:00
legal-info legal-info: add hash for our own license file 2017-07-05 16:31:40 +02:00
libtool
misc Update for 2018.02 2018-03-04 22:28:34 +01:00
scripts support/scripts/fix-rpath: exclude /lib/firmware in the target 2018-04-30 22:17:55 +02:00
testing support/tests: enhance the runtime systemd tests 2018-03-04 21:10:23 +01:00