Skip to contentSkip to conversation

PPC: e500: reconditionalize on CONFIG_FDT

PATCH In review Scott Wood 3 participants 5 messages Jul 9, 2012

lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH 1/1 PPC: e500: reconditionalize on CONFIG_FDT

Recent patches "PPC: e500: rename mpc8544ds into generic file", "PPC:
e500: split mpc8544ds machine from generic e500 code", and "PPC: e500:
add generic e500 platform" moved certain e500-related files to the bottom of the makefile because they're now in ppc/, but the dependency on CONFIG_FDT was accidentally dropped. This broke the build when FDT support is not enabled.

---
 hw/ppc/Makefile.objs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/ppc/Makefile.objs +1 -1
index 81bcc72..951e407 100644
@@ -27,4 +27,4 @@ obj-y += xilinx_ethlite.o
 
 obj-y := $(addprefix ../,$(obj-y))
 
-obj-y += e500.o mpc8544ds.o e500plat.o
+obj-$(CONFIG_FDT) += e500.o mpc8544ds.o e500plat.o
Signature · 1 line
1.7.5.4
Reviewed-by on v1 1/1
#1 lore raw

Am 09.07.2012 16:04, schrieb Scott Wood:

Quoted 8 lines

Recent patches "PPC: e500: rename mpc8544ds into generic file", "PPC:
e500: split mpc8544ds machine from generic e500 code", and "PPC: e500:
add generic e500 platform" moved certain e500-related files to the bottom of the makefile because they're now in ppc/, but the dependency on CONFIG_FDT was accidentally dropped. This broke the build when FDT support is not enabled.

But this can probably still be squashed into the original patches for bisectability I hope?

Andreas

Quoted 15 lines
---
 hw/ppc/Makefile.objs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/ppc/Makefile.objs +1 -1
index 81bcc72..951e407 100644
@@ -27,4 +27,4 @@ obj-y += xilinx_ethlite.o
 
 obj-y := $(addprefix ../,$(obj-y))
 
-obj-y += e500.o mpc8544ds.o e500plat.o
+obj-$(CONFIG_FDT) += e500.o mpc8544ds.o e500plat.o
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
author
#2 lore raw
Quoted 8 lines · Andreas Färber

Am 09.07.2012 16:04, schrieb Scott Wood:

Quoted 7 lines

Recent patches "PPC: e500: rename mpc8544ds into generic file", "PPC:
e500: split mpc8544ds machine from generic e500 code", and "PPC: e500:
add generic e500 platform" moved certain e500-related files to the bottom of the makefile because they're now in ppc/, but the dependency on CONFIG_FDT was accidentally dropped. This broke the build when FDT support is not enabled.

Quoted 6 lines
Quoted 1 line

But this can probably still be squashed into the original patches for bisectability I hope?

OK, wasn't sure what the rebase policy was once the patch is in a maintainer tree. Alex, do you want me to resend the original patchset with the fix squashed?

-Scott

#3 lore raw
Quoted 11 lines · Scott Wood
Quoted 10 lines · Andreas Färber

Am 09.07.2012 16:04, schrieb Scott Wood:

Quoted 8 lines

Recent patches "PPC: e500: rename mpc8544ds into generic file", "PPC:
e500: split mpc8544ds machine from generic e500 code", and "PPC: e500:
add generic e500 platform" moved certain e500-related files to the bottom of the makefile because they're now in ppc/, but the dependency on CONFIG_FDT was accidentally dropped. This broke the build when FDT support is not enabled.

Quoted 8 lines
Quoted 4 lines

But this can probably still be squashed into the original patches for bisectability I hope?

OK, wasn't sure what the rebase policy was once the patch is in a maintainer tree. Alex, do you want me to resend the original patchset with the fix squashed?

No worries, I'll just squash it in myself. I keep my trees rebaseable. That heavily improves bisectability and as long as nobody complains, I'd like to keep it that way :).

Alex

#4 lore raw
In reply to Scott Wood
Quoted 8 lines · Scott Wood

Recent patches "PPC: e500: rename mpc8544ds into generic file", "PPC:
e500: split mpc8544ds machine from generic e500 code", and "PPC: e500:
add generic e500 platform" moved certain e500-related files to the bottom of the makefile because they're now in ppc/, but the dependency on CONFIG_FDT was accidentally dropped. This broke the build when FDT support is not enabled.

Thanks, merged into the respective other patches.

Alex