Commit a0b14c3f0a94ecb4d8210a249d25fdf37185f39b

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 4a20df395d

nand-spl: Use scripts/Makefile.build

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 13 changed files with 2 additions and 112 deletions Side-by-side Diff

... ... @@ -567,7 +567,7 @@
567 567 $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$< >$@
568 568  
569 569 nand_spl: $(TIMESTAMP_FILE) $(VERSION_FILE) depend
570   - $(MAKE) -C nand_spl/board/$(BOARDDIR) all
  570 + $(MAKE) $(build) nand_spl/board/$(BOARDDIR) all
571 571  
572 572 $(obj)u-boot-nand.bin: nand_spl $(obj)u-boot.bin
573 573 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
nand_spl/board/amcc/acadia/Makefile
... ... @@ -5,7 +5,6 @@
5 5 # SPDX-License-Identifier: GPL-2.0+
6 6 #
7 7  
8   -include $(TOPDIR)/config.mk
9 8 include $(TOPDIR)/nand_spl/board/$(BOARDDIR)/config.mk
10 9  
11 10 nandobj := $(OBJTREE)/nand_spl/
... ... @@ -94,11 +93,4 @@
94 93  
95 94 $(obj)%.o: $(obj)%.c
96 95 $(CC) $(CFLAGS) -c -o $@ $<
97   -
98   -# defines $(obj).depend target
99   -include $(SRCTREE)/rules.mk
100   -
101   -sinclude $(obj).depend
102   -
103   -#########################################################################
nand_spl/board/amcc/bamboo/Makefile
... ... @@ -5,7 +5,6 @@
5 5 # SPDX-License-Identifier: GPL-2.0+
6 6 #
7 7  
8   -include $(TOPDIR)/config.mk
9 8 include $(TOPDIR)/nand_spl/board/$(BOARDDIR)/config.mk
10 9  
11 10 nandobj := $(OBJTREE)/nand_spl/
... ... @@ -82,11 +81,4 @@
82 81  
83 82 $(obj)%.o: $(obj)%.c
84 83 $(CC) $(CFLAGS) -c -o $@ $<
85   -
86   -# defines $(obj).depend target
87   -include $(SRCTREE)/rules.mk
88   -
89   -sinclude $(obj).depend
90   -
91   -#########################################################################
nand_spl/board/amcc/canyonlands/Makefile
... ... @@ -5,7 +5,6 @@
5 5 # SPDX-License-Identifier: GPL-2.0+
6 6 #
7 7  
8   -include $(TOPDIR)/config.mk
9 8 include $(TOPDIR)/nand_spl/board/$(BOARDDIR)/config.mk
10 9  
11 10 nandobj := $(OBJTREE)/nand_spl/
... ... @@ -87,11 +86,4 @@
87 86  
88 87 $(obj)%.o: $(obj)%.c
89 88 $(CC) $(CFLAGS) -c -o $@ $<
90   -
91   -# defines $(obj).depend target
92   -include $(SRCTREE)/rules.mk
93   -
94   -sinclude $(obj).depend
95   -
96   -#########################################################################
nand_spl/board/amcc/kilauea/Makefile
... ... @@ -5,7 +5,6 @@
5 5 # SPDX-License-Identifier: GPL-2.0+
6 6 #
7 7  
8   -include $(TOPDIR)/config.mk
9 8 include $(TOPDIR)/nand_spl/board/$(BOARDDIR)/config.mk
10 9  
11 10 nandobj := $(OBJTREE)/nand_spl/
... ... @@ -83,11 +82,4 @@
83 82  
84 83 $(obj)%.o: $(obj)%.c
85 84 $(CC) $(CFLAGS) -c -o $@ $<
86   -
87   -# defines $(obj).depend target
88   -include $(SRCTREE)/rules.mk
89   -
90   -sinclude $(obj).depend
91   -
92   -#########################################################################
nand_spl/board/amcc/sequoia/Makefile
... ... @@ -5,7 +5,6 @@
5 5 # SPDX-License-Identifier: GPL-2.0+
6 6 #
7 7  
8   -include $(TOPDIR)/config.mk
9 8 include $(TOPDIR)/nand_spl/board/$(BOARDDIR)/config.mk
10 9  
11 10 nandobj := $(OBJTREE)/nand_spl/
... ... @@ -86,11 +85,4 @@
86 85  
87 86 $(obj)%.o: $(obj)%.c
88 87 $(CC) $(CFLAGS) -c -o $@ $<
89   -
90   -# defines $(obj).depend target
91   -include $(SRCTREE)/rules.mk
92   -
93   -sinclude $(obj).depend
94   -
95   -#########################################################################
nand_spl/board/freescale/mpc8315erdb/Makefile
... ... @@ -6,11 +6,8 @@
6 6 # SPDX-License-Identifier: GPL-2.0+
7 7 #
8 8  
9   -NAND_SPL := y
10 9 PAD_TO := 0xfff04000
11 10  
12   -include $(TOPDIR)/config.mk
13   -
14 11 nandobj := $(OBJTREE)/nand_spl/
15 12  
16 13 LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
... ... @@ -79,11 +76,4 @@
79 76  
80 77 $(obj)%.o: $(obj)%.c
81 78 $(CC) $(CFLAGS) -c -o $@ $<
82   -
83   -# defines $(obj).depend target
84   -include $(SRCTREE)/rules.mk
85   -
86   -sinclude $(obj).depend
87   -
88   -#########################################################################
nand_spl/board/freescale/mpc8536ds/Makefile
... ... @@ -7,12 +7,9 @@
7 7 # SPDX-License-Identifier: GPL-2.0+
8 8 #
9 9  
10   -NAND_SPL := y
11 10 CONFIG_SYS_TEXT_BASE_SPL := 0xfff00000
12 11 PAD_TO := 0xfff01000
13 12  
14   -include $(TOPDIR)/config.mk
15   -
16 13 nandobj := $(OBJTREE)/nand_spl/
17 14  
18 15 LDSCRIPT= $(TOPDIR)/$(CPUDIR)/u-boot-nand_spl.lds
... ... @@ -109,11 +106,4 @@
109 106  
110 107 $(obj)%.o: $(obj)%.c
111 108 $(CC) $(CFLAGS) -c -o $@ $<
112   -
113   -# defines $(obj).depend target
114   -include $(SRCTREE)/rules.mk
115   -
116   -sinclude $(obj).depend
117   -
118   -#########################################################################
nand_spl/board/freescale/mpc8569mds/Makefile
... ... @@ -7,12 +7,9 @@
7 7 # SPDX-License-Identifier: GPL-2.0+
8 8 #
9 9  
10   -NAND_SPL := y
11 10 CONFIG_SYS_TEXT_BASE_SPL := 0xfff00000
12 11 PAD_TO := 0xfff01000
13 12  
14   -include $(TOPDIR)/config.mk
15   -
16 13 nandobj := $(OBJTREE)/nand_spl/
17 14  
18 15 LDSCRIPT= $(TOPDIR)/$(CPUDIR)/u-boot-nand_spl.lds
... ... @@ -109,11 +106,4 @@
109 106  
110 107 $(obj)%.o: $(obj)%.c
111 108 $(CC) $(CFLAGS) -c -o $@ $<
112   -
113   -# defines $(obj).depend target
114   -include $(SRCTREE)/rules.mk
115   -
116   -sinclude $(obj).depend
117   -
118   -#########################################################################
nand_spl/board/freescale/mpc8572ds/Makefile
... ... @@ -7,12 +7,9 @@
7 7 # SPDX-License-Identifier: GPL-2.0+
8 8 #
9 9  
10   -NAND_SPL := y
11 10 CONFIG_SYS_TEXT_BASE_SPL := 0xfff00000
12 11 PAD_TO := 0xfff01000
13 12  
14   -include $(TOPDIR)/config.mk
15   -
16 13 nandobj := $(OBJTREE)/nand_spl/
17 14  
18 15 LDSCRIPT= $(TOPDIR)/$(CPUDIR)/u-boot-nand_spl.lds
... ... @@ -109,11 +106,4 @@
109 106  
110 107 $(obj)%.o: $(obj)%.c
111 108 $(CC) $(CFLAGS) -c -o $@ $<
112   -
113   -# defines $(obj).depend target
114   -include $(SRCTREE)/rules.mk
115   -
116   -sinclude $(obj).depend
117   -
118   -#########################################################################
nand_spl/board/freescale/p1023rds/Makefile
... ... @@ -3,11 +3,9 @@
3 3 #
4 4 # SPDX-License-Identifier: GPL-2.0+
5 5 #
6   -NAND_SPL := y
  6 +
7 7 PAD_TO := 0xfff01000
8 8  
9   -include $(TOPDIR)/config.mk
10   -
11 9 nandobj := $(OBJTREE)/nand_spl/
12 10  
13 11 LDSCRIPT= $(TOPDIR)/$(CPUDIR)/u-boot-nand_spl.lds
... ... @@ -104,11 +102,4 @@
104 102  
105 103 $(obj)%.o: $(obj)%.c
106 104 $(CC) $(CFLAGS) -c -o $@ $<
107   -
108   -# defines $(obj).depend target
109   -include $(SRCTREE)/rules.mk
110   -
111   -sinclude $(obj).depend
112   -
113   -#########################################################################
nand_spl/board/freescale/p1_p2_rdb/Makefile
... ... @@ -7,12 +7,9 @@
7 7 # SPDX-License-Identifier: GPL-2.0+
8 8 #
9 9  
10   -NAND_SPL := y
11 10 CONFIG_SYS_TEXT_BASE_SPL := 0xfff00000
12 11 PAD_TO := 0xfff01000
13 12  
14   -include $(TOPDIR)/config.mk
15   -
16 13 nandobj := $(OBJTREE)/nand_spl/
17 14  
18 15 LDSCRIPT= $(TOPDIR)/$(CPUDIR)/u-boot-nand_spl.lds
... ... @@ -109,11 +106,4 @@
109 106  
110 107 $(obj)%.o: $(obj)%.c
111 108 $(CC) $(CFLAGS) -c -o $@ $<
112   -
113   -# defines $(obj).depend target
114   -include $(SRCTREE)/rules.mk
115   -
116   -sinclude $(obj).depend
117   -
118   -#########################################################################
nand_spl/board/sheldon/simpc8313/Makefile
... ... @@ -7,10 +7,6 @@
7 7 # SPDX-License-Identifier: GPL-2.0+
8 8 #
9 9  
10   -NAND_SPL := y
11   -
12   -include $(TOPDIR)/config.mk
13   -
14 10 nandobj := $(OBJTREE)/nand_spl/
15 11  
16 12 LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
... ... @@ -88,11 +84,4 @@
88 84  
89 85 $(obj)%.o: $(obj)%.c
90 86 $(CC) $(CFLAGS) -c -o $@ $<
91   -
92   -# defines $(obj).depend target
93   -include $(SRCTREE)/rules.mk
94   -
95   -sinclude $(obj).depend
96   -
97   -#########################################################################