summaryrefslogtreecommitdiffstats
path: root/makefile
Commit message (Collapse)AuthorAgeFilesLines
* Patch For: Implement Static Analysis with cppcheckLuis Fernandez2019-09-181-0/+1
| | | | | | | | | | | | | | | CPPCHECK commands fail in machines that do not use bin/sh. Wrap commands inside an if-statement to only be read when User explicitly run the tool. Change-Id: Ifad56b0978c8190efa033203f661daf9259a4d43 RTC: 201451 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83938 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
* Implement Static Analysis with cppcheckMegan2019-09-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Cppcheck static analysis tool can now be run when compiling by running: make cppcheck And it will always run when committing without stopping the commit if an error is found. This commit suppresses some false positives found in the code. A false positive can be suppressed inline by placing “// cppcheck-suppress syntaxError” in a line before the false positive., e.g.: char arr[5]; // cppcheck-suppress arrayIndexOutOfBounds arr[10] = 0; Change-Id: I9e833a153d6b04df2f8a72cd994e43922c61c2fe RTC: 201451 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79629 Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
* Developer Improvement: Get code coverage tool working with HostbootZach Clark2019-05-131-6/+20
| | | | | | | | | | | | | | | This commit fixes GCOV code coverage for P9 with GCC 4.9.2 Change-Id: Ie1e7c35f67414531dbd6e7a771ac1529a9ebd59d RTC: 208351 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76812 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Add new pnorLayoutAxone.xml w/ new EECACHE sectionChristian Geddes2019-01-141-2/+8
| | | | | | | | | | | | | | | | | | | | This commit introduces a new pnor layout which will be used when the simics_axone.config file is used. (Note: axone.config was renamed to simics_axone.config). This new layout introduces the EECACHE section which will be used to store copies of the various EEPROMS in the system. The eventual goal is to be able to remove the MVPD/DJVPD sections in PNOR and only use this EECACHE section Change-Id: Ifae610c4dd7f3aa9c87a5ca911cc4faa1ba2a98a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70172 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Dummy commit to add explicit prereq on hw imageDan Crowell2017-06-051-0/+1
| | | | | | | | | | | | | A PM change slipped through that causes checkstops unless we are using a newer hw image. Change-Id: I586eaeb5e8d2c985a993266c9bad8f9f41bbd0d9 CMVC-Prereq: 1025697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41390 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Fix for Add header and verify Hostboot Bootloader for sbe updateStephen M. Cprek2017-04-251-1/+9
| | | | | | | | | | | | | | Also enable the use of the FSP specific pnor layout. CMVC-prereq:1021911 Change-Id: If346c59537928d12af1dfbd085b2a492398cbf27 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39159 Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* make clean target update & clobberLateef Quraishi2016-06-221-1/+4
| | | | | | | | | | | Change-Id: Ia946bb84b34ea651b09bfbaac992888bafbe4914 RTC: 151009 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25095 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Configuration-based compilePatrick Williams2014-06-301-0/+21
| | | | | | | | RTC: 88436 Change-Id: Iab68e6a14641829ef29165694f5196f0ad437114 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11374 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-11/+11
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Increase parallelism in builds.Patrick Williams2013-06-021-3/+3
| | | | | | | | | Change-Id: I1da7d93fb9d36d780321f291fce8edd216092488 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4583 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce the footprint of builds.Patrick Williams2013-05-151-1/+4
| | | | | | | | | | Change-Id: I2091409dc81716d064ac1e057573b6b2e02168ad Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4409 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Misc build fixes.Patrick Williams2013-03-141-5/+2
| | | | | | | | | | | | | | - xmltohb was running too often, causing most of the code to be rebuilt on any 'make' call. - hbotStringFile was not being rebuilt. - 'make' sometimes failed if obj/genfiles/errl did not exist. Change-Id: I509cd4dafe9cb4b8d22482c9058f7e84e508d968 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3534 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Improve GCOV output to include driver name.Patrick Williams2013-03-121-1/+2
| | | | | | | | | Change-Id: Ia16855c69095b69acf78071bb377a86e2c3f769b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3440 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Refactoring of the build system.Patrick Williams2013-03-011-2/+18
| | | | | | | | | | | | | | | | | | | | | | - Remove unused files for generating LIDs. - Reduce the overall verbosity of the build. - Separate 'config.mk' into a number of smaller, topic-centric files and comment better. - Generalize the 'passes' concept and added an IMAGES pass. - Deprecate most "magic" make variables like EXTRAFOO. - Overall performance improvements. I've tried to reduce the impact of these changes on component-level makefiles. There will be follow-up commit(s) to improve those and decrease the verbosity of some component-owned commands. Change-Id: I6d319f5338eb3946f56b281c3cdd5f341a016fcc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3368 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Unload unused modules - simple versionRichard J. Knight2013-02-161-11/+11
| | | | | | | | | | | | | | | Created a list of dependant modules for each istep. modules for previous step are unloaded before loading the modules for new step Added perl script to validate istep dependancies during the build. Change-Id: Ia916814328ac37c24e4275ec42827520dada8686 RTC:51709 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2979 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support code coverage in extended modules.Patrick Williams2012-10-091-22/+22
| | | | | | | | | | | | | | | | | - Reduce optimization (to -Os) to fit when doing coverage profile. - Remove errl storage area from base image. - Add GCC function attributes to sys library functions. RTC: 36933 Change-Id: Ic83011a2444ef5b735db0446a14a0af34187eebf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1908 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Melissa J. Connell <missyc@us.ibm.com> Reviewed-by: Paul Nguyen <nguyenp@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tool to analyze HWP filesBrian Horton2012-09-261-23/+23
| | | | | | | | | | | | | | | | | | Scan hardware procedure files and look for: . if file has special IGNORE string, ignore (ie, initservice files) . if file doesn't have '$Id:' tag - report it (if -m option used) . if file has '$Id:' tag, print filename and version Several different reporting options are supported. In addition, make target added for obj/genfiles/hwp_id.html and this file is now in the fsp.tar file that will be shipped. Change-Id: Iac56d4a2a839fac0c4522ceaa9eb11f16ca9c199 RTC: 35726 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1651 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* GCOV supportPatrick Williams2012-02-071-0/+30
| | | | | | | Change-Id: I73a446754cd03178055459eb75c7b2f87b51b0f3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/635 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Generate ctags file as part of build.Patrick Williams2011-07-281-1/+1
| | | | | | | Change-Id: Iddfb56d9e6ffc91ff29cf679fc5243550a31090c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/220 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Changes to CxxTest to allow CI testing through Jenkins.Patrick Williams2011-06-141-0/+3
| | | | | | | Change-Id: Iab9f19214d1d820936cab159bd509478972913cd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/146 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Merge of PowerHAL project up to commit:Patrick Williams2011-03-051-0/+7
| | | | dd45c30bd53d8e6c123165b83842d08117558a3c
* Makefile cleanups.Patrick Williams2011-01-101-3/+0
|
* Add linker in preparation for modules.Patrick Williams2010-08-201-1/+2
|
* Improve make infrastructure.Patrick Williams2010-05-181-20/+4
|
* Use C++ compilerPatrick Williams2010-05-181-2/+4
|
* Load base TOC and create kernel stack.Patrick Williams2010-05-171-1/+3
|
* Boot, set 64bit mode, relocate from ROM.Patrick Williams2010-05-131-0/+17
OpenPOWER on IntegriCloud