]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[CRIS] Build fixes for compressed and rescue images for v10 and v32:
authorJesper Nilsson <jesper@jni.nu>
Sun, 29 Jun 2008 21:15:19 +0000 (23:15 +0200)
committerJesper Nilsson <jesper@jni.nu>
Sun, 29 Jun 2008 21:15:19 +0000 (23:15 +0200)
commitbdb144b67a7660ce5d044ae9a2fd1a8030f12523
tree493177c56790bdf9a0358e5e5936e5b575006cc8
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0
[CRIS] Build fixes for compressed and rescue images for v10 and v32:

- Use the normal cross gcc instead of using an elf specific cris toolchain.
  This removes the dependency of this second toolchain.

- Use the normal cross objcopy instead of overriding it to use elf-toolchain.
  This allows compiling using "CROSS_COMPILE=$CRIS_GCC/cris-axis-linux-gnu-"
  instead of just "CROSS_COMPILE=$CRIS_GCC/cris-axis-linux-gnu/bin/"

- Remove redundant rules for compiling, the implicit rules are sufficient.

- Convert the arch/cris/arch-v10/boot/compressed/head.S to format
  accepted by the cris-axis-linux-gnu-gcc (registers must be prefixed
  with '$', remove explicit underscore on exported symbols)

- Remove a number of unused (and duplicated) prototypes from
  arch/cris/arch-v10/boot/compressed/misc.c.

- Correct memcpy and memset return values (actually return them!)

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v10/boot/Makefile
arch/cris/arch-v10/boot/compressed/Makefile
arch/cris/arch-v10/boot/compressed/decompress.ld
arch/cris/arch-v10/boot/compressed/head.S
arch/cris/arch-v10/boot/compressed/misc.c
arch/cris/arch-v10/boot/rescue/Makefile
arch/cris/arch-v32/boot/Makefile
arch/cris/arch-v32/boot/compressed/Makefile
arch/cris/arch-v32/boot/rescue/Makefile