From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] board: powerpc: convert more makefiles to Kbuild style
Date: Mon, 4 Nov 2013 09:16:41 -0500 [thread overview]
Message-ID: <20131104141641.GD5925@bill-the-cat> (raw)
In-Reply-To: <1383315986-11517-1-git-send-email-trini@ti.com>
On Fri, Nov 01, 2013 at 10:26:26AM -0400, Tom Rini wrote:
> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Wolfgang Denk <wd@denx.de>
> Cc: Kim Phillips <kim.phillips@freescale.com>
> Cc: York Sun <yorksun@freescale.com>
> Signed-off-by: Tom Rini <trini@ti.com>
> ---
> board/freescale/t1040qds/Makefile | 36 +++++-------------------------------
> board/keymile/kmp204x/Makefile | 21 +--------------------
> 2 files changed, 6 insertions(+), 51 deletions(-)
>
> diff --git a/board/freescale/t1040qds/Makefile b/board/freescale/t1040qds/Makefile
> index 8f0057b..a2dba6f 100644
> --- a/board/freescale/t1040qds/Makefile
> +++ b/board/freescale/t1040qds/Makefile
> @@ -4,34 +4,8 @@
> # SPDX-License-Identifier: GPL-2.0+
> #
>
> -include $(TOPDIR)/config.mk
> -
> -LIB = $(obj)lib$(BOARD).o
> -
> -COBJS-y += $(BOARD).o
> -COBJS-y += ddr.o
> -COBJS-$(CONFIG_PCI) += pci.o
> -COBJS-y += law.o
> -COBJS-y += tlb.o
> -
> -SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
> -OBJS := $(addprefix $(obj),$(COBJS-y))
> -SOBJS := $(addprefix $(obj),$(SOBJS))
> -
> -$(LIB): $(obj).depend $(OBJS) $(SOBJS)
> - $(call cmd_link_o_target, $(OBJS))
> -
> -clean:
> - rm -f $(OBJS) $(SOBJS)
> -
> -distclean: clean
> - rm -f $(LIB) core *.bak .depend
> -
> -#########################################################################
> -
> -# defines $(obj).depend target
> -include $(SRCTREE)/rules.mk
> -
> -sinclude $(obj).depend
> -
> -#########################################################################
> +obj-y += $(BOARD).o
> +obj-y += ddr.o
> +obj-$(CONFIG_PCI) += pci.o
> +obj-y += law.o
> +obj-y += tlb.o
> diff --git a/board/keymile/kmp204x/Makefile b/board/keymile/kmp204x/Makefile
> index 35d17ce..1fdb346 100644
> --- a/board/keymile/kmp204x/Makefile
> +++ b/board/keymile/kmp204x/Makefile
> @@ -21,28 +21,9 @@
> # MA 02111-1307 USA
> #
>
> -include $(TOPDIR)/config.mk
> ifneq ($(OBJTREE),$(SRCTREE))
> $(shell mkdir -p $(obj)../common)
> endif
>
> -LIB = $(obj)lib$(BOARD).o
> -
> -COBJS := $(BOARD).o ddr.o eth.o tlb.o pci.o law.o \
> +obj-y := $(BOARD).o ddr.o eth.o tlb.o pci.o law.o \
> ../common/common.o ../common/ivm.o
> -
> -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
> -OBJS := $(addprefix $(obj),$(COBJS))
> -SOBJS := $(addprefix $(obj),$(SOBJS))
> -
> -$(LIB): $(obj).depend $(OBJS)
> - $(call cmd_link_o_target, $(OBJS))
> -
> -#########################################################################
> -
> -# defines $(obj).depend target
> -include $(SRCTREE)/rules.mk
> -
> -sinclude $(obj).depend
> -
> -#########################################################################
Applied to u-boot/master.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131104/89b00fc6/attachment.pgp>
next prev parent reply other threads:[~2013-11-04 14:16 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-21 2:53 [U-Boot] [PATCH 00/18] Third step towards Kbuild: Convert rest of makefiles Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 01/18] sparc: fix a link error Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 02/18] sh: Do not include start.o in lib$(CPU).o Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 03/18] sparc: convert makefiles to Kbuild style Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 04/18] sh: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 05/18] avr32: " Masahiro Yamada
2013-11-04 14:13 ` Andreas Bießmann
2013-10-21 2:53 ` [U-Boot] [PATCH 06/18] openrisc: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 07/18] microblaze: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 08/18] mips: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 09/18] nds32: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 10/18] nios2: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 11/18] x86: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 12/18] m68k: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 13/18] blackfin: " Masahiro Yamada
2013-10-22 7:30 ` Sonic Zhang
2013-10-22 7:51 ` Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 14/18] board: arm: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 15/18] board: powerpc: " Masahiro Yamada
2013-11-01 14:26 ` [U-Boot] [PATCH] board: powerpc: convert more " Tom Rini
2013-11-04 14:16 ` Tom Rini [this message]
2013-10-21 2:53 ` [U-Boot] [PATCH 16/18] post: convert " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 17/18] dts, api, test: " Masahiro Yamada
2013-10-21 2:53 ` [U-Boot] [PATCH 18/18] Makefile: convert makefiles to Kbuild style and delete grep switch Masahiro Yamada
2013-10-27 16:15 ` [U-Boot] [PATCH 00/18] Third step towards Kbuild: Convert rest of makefiles Marek Vasut
2013-11-04 13:06 ` Andreas Bießmann
2013-11-04 14:16 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131104141641.GD5925@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox