* [U-Boot] [PATCH] ARM: Fix Makefile during SPL and TPL build
@ 2018-04-07 14:06 Marek Vasut
2018-04-11 20:59 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2018-04-07 14:06 UTC (permalink / raw)
To: u-boot
The tiny variants of memset and memcpy implementations can be
built for TPL as well, check whether a TPL build is in progress
and avoid including the default variants.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
---
arch/arm/lib/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index b5ffffd4e3..3d3085e917 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -41,8 +41,8 @@ obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
obj-$(CONFIG_SPL_FRAMEWORK) += zimage.o
obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o
endif
-obj-$(CONFIG_$(SPL_)USE_ARCH_MEMSET) += memset.o
-obj-$(CONFIG_$(SPL_)USE_ARCH_MEMCPY) += memcpy.o
+obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMSET) += memset.o
+obj-$(CONFIG_$(SPL_TPL_)USE_ARCH_MEMCPY) += memcpy.o
obj-$(CONFIG_SEMIHOSTING) += semihosting.o
obj-y += sections.o
--
2.16.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] ARM: Fix Makefile during SPL and TPL build
2018-04-07 14:06 [U-Boot] [PATCH] ARM: Fix Makefile during SPL and TPL build Marek Vasut
@ 2018-04-11 20:59 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-04-11 20:59 UTC (permalink / raw)
To: u-boot
On Sat, Apr 07, 2018 at 04:06:36PM +0200, Marek Vasut wrote:
> The tiny variants of memset and memcpy implementations can be
> built for TPL as well, check whether a TPL build is in progress
> and avoid including the default variants.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180411/3c567a57/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-11 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-07 14:06 [U-Boot] [PATCH] ARM: Fix Makefile during SPL and TPL build Marek Vasut
2018-04-11 20:59 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.