summaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* build: use thin archives rather than incremental linkingNicholas Piggin2018-02-281-2/+3
| | | | | | | | | | | | | | | | | | | | This changes to build system to use thin archives rather than incremental linking for built-in.o, similar to recent change to Linux. built-in.o is renamed to built-in.a, and is created as a thin archive with no index, for speed and size. All built-in.a are aggregated into a skiboot.tmp.a which is a thin archive built with an index, making it suitable or linking. This is input into the final link. The advantags of build size and linker code placement flexibility are not as great with skiboot as a bigger project like Linux, but it's a conceptually better way to build, and is more compatible with link time optimisation in toolchains which might be interesting for skiboot particularly for size reductions. Size of build tree before this patch is 34.4MB, afterwards 23.1MB. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* make check: make test runs less noisyStewart Smith2016-07-121-0/+4
| | | | | | | | | | | Run a small wrapper around some unit tests with the QTEST makefile macro (QTEST=Quiet TEST). Also, wrap boot tests in mambo and qemu to be quiet by default. Both ./test/run.sh and the modified mambo/qemu test runner scripts output full stdout and stderr in the event of error. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Skip -std=gnu11 for sparseStewart Smith2015-11-091-2/+2
| | | | | | | Some versions of sparse (all?) don't support -std=gnu11 CFLAG, so filter it out when calling sparse. Doesn't affect non-sparse build Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Fix (hopefully) missing dot symbols in skiboot.mapBenjamin Herrenschmidt2015-03-311-1/+1
| | | | | | | I wasn't able to test as my toolchain always emits them Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* sparse: add make variable C to run sparse when compiling skibootCédric Le Goater2015-02-261-0/+11
| | | | | | | | | As this is done on the Linux kernel, one can now run sparse using C=1 on the command line. The variable CF can be used to tune the sparse options. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Makefile: Make "make --silient" make make momentarily much more mutedMichael Neuling2015-02-231-0/+6
| | | | | | | | | Currently "make --silient" still produces a lot of output. This mutes it. Plus alliteration is fun. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Add symbolic backtraces and expose skiboot map to LinuxBenjamin Herrenschmidt2014-11-181-0/+3
| | | | | | | We use a double link technique, doing a first pass with a .o containing a dummy symbol map, then re-linking with a new .o Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Fix build with GNU Make 4.0Benjamin Herrenschmidt2014-07-041-1/+1
| | | | | | | | It expands our % on the right hand of the built-in.o rule into the directory name extracted from the prefix of the left hand and that makes ld puke. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-021-0/+53
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud