aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2014-12-15Makefile: Support CROSS_COMPILE as well as CROSSMichael Ellerman1-0/+3
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>
2014-12-02Makefile: set CROSS based on archWei Yang1-1/+6
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>
2014-11-17Stack checking extensionsBenjamin Herrenschmidt1-0/+5
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>
2014-07-02Initial commit of Open Source releaseBenjamin Herrenschmidt1-0/+39
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>