mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 10:54:37 +00:00

Use XPL_ as the symbol to indicate an SPL build. This means that SPL_ is no-longer set. Signed-off-by: Simon Glass <sjg@chromium.org>
35 lines
904 B
Makefile
35 lines
904 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2012 The Chromium Authors
|
|
|
|
obj-y += test-main.o
|
|
|
|
ifneq ($(CONFIG_$(XPL_)BLOBLIST),)
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += bloblist.o
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o
|
|
endif
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += cmd_ut.o
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += command_ut.o
|
|
obj-$(CONFIG_$(XPL_)UT_COMPRESSION) += compression.o
|
|
obj-y += dm/
|
|
obj-$(CONFIG_FUZZ) += fuzz/
|
|
ifndef CONFIG_SANDBOX_VPL
|
|
obj-$(CONFIG_UNIT_TEST) += lib/
|
|
endif
|
|
ifneq ($(CONFIG_HUSH_PARSER),)
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += hush/
|
|
endif
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += print_ut.o
|
|
obj-$(CONFIG_$(XPL_)CMDLINE) += str_ut.o
|
|
obj-$(CONFIG_UT_TIME) += time_ut.o
|
|
obj-y += ut.o
|
|
|
|
ifeq ($(CONFIG_XPL_BUILD),)
|
|
obj-y += boot/
|
|
obj-$(CONFIG_UNIT_TEST) += common/
|
|
obj-y += log/
|
|
obj-$(CONFIG_$(XPL_)UT_UNICODE) += unicode_ut.o
|
|
else
|
|
obj-$(CONFIG_SPL_UT_LOAD) += image/
|
|
endif
|