Skip to content
Snippets Groups Projects
Commit df13ec69 authored by Tom Rini's avatar Tom Rini
Browse files

lpc32xx: work_92105: Rework Makefile


When we switch to including all linker lists in SPL it is important
to not include commands as that may lead to link errors due to other
things we have already discarded.  In this case change things so that we
only build the right objects for SPL or non-SPL

Cc: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent ba524269
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
obj-y := work_92105.o work_92105_display.o
obj-$(CONFIG_SPL_BUILD) += work_92105_spl.o
ifdef CONFIG_SPL_BUILD
obj-y += work_92105_spl.o
else
obj-y += work_92105.o work_92105_display.o
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment