mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-13 16:37:30 +00:00
de429d7b09
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>
22 lines
608 B
Makefile
22 lines
608 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2012 The Chromium Authors
|
|
|
|
ifneq ($(CONFIG_SANDBOX),)
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
|
|
endif
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
|
|
obj-$(CONFIG_$(SPL_)UT_COMPRESSION) += compression.o
|
|
obj-y += dm/
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
|
|
obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
|
|
obj-$(CONFIG_UT_TIME) += time_ut.o
|
|
obj-y += ut.o
|
|
|
|
ifeq ($(CONFIG_SPL_BUILD),)
|
|
obj-$(CONFIG_UNIT_TEST) += lib/
|
|
obj-y += log/
|
|
obj-$(CONFIG_$(SPL_)UT_UNICODE) += unicode_ut.o
|
|
endif
|