Re: [U-Boot] [PATCH] zynq: ignore ps7_init.h

2014-05-08 Thread Masahiro Yamada
Hi Michal, > > obj-y := board.o > > obj-$(CONFIG_SPL_BUILD) += $(if $(wildcard > > $(srctree)/$(src)/ps7_init.c),ps7_init.o) > > If this is acceptable by others I am quite happy to use it > because it seems to me like a good way how to handle it. > > In future when everything is read

Re: [U-Boot] [PATCH] zynq: ignore ps7_init.h

2014-05-08 Thread Michal Simek
On 05/08/2014 11:21 AM, Masahiro Yamada wrote: > Hi Michal, > >> >> Here is just one question if we should also ignore ps7_init.c too. >> It means move current ps7_init weak function to spl.c in mach-zynq >> and just compile ps7_init.c in board file if it is available there. >> >> Is there any nic

Re: [U-Boot] [PATCH] zynq: ignore ps7_init.h

2014-05-08 Thread Masahiro Yamada
Hi Michal, > > Here is just one question if we should also ignore ps7_init.c too. > It means move current ps7_init weak function to spl.c in mach-zynq > and just compile ps7_init.c in board file if it is available there. > > Is there any nice hook in Kbuild to compile file if it is available? >

Re: [U-Boot] [PATCH] zynq: ignore ps7_init.h

2014-05-08 Thread Michal Simek
On 05/08/2014 10:13 AM, Masahiro Yamada wrote: > ps_init.h should be ignored because it is supposed to > be copied from an external project. > > Signed-off-by: Masahiro Yamada > Cc: Michal Simek > --- > board/xilinx/zynq/.gitignore | 1 + > 1 file changed, 1 insertion(+) > create mode 100644 b