]> git.baikalelectronics.ru Git - kernel.git/commit
[CRIS] Remove links from CRIS build
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 22 Oct 2008 21:57:53 +0000 (23:57 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 31 Oct 2008 22:37:57 +0000 (23:37 +0100)
commit0a53b1e870a55e4064bcf6cc8b4a9f1e8b2a5c2f
treee3a1dca7bb4ea58907c067f592ce45391222ffc4
parentc5debadfc5b460a01a11be56ea80abc99bb7cdc6
[CRIS] Remove links from CRIS build

Remove the links to architecture and machine dependent directories
(boot, lib, drivers, arch, mach)

The links were created and used mostly from the arch/cris/Makefile,
so why not dispense with them altogether?
Changed $(ARCH) to "cris" in Makefile, it is easier to read this way.

The CRISv32 head.S common files for the kernel and compressed images
needed to be modified to use ifdefs instead of using the now removed
mach link. Since there are only two versions, this is not a huge loss
in readability.

The link to vmlinux.lds.S is also replaced with a merged version
which uses ifdefs to select the correct layout.
System.map before and after are identical.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
arch/cris/Makefile
arch/cris/arch-v10/vmlinux.lds.S [deleted file]
arch/cris/arch-v32/boot/compressed/head.S
arch/cris/arch-v32/kernel/head.S
arch/cris/arch-v32/vmlinux.lds.S [deleted file]
arch/cris/kernel/vmlinux.lds.S [new file with mode: 0644]