[PATCH 3/3] [POWERPC] Stop include asm-ppc when building ARCH=powerpc for ppc32

Kumar Gala galak at kernel.crashing.org
Fri Aug 17 22:55:25 EST 2007


On Aug 17, 2007, at 3:13 AM, Stephen Rothwell wrote:

> On Fri, 17 Aug 2007 02:15:54 -0500 (CDT) Kumar Gala  
> <galak at kernel.crashing.org> wrote:
>>
>> @@ -172,18 +168,15 @@ install:
>>  archclean:
>>  	$(Q)$(MAKE) $(clean)=$(boot)
>>
>> -archmrproper:
>> -	$(Q)rm -rf arch/$(ARCH)/include
>> -
>>  archprepare: checkbin
>>
>> -ifeq ($(CONFIG_PPC32),y)
>> -# Temporary hack until we have migrated to asm-powerpc
>> -include/asm: arch/$(ARCH)/include/asm
>> -arch/$(ARCH)/include/asm: FORCE
>> -	$(Q)if [ ! -d arch/$(ARCH)/include ]; then mkdir -p arch/$(ARCH)/ 
>> include; fi
>> -	$(Q)ln -fsn $(srctree)/include/asm-$(OLDARCH) arch/$(ARCH)/ 
>> include/asm
>> -endif
>> +#ifeq ($(CONFIG_PPC32),y)
>> +## Temporary hack until we have migrated to asm-powerpc
>> +#include/asm: arch/$(ARCH)/include/asm
>> +#arch/$(ARCH)/include/asm: FORCE
>> +#	$(Q)if [ ! -d arch/$(ARCH)/include ]; then mkdir -p arch/$ 
>> (ARCH)/include; fi
>> +#	$(Q)ln -fsn $(srctree)/include/asm-$(OLDARCH) arch/$(ARCH)/ 
>> include/asm
>> +#endif
>
> Why not just remove it?  git will preserve it if we find a use for it.

oops, that was a debug foobar.. should have been removed.

Now fixed, got to love git-commit --amend.

- k



More information about the Linuxppc-dev mailing list