diff options
author | Tom Rini <trini@konsulko.com> | 2016-03-16 09:56:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-16 15:03:40 -0400 |
commit | df13ec696ef61ed575950e4e071d220711afbe4e (patch) | |
tree | dc6e5ff9fe3f7f4802621e41594a69e2ae9278a5 /board | |
parent | ba52426975e3fbdcf0f9a942a9883af952abb9e0 (diff) |
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: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/work-microwave/work_92105/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/board/work-microwave/work_92105/Makefile b/board/work-microwave/work_92105/Makefile index ba31c8e4f4..e26c6737ee 100644 --- a/board/work-microwave/work_92105/Makefile +++ b/board/work-microwave/work_92105/Makefile @@ -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 |