]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: linking test/compression.c fails
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 31 Oct 2020 07:59:25 +0000 (08:59 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 16:11:31 +0000 (09:11 -0700)
commitde429d7b0962a91f91bbe921600745fb4608ece0
treedeb9f88fb1f6f5040e2eeac232dfa677b6768f96
parentc961b1b594df3a9099afb425d46e820e07dfc315
test: linking test/compression.c fails

Building U-Boot with unit tests on a non-sandbox systems fails:

ld.bfd: test/built-in.o: in function `compress_using_gzip':
test/compression.c:138: undefined reference to `gzip'
ld.bfd: test/built-in.o: in function `uncompress_using_bzip2':
test/compression.c:187: undefined reference to `BZ2_bzBuffToBuffDecompress'
ld.bfd: test/built-in.o: in function `uncompress_using_lzma':
test/compression.c:222: undefined reference to `lzmaBuffToBuffDecompress'
ld.bfd: test/built-in.o: in function `uncompress_using_lzo':
test/compression.c:257: undefined reference to `lzop_decompress'
ld.bfd: test/built-in.o: in function `uncompress_using_lz4':
test/compression.c:292: undefined reference to `ulz4fn

Add the missing dependencies.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/Kconfig
test/Makefile