summaryrefslogtreecommitdiffstats
path: root/src/makefile
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-09-19 14:23:54 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-10-09 17:06:49 -0500
commitfb1836fd7b1b8839815595db08ae740ec7b86347 (patch)
tree54ff93536489c27b80af1f503520bd9894cdcfd3 /src/makefile
parent84e4274fe412a577f67805cc701f4fb66a3feb2f (diff)
downloadtalos-hostboot-fb1836fd7b1b8839815595db08ae740ec7b86347.tar.gz
talos-hostboot-fb1836fd7b1b8839815595db08ae740ec7b86347.zip
Support code coverage in extended modules.
- 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>
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile29
1 files changed, 8 insertions, 21 deletions
diff --git a/src/makefile b/src/makefile
index 4f46d8fa8..e11d441fe 100644
--- a/src/makefile
+++ b/src/makefile
@@ -46,18 +46,13 @@ DIRECT_BOOT_OBJECTS = start.o kernel.o taskmgr.o cpumgr.o syscall.o \
blockmsghdlr.o stacksegment.o softpatch_p7.o \
shutdown.o
-## STUB_TESTCASE_OBJECT = cxxtest_stub.o
-
-RUNTIME_OBJECTS =
-
-
BASE_MODULES = trace errl devicefw scom xscom initservice \
- pnor vfs scan
+ pnor vfs
EXTENDED_MODULES = targeting ecmddatabuffer fapi hwp plat \
- extinitsvc istepdisp hwas fsi fsiscom i2c intr \
- spd dmi_training fapiporeve poreve util \
- sbe_centaur_init mc_config dram_training \
+ extinitsvc istepdisp hwas fsi fsiscom i2c intr scan \
+ spd dmi_training fapiporeve poreve util \
+ sbe_centaur_init mc_config dram_training \
mdia mbox mvpd prdf bus_training \
activate_powerbus build_winkle_images \
core_activate dram_initialization edi_ei_initialization \
@@ -65,9 +60,6 @@ EXTENDED_MODULES = targeting ecmddatabuffer fapi hwp plat \
nest_chiplets start_payload thread_activate slave_sbe \
attn
-DIRECT_BOOT_MODULES = example
-RUNTIME_MODULES =
-
TESTCASE_MODULES = cxxtest testerrl testdevicefw testsyslib \
testscom testxscom testtargeting testinitservice testkernel \
testhwpf testecmddatabuffer initsvctesttask testcxxtest \
@@ -77,8 +69,8 @@ TESTCASE_MODULES = cxxtest testerrl testdevicefw testsyslib \
RELOCATABLE_IMAGE_LDFLAGS = -pie --export-dynamic
-hbicore_OBJECTS = ${BASE_OBJECTS} ${DIRECT_BOOT_OBJECTS} ${STUB_TESTCASE_OBJECT}
-hbicore_MODULES = ${BASE_MODULES} ${DIRECT_BOOT_MODULES}
+hbicore_OBJECTS = ${BASE_OBJECTS} ${DIRECT_BOOT_OBJECTS}
+hbicore_MODULES = ${BASE_MODULES}
hbicore_EXTENDED_MODULES = ${EXTENDED_MODULES}
#@todo - Temporary workaround
# The centaur.sbe_pnor.bin is manually built from CVS SBE procedure files in
@@ -91,16 +83,11 @@ hbicore_DATA_MODULES = sample.if p8.dmi.scom.if cen.dmi.scom.if \
hbicore_LIDNUMBER = 80f00100
-hbicore_test_OBJECTS = ${BASE_OBJECTS} ${DIRECT_BOOT_OBJECTS}
+hbicore_test_OBJECTS = ${hbicore_OBJECTS}
hbicore_test_MODULES = ${hbicore_MODULES}
hbicore_test_EXTENDED_MODULES = ${hbicore_EXTENDED_MODULES} ${TESTCASE_MODULES}
hbicore_test_DATA_MODULES = ${hbicore_DATA_MODULES} testdata
-#halruntime_OBJECTS = ${BASE_OBJECTS} ${RUNTIME_OBJECTS}
-#halruntime_MODULES = ${BASE_MODULES} ${EXTENDED_MODULES} ${RUNTIME_MODULES}
-#halruntime_LDFLAGS = ${RELOCATABLE_IMAGE_LDFLAGS}
-#halruntime_LIDNUMBER = 80f00101
-
dslid_LIDNUMBER = 80f001fe
IMAGE_EXTRA_TARGETS = buildpnor
@@ -108,4 +95,4 @@ IMAGE_EXTRA_TARGETS = buildpnor
include ${ROOTPATH}/config.mk
buildpnor: ${IMAGES}
- cd build/buildpnor/ && make buildpnor
+ cd build/buildpnor/ && ${MAKE} buildpnor
OpenPOWER on IntegriCloud