Age | Commit message (Collapse) | Author | Files | Lines |
|
A lot of projects use CROSS_COMPILE for specifying the cross compile
prefix, so support that as well as CROSS.
For example this allows a user to set CROSS_COMPILE once in their
environment and build both Linux & Skiboot with the same setting.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
[stewart@linux.vnet.ibm.com: only set if env variable is set]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
CROSS is used to do the cross compile of skiboot on other platform, while this
variable is not necessary on ppc64. When this is set on ppc64, there would be
an error.
This patch sets the CROSS depends on the arch.
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
This patch adds:
- Normal builds are done with -fstack-protector (we want to investigate
using -fstack-protector-strong on gcc4.9 but for now we just use that
- Build with STACK_CHECK=1 will use -fstack-protector-all and -pg and
will check the stack in mcount
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|