Skip to contentSkip to conversation

coldfire: Permit build in a different directory

PATCH Superseded stany MARCEL 2 participants 2 messages Aug 30, 2011 – Aug 31, 2011 m68k architecture

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 coldfire: Permit build in a different directory

Add $(obj) before lib$(CPU) to permit build in a different directory

---
 arch/m68k/cpu/mcf5227x/Makefile   |    2 +-
 arch/m68k/cpu/mcf523x/Makefile    |    2 +-
 arch/m68k/cpu/mcf532x/Makefile    |    2 +-
 arch/m68k/cpu/mcf5445x/Makefile   |    2 +-
 arch/m68k/cpu/mcf547x_8x/Makefile |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/m68k/cpu/mcf5227x/Makefile +1 -1
index eb36264..0490f0e 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
arch/m68k/cpu/mcf523x/Makefile +1 -1
index eb36264..0490f0e 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
arch/m68k/cpu/mcf532x/Makefile +1 -1
index 257d46d..eb043d9 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	=
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
arch/m68k/cpu/mcf5445x/Makefile +1 -1
index 047e35d..5b7ddd6 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o pci.o
arch/m68k/cpu/mcf547x_8x/Makefile +1 -1
index e41ce68..a415aab 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	=
 COBJS	= cpu.o speed.o cpu_init.o pci.o interrupts.o slicetimer.o
Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 3/5 coldfire: Permit build in a different directory

From: Stany MARCEL <[email protected]>

Add $(obj) before lib$(CPU) to permit build in a different directory

---
Changes for v2:
- None

 arch/m68k/cpu/mcf5227x/Makefile   |    2 +-
 arch/m68k/cpu/mcf523x/Makefile    |    2 +-
 arch/m68k/cpu/mcf532x/Makefile    |    2 +-
 arch/m68k/cpu/mcf5445x/Makefile   |    2 +-
 arch/m68k/cpu/mcf547x_8x/Makefile |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/m68k/cpu/mcf5227x/Makefile +1 -1
index eb36264..0490f0e 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
arch/m68k/cpu/mcf523x/Makefile +1 -1
index eb36264..0490f0e 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
arch/m68k/cpu/mcf532x/Makefile +1 -1
index 257d46d..eb043d9 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	=
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
arch/m68k/cpu/mcf5445x/Makefile +1 -1
index 047e35d..5b7ddd6 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o pci.o
arch/m68k/cpu/mcf547x_8x/Makefile +1 -1
index e41ce68..a415aab 100644
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 # CFLAGS += -DET_DEBUG
 
-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o
 
 START	=
 COBJS	= cpu.o speed.o cpu_init.o pci.o interrupts.o slicetimer.o

--
1.7.1