[U-Boot-Users] [PATCH 4/8] [Makefile] Sort COBJS in lib_<arch> Makefiles
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue Feb 26 08:06:25 CET 2008
On 18:35 Mon 25 Feb , Marian Balakowicz wrote:
> Signed-off-by: Marian Balakowicz <m8 at semihalf.com>
> ---
>
> lib_avr32/Makefile | 2 +-
> lib_blackfin/Makefile | 4 ++--
> lib_i386/Makefile | 4 ++--
> lib_m68k/Makefile | 2 +-
> lib_microblaze/Makefile | 2 +-
> lib_mips/Makefile | 2 +-
> lib_nios/Makefile | 2 +-
> lib_nios2/Makefile | 2 +-
> lib_ppc/Makefile | 5 ++---
> 9 files changed, 12 insertions(+), 13 deletions(-)
>
>
> diff --git a/lib_avr32/Makefile b/lib_avr32/Makefile
> index ebe237b..afbce45 100644
> --- a/lib_avr32/Makefile
> +++ b/lib_avr32/Makefile
> @@ -29,7 +29,7 @@ LIB = $(obj)lib$(ARCH).a
>
> SOBJS = memset.o
>
> -COBJS = board.o interrupts.o bootm.o
> +COBJS = board.o bootm.o interrupts.o
>
> SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
> OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
> diff --git a/lib_blackfin/Makefile b/lib_blackfin/Makefile
> index ac3fb28..4a262fc 100644
> --- a/lib_blackfin/Makefile
> +++ b/lib_blackfin/Makefile
> @@ -29,9 +29,9 @@ include $(TOPDIR)/config.mk
>
> LIB = $(obj)lib$(ARCH).a
>
> -SOBJS = memcpy.o memcmp.o memset.o memmove.o
> +SOBJS = memcmp.o memcpy.o memmove.o memset.o
>
> -COBJS = post.o tests.o board.o bootm.o bf533_string.o cache.o muldi3.o
> +COBJS = bf533_string.o board.o bootm.o cache.o muldi3.o post.o tests.o
>
It will be nice if you could split it in 1 line for 1 file as it
-SOBJS = memcpy.o memcmp.o memset.o memmove.o
+SOBJS += memcmp.o
+SOBJS += mmemcpy.o
+SOBJS += memmove.o
+SOBJS += memset.o
.....
> SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
> OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
> diff --git a/lib_i386/Makefile b/lib_i386/Makefile
Best regards,
J.
More information about the U-Boot
mailing list