linux_dsm_epyc7002/arch/cris/kernel
Sam Ravnborg 51b563fc93 arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0
Albin Tonnerre <albin.tonnerre@free-electrons.com> reported:

    Bash 4 filters out variables which contain a dot in them.
    This happends to be the case of CPPFLAGS_vmlinux.lds.
    This is rather unfortunate, as it now causes
    build failures when using SHELL=/bin/bash to compile,
    or when bash happens to be used by make (eg when it's /bin/sh)

Remove the common definition of CPPFLAGS_vmlinux.lds by
pushing relevant stuff to either Makefile.build or the
arch specific kernel/Makefile where we build the linker script.

This is also nice cleanup as we move the information out where
it is used.

Notes for the different architectures touched:

arm - we use an already exported symbol
cris - we use a config symbol aleady available
       [Not build tested]
mips - the jiffies complexity has moved to vmlinux.lds.S where we need it.
       Added a few variables to CPPFLAGS - they are only used by
       the linker script.
       [Not build tested]
powerpc - removed assignment that is not needed
          [not build tested]
sparc - simplified it using $(BITS)
um - introduced a few new exported variables to deal with this
xtensa - added options to CPP invocation
         [not build tested]

Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-09-20 12:28:22 +02:00
..
asm-offsets.c [CRIS] Merge asm-offsets.c for both arches into one file. 2008-10-31 23:37:00 +01:00
crisksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
irq.c sparseirq: use kstat_irqs_cpu on non-x86 architectures too 2009-01-12 20:01:12 +01:00
Makefile arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0 2009-09-20 12:28:22 +02:00
module.c module: cleanup FIXME comments about trimming exception table entries. 2009-06-12 21:47:05 +09:30
process.c mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
profile.c cris: use simple_read_from_buffer() 2008-07-24 10:47:24 -07:00
ptrace.c KEYS: Add missing linux/tracehook.h #inclusions 2009-09-09 18:30:02 +10:00
setup.c cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: cris 2009-03-16 14:11:46 +10:30
sys_cris.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
time.c cris: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
traps.c CRIS: Minor generic kernel/traps.c changes. 2008-02-08 11:06:24 +01:00
vmlinux.lds.S linker script: unify usage of discard definition 2009-07-09 11:27:40 +09:00