Skip to content

Commit

Permalink
Makefile: make directories by Makefile.build
Browse files Browse the repository at this point in the history
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y authored and trini committed Nov 17, 2013
1 parent 36cf0a8 commit e5c5301
Show file tree
Hide file tree
Showing 68 changed files with 7 additions and 247 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/cpu/mpc512x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

$(shell mkdir -p $(OBJTREE)/board/freescale/common)

extra-y = start.o
obj-y := cpu.o
obj-y += traps.o
Expand Down
4 changes: 0 additions & 4 deletions arch/powerpc/cpu/mpc824x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)drivers/epic $(obj)drivers/i2c)
endif

extra-y = start.o
obj-y = traps.o cpu.o cpu_init.o interrupts.o speed.o \
drivers/epic/epic1.o drivers/i2c/i2c.o pci.o
Expand Down
4 changes: 0 additions & 4 deletions board/LaCie/edminiv2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y := edminiv2.o ../common/common.o
4 changes: 0 additions & 4 deletions board/LaCie/net2big_v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y := net2big_v2.o ../common/common.o
ifneq ($(and $(CONFIG_KIRKWOOD_GPIO),$(CONFIG_NET2BIG_V2)),)
obj-y += ../common/cpld-gpio-bus.o
Expand Down
4 changes: 0 additions & 4 deletions board/LaCie/netspace_v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y := netspace_v2.o ../common/common.o
4 changes: 0 additions & 4 deletions board/LaCie/wireless_space/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y := wireless_space.o ../common/common.o
4 changes: 0 additions & 4 deletions board/Marvell/db64360/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = db64360.o ../common/flash.o ../common/serial.o ../common/memory.o pci.o \
mv_eth.o ../common/ns16550.o mpsc.o ../common/i2c.o \
sdram_init.o ../common/intel_flash.o ../common/misc.o
4 changes: 0 additions & 4 deletions board/Marvell/db64460/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y += db64460.o ../common/flash.o ../common/serial.o ../common/memory.o pci.o \
mv_eth.o ../common/ns16550.o mpsc.o ../common/i2c.o \
sdram_init.o ../common/intel_flash.o ../common/misc.o
4 changes: 0 additions & 4 deletions board/altera/nios2-generic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y := nios2-generic.o
obj-$(CONFIG_CMD_IDE) += ../common/cfide.o
obj-$(CONFIG_EPLED) += ../common/epled.o
Expand Down
2 changes: 0 additions & 2 deletions board/avionic-design/medcom-wide/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)

obj-y := ../common/tamonten.o

include ../../nvidia/common/common.mk
2 changes: 0 additions & 2 deletions board/avionic-design/plutux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)

obj-y := ../common/tamonten.o

include ../../nvidia/common/common.mk
2 changes: 0 additions & 2 deletions board/avionic-design/tec/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)

obj-y := ../common/tamonten.o

include ../../nvidia/common/common.mk
2 changes: 0 additions & 2 deletions board/compal/paz00/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# more details.
#

$(shell mkdir -p $(obj)../../nvidia/common)

obj-y := paz00.o

include ../../nvidia/common/common.mk
2 changes: 0 additions & 2 deletions board/compulab/trimslice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

$(shell mkdir -p $(obj)../../nvidia/common)

obj-y := trimslice.o

include ../../nvidia/common/common.mk
4 changes: 0 additions & 4 deletions board/emk/top5200/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y := top5200.o ../common/flash.o ../common/vpd.o ../common/am79c874.o
3 changes: 0 additions & 3 deletions board/emk/top860/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif
obj-y = top860.o ../common/flash.o ../common/vpd.o ../common/am79c874.o
4 changes: 0 additions & 4 deletions board/esd/adciop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = adciop.o flash.o ../common/misc.o ../common/pci.o
4 changes: 0 additions & 4 deletions board/esd/apc405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = apc405.o \
../common/misc.o \
../common/auto_update.o
4 changes: 0 additions & 4 deletions board/esd/ar405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = ar405.o flash.o ../common/misc.o
4 changes: 0 additions & 4 deletions board/esd/ash405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = ash405.o flash.o \
../common/misc.o \
../common/esd405ep_nand.o \
4 changes: 0 additions & 4 deletions board/esd/cms700/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common/xilinx_jtag)
endif

# Objects for Xilinx JTAG programming (CPLD)
CPLD = ../common/xilinx_jtag/lenval.o \
../common/xilinx_jtag/micro.o \
Expand Down
4 changes: 0 additions & 4 deletions board/esd/cpci2dp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = cpci2dp.o flash.o ../common/misc.o ../common/cmd_loadpci.o
4 changes: 0 additions & 4 deletions board/esd/cpci405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = cpci405.o flash.o ../common/misc.o ../common/auto_update.o
obj-y += ../common/cmd_loadpci.o
4 changes: 0 additions & 4 deletions board/esd/cpci5200/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

# ifneq ($(OBJTREE),$(SRCTREE))
# $(shell mkdir -p $(obj)../common/xilinx_jtag)
# endif

# Objects for Xilinx JTAG programming (CPLD)
# CPLD = ../common/xilinx_jtag/lenval.o \
# ../common/xilinx_jtag/micro.o \
Expand Down
4 changes: 0 additions & 4 deletions board/esd/cpci750/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../../Marvell/common)
endif

obj-y = misc.o
obj-y += cpci750.o serial.o ../../Marvell/common/memory.o pci.o \
mv_eth.o mpsc.o i2c.o \
Expand Down
4 changes: 0 additions & 4 deletions board/esd/cpciiser4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = cpciiser4.o flash.o ../common/misc.o
4 changes: 0 additions & 4 deletions board/esd/dasa_sim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = dasa_sim.o flash.o cmd_dasa_sim.o eeprom.o ../common/pci.o
4 changes: 0 additions & 4 deletions board/esd/dp405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common/xilinx_jtag)
endif

# Objects for Xilinx JTAG programming (CPLD)
CPLD = ../common/xilinx_jtag/lenval.o \
../common/xilinx_jtag/micro.o \
Expand Down
4 changes: 0 additions & 4 deletions board/esd/du405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = du405.o flash.o ../common/misc.o
4 changes: 0 additions & 4 deletions board/esd/hh405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = hh405.o flash.o \
../common/misc.o \
../common/esd405ep_nand.o \
Expand Down
4 changes: 0 additions & 4 deletions board/esd/hub405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = hub405.o flash.o \
../common/misc.o \
../common/esd405ep_nand.o \
4 changes: 0 additions & 4 deletions board/esd/ocrtc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = ocrtc.o flash.o ../common/misc.o cmd_ocrtc.o
4 changes: 0 additions & 4 deletions board/esd/pci405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = pci405.o flash.o ../common/misc.o cmd_pci405.o
obj-y += writeibm.o
4 changes: 0 additions & 4 deletions board/esd/pf5200/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

# ifneq ($(OBJTREE),$(SRCTREE))
# $(shell mkdir -p $(obj)../common/xilinx_jtag)
# endif

# Objects for Xilinx JTAG programming (CPLD)
# CPLD = ../common/xilinx_jtag/lenval.o \
# ../common/xilinx_jtag/micro.o \
Expand Down
4 changes: 0 additions & 4 deletions board/esd/plu405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = plu405.o flash.o \
../common/misc.o \
../common/esd405ep_nand.o \
4 changes: 0 additions & 4 deletions board/esd/pmc405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common/xilinx_jtag)
endif

# Objects for Xilinx JTAG programming (CPLD)
CPLD = ../common/xilinx_jtag/lenval.o \
../common/xilinx_jtag/micro.o \
Expand Down
4 changes: 0 additions & 4 deletions board/esd/pmc405de/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = pmc405de.o
obj-$(CONFIG_CMD_CHIP_CONFIG) += chip_config.o
obj-y += ../common/cmd_loadpci.o
4 changes: 0 additions & 4 deletions board/esd/pmc440/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = pmc440.o cmd_pmc440.o sdram.o fpga.o \
../common/cmd_loadpci.o
extra-y += init.o
4 changes: 0 additions & 4 deletions board/esd/voh405/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#

ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif

obj-y = voh405.o flash.o \
../common/misc.o \
../common/esd405ep_nand.o \
Loading

0 comments on commit e5c5301

Please sign in to comment.