[patch 38/43] Various powerpc 32bit ppc64 build fixes

Paul Mackerras paulus at samba.org
Sat Oct 29 15:41:59 EST 2005


Sven Luther writes:

> +ifeq ($(CONFIG_6xx),y)
>  obj-$(CONFIG_PPC_PMAC)		+= pmac_pic.o pmac_setup.o pmac_time.o \
>  					pmac_feature.o pmac_pci.o pmac_sleep.o \
>  					pmac_low_i2c.o pmac_cache.o
> +else
> +obj-$(CONFIG_PPC_PMAC)		+= pmac_pic.o pmac_setup.o pmac_time.o \
> +					pmac_feature.o pmac_pci.o pmac_sleep.o \
> +					pmac_low_i2c.o
> +endif

This is a bit gross.  How about:

pmac-$(CONFIG_6xx)		:= pmac_cache.o
obj-$(CONFIG_PPC_PMAC)		+= pmac_pic.o pmac_setup.o pmac_time.o \
					pmac_feature.o pmac_pci.o pmac_sleep.o \
					pmac_low_i2c.o $(pmac-y)

Care to send a revised patch?

Paul.



More information about the Linuxppc64-dev mailing list