summaryrefslogtreecommitdiffstats
path: root/config.mk
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Refactoring of the build system.Patrick Williams2013-03-011-409/+6
| | | | | | | | | | | | | | | | | | | | | | - 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-0/+3
| | | | | | | | | | | | | | | 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>
* ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bldMike Jones2013-02-081-0/+4
| | | | | | | | | | | | | | A new script called genErrlParsers will scan the Hostboot code for error log tags and create a SRC parser for each component. The script will also scan the Hostboot code for plugin directories containing User Detail Data parsers and will create a makefile that is used by the FSP to build each component's SRC/UD parser. Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072 RTC: 47518 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add gdb support for PRD simulatorprashanthacharya2013-01-081-10/+13
| | | | | | | | | | | | | | | | simulator needs to be debugged under mcp7 jailed environment, and ddd is not supported under jailed environment, hence changes has been added to simulator script to support gdb using simulators -debug option, also an option(-D no_opt) has been added to simulator makefile to override default compiler optimization level. RTC: 60472 Change-Id: I71ee845df23bdd0b5603b923364267b60f571475 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2749 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2868
* Support code coverage in extended modules.Patrick Williams2012-10-091-23/+34
| | | | | | | | | | | | | | | | | - 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-21/+24
| | | | | | | | | | | | | | | | | | 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>
* Remove function traceback epilogs for sizePatrick Williams2012-09-241-23/+23
| | | | | | | | | Change-Id: I5c5141d8937cd543e1dcdd07ef8584589326ecb5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1776 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Compile Hostboot without -fshort-enumsNick Bofferding2012-08-031-5/+4
| | | | | | | | | | | | | | | | - Removed -fshort-enums from config.mk - Fixed incorrect buffer size calculation in target.C - Disabled short enums in targeting compiler - Removed unnecessary assert - Updated enum storage space Change-Id: Ia83f942b54bc5ee246ce8d69750081714d458dcf RTC: 35808 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1437 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Updates to HWAS code: istep 6, presence detect logicBrian Horton2012-04-051-3/+3
| | | | | | | | | | | | | | | . remove hwas functions in istep 4.* . add new hwas functions to istep 6.* as per 0.99 ipl flow . split hwas into common and platform specific layers for hostboot/fsp sharing . add presence detect logic . add chip id/ec logic, including ATTR_CHIP_ID (Story 35542) Change-Id: I436fe54b1a7f7547cbc9e19beda2d47105c11871 RTC: 35777 RTC: 35542 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/800 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Automating creation of PNOR image with TOC and Section data.Adam Muhle2012-04-041-1/+1
| | | | | | | | | | | | | | | | | Wrote buildpnor.pl which builds PNOR image based on pnorLayout.xml file and input binary files. Setup makefiles to create PNOR if input files change and to handle make clean. Updated PNORRP to support new section offsets and new MVPD and DIMM VPD sections. Also updated PNORDD to use 4 MB of L3 Cache as fake-PNOR. Change-Id: Ic40670a45a53211a2414570d7fe5632e19bd44ed RTC: 35043 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/819 Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Tools for managing binary files in git.Patrick Williams2012-03-071-3/+42
| | | | | | | | | Change-Id: I420803b36707e877a4ba35f6f484c74c9ed4eb43 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/711 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* GCOV supportPatrick Williams2012-02-071-7/+49
| | | | | | | 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>
* Initial VSBE SupportsThi Tran2012-02-071-4/+29
| | | | | | | | | Fixed test case failure Change-Id: Ie388aebddacba99dfc6cc04e5fe98f0e8ca8b4bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/520 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Parse extended image in gensyms.Patrick Williams2011-12-061-1/+1
| | | | | | | | Change-Id: Ifd9bed08820ce060aad741dedd027520af3e0b89 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/563 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC3964: x86 Support for UserDetailsMark Wenning2011-11-021-2/+10
| | | | | | | | | | | | - first commit - errlparserbase and errluserparser - need linker step for userdetails libs - final merge Change-Id: I32daae8de483616f20e66581f4e8f3de0dc98257 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/467 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Enable per-module selection of HOSTBOOT_DEBUGPatrick Williams2011-10-311-4/+21
| | | | | | | | | | | | Also modified config.mk and addimgid to reduce the noise on STDERR. Change-Id: I10d621f2871e31b46bf634c968dd3731a6a96422 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/464 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Pull FSI data from real attributes (Task 3909).Dan Crowell2011-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are a group of attributes defined for FSI now. -ATTR_FSI_MASTER_CHIP -ATTR_FSI_MASTER_TYPE -ATTR_FSI_MASTER_PORT -ATTR_FSI_SLAVE_CASCADE -ATTR_FSI_OPTION_FLAGS Also includes work for Story 3996. The attributes are now broken into 3 distinct pieces: - attribute_types.xml : defines hostboot attributes - target_types.xml : defines different types of targets - XXX.system.xml : system-specific information, equivalent to what we'll get from system workbook These are then used to generic system-specific binaries, currently for 3 platforms: - simics_SALERNO_targeting.bin - simics_VENICE_targeting.bin - vbu_targeting.bin Change-Id: I2bf920cc62cceb761ab44a07df433da44249d0e0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/426 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* VFS provide assess to read-only data modulesDoug Gilbert2011-09-281-1/+3
| | | | | | | Change-Id: I0178e5b9154f43e092af217931f4570941393d62 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/357 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server
* Makefile changes to targeting XML gen.Patrick Williams2011-09-211-1/+1
| | | | | | | | Change-Id: I71ca4f6ee6c33f3dacbda2f8729f6534109b7690 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/350 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Floating point support.Patrick Williams2011-09-121-1/+1
| | | | | | | Change-Id: I859cac1c01bf631d12223702d68813b45339b65f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/295 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Reduce FAPI rebuilds to only when xml files change.Patrick Williams2011-09-011-2/+4
| | | | | | | | Change-Id: I67336a65c5026fa017d5cae679662820f3cfe2d5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/292 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add environment var to remove debug messages.Patrick Williams2011-08-241-0/+27
| | | | | | | | | | | | - Add printkd function. - Create HOSTBOOT_DEBUG env var for printk. - Update trace interfaces to utilize HOSTBOOT_DEBUG. - Fix compile errors due to unused variables. Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Remove *_extended.bin files in 'make clean'Patrick Williams2011-08-111-1/+2
| | | | | | | Change-Id: I8aa4b8ffb262e5a03404241fba021109f5561374 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/248 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-0/+5
| | | | | | | 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>
* Linker support for extended imagedgilbert2011-07-151-2/+4
| | | | | | | Change-Id: I21acf1b870667aa3aa2617837bead3a1697db7c1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/194 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
* InitService changes for LLDD 0.7Mark Wenning2011-07-141-0/+3
| | | | | | | | | | | | | | | | | | - implement task flags - add barrier to unit tests - startTask returns errlog handle - factor taskargs.H - add STRICT mode and fix results - add tasktest2 to replace example.C - add cxxtest as an explicit task at the end - cleanup todo's - post-review fixes - merge problem Change-Id: I073bd154a64013553c1863f9eb674cda2bf40a8d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/187 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Clean up trace hash files as part of make clean.Patrick Williams2011-07-111-1/+1
| | | | | | | Change-Id: If0ff7ff8e0a4b785ebf74bb5b4f3d58d213673ac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/195 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix race condition in build gen_passPatrick Williams2011-07-071-0/+4
| | | | | | | Change-Id: I6c82365d31a2aabc7a4c559b05aecb236d7e026a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/189 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server
* Improve assert handling and options.Patrick Williams2011-07-061-1/+2
| | | | | | | | | | | | | - Allow a custom assert trace as an optional parameter. - Call a trace function instead of printk for most cases. - Provide a critical library assert (for syslibs, trace, etc.) - Provide a kassert function for kernel code. Change-Id: If24d57d0832a587258503b3fd0046c21da3712b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/159 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Create a new pass to generate header files.Patrick Williams2011-06-241-6/+21
| | | | | | | | | | | | This pass is executed before trying to compile anything. Makefiles can now add headerfiles to be generated to the GENFILES variable and define rules for how these headers get generated. Generated headers should go into 'obj/genfiles/'. Change-Id: Ieab44f0559e1dd75f5426b67545c4914035d4c23 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/157 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Compile all code with -fshort-enums option to compact space required for enumsNick Bofferding2011-06-171-1/+1
| | | | | | | Change-Id: I8474b2971e94f8b9de775c07d5a851dbab75b76e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/148 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix cscope for symbolic links.Patrick Williams2011-05-201-1/+1
| | | | | | | Change-Id: I8f849131ed29ac0d0f36dbb355dff76e86854cf5 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/91 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change BEAM build directives to be easier to process.Patrick Williams2011-05-161-2/+3
| | | | | | | Change-Id: I83882183a8829b45817d622f7214e7249a447613 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/77 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Automatically generate cxxtest driver.Mark Wenning2011-05-161-8/+32
| | | | | | | Change-Id: Ib844d1ff827c48e37ee1973bc42b2cfee31f86c6 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/74 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Build trace string file.Patrick Williams2011-05-161-2/+6
| | | | | | | | Change-Id: I20a1d7a38ce41ea2f7bbe03ba1b357ff19056402 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/70 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Initial trace support for host bootAndrew Geissler2011-05-161-1/+1
| | | | | | | Change-Id: Ib2450ae3d32549673ca8e1c814a7a11b5f1a0c09 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/69 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Allow additional include paths through EXTRAINCDIRS variablePatrick Williams2011-04-291-6/+10
| | | | | | | Change-Id: I7a397e2b340649222eb20f6a478bce022eebbbe5 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/39 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Fix dep generation for headers.Patrick Williams2011-03-271-6/+8
|
* Merge of PowerHAL project up to commit:Patrick Williams2011-03-051-26/+140
| | | | dd45c30bd53d8e6c123165b83842d08117558a3c
* Run linker inside mcp jail.Patrick Williams2011-01-111-1/+1
|
* Use mdchroot build environment.Patrick Williams2011-01-111-3/+3
|
* Makefile cleanups.Patrick Williams2011-01-101-0/+24
|
* Importing trace header files from FSP trace and integrating into build.Patrick Williams2011-01-101-3/+6
|
* Move linker to make room for trace preprocessor.Patrick Williams2010-10-051-1/+1
|
* Change build structure to automatically create object directories as needed.Patrick Williams2010-09-201-1/+4
|
* Support modules.Patrick Williams2010-09-091-1/+1
|
* Add linker in preparation for modules.Patrick Williams2010-08-201-6/+12
|
* Enable -Wall and fix warnings.Patrick Williams2010-08-191-3/+4
|
* Change compiler to fakeroot compiler.Patrick Williams2010-08-181-3/+3
|
OpenPOWER on IntegriCloud