Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-21 Thread Simon Glass
Hi Masahiro, On Sun, Oct 20, 2013 at 10:56 PM, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello, Simon. Would looking for obj- be better or worse? At first I thought of this but I was kind of worried whether all makefiles should forcibly have obj-y or obj-.

Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-20 Thread Masahiro Yamada
Hello, Simon. Would looking for obj- be better or worse? At first I thought of this but I was kind of worried whether all makefiles should forcibly have obj-y or obj-. arch/arm/cpu/armv7/tegra114/ arch/arm/cpu/armv7/tegra30/ directories have no source files but only a Makefile.

Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-04 Thread Masahiro Yamada
Hello Simon +# Tentative step for Kbuild-style makefiles coexist with conventional U-Boot style makefiles +# U-Boot conventional sub makefiles always include some other makefiles. +# So, the build system searches a line beginning with include before entering into the sub makefile

Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-04 Thread Simon Glass
Hi Masahiro, On Fri, Oct 4, 2013 at 3:59 AM, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello Simon +# Tentative step for Kbuild-style makefiles coexist with conventional U-Boot style makefiles +# U-Boot conventional sub makefiles always include some other makefiles. +# So,

Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-03 Thread Simon Glass
Hi, On Thu, Sep 26, 2013 at 5:51 AM, Masahiro Yamada yamad...@jp.panasonic.comwrote: In every sub directory, Makefile is like follows: include $(TOPDIR)/config.mk LIB = $(obj)libfoo.o COBJS := ... COBJS += ... SOBJS := ... SRCS:= $(SOBJS:.o=.S)

[U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-09-26 Thread Masahiro Yamada
In every sub directory, Makefile is like follows: include $(TOPDIR)/config.mk LIB = $(obj)libfoo.o COBJS := ... COBJS += ... SOBJS := ... SRCS:= $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS:= $(addprefix $(obj),$(COBJS) $(SOBJS)) all: $(obj).depend $(LIB)