]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Pass per-file CFLAGs for platform specific op codes
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 16 May 2007 18:51:37 +0000 (04:51 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 May 2007 11:11:19 +0000 (21:11 +1000)
commit83c3782ee1a032817701873f64210c7bd2ae7279
tree457570098f661e324c5537c7b84bd4f44093024e
parent109a277379012de2671714c889b44f67733dfd96
[POWERPC] Pass per-file CFLAGs for platform specific op codes

As a result of compiling all of the wrapper files for every platform
now, the kernel build can fail for toolchains that don't support various
op codes by default.  An example of this building a 7xx platform with
the ELD4.0 toolchain, is below:

/tmp/ccYjhJoL.s: Assembler messages:
/tmp/ccYjhJoL.s:42: Error: Unrecognized opcode: `mtdcr'
/tmp/ccYjhJoL.s:43: Error: Unrecognized opcode: `mfdcr'
make[1]: *** [arch/powerpc/boot/44x.o] Error 1

The following patch introduces additional CFLAGS for the 4xx specific
files and fixes the kernel compile.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile