summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice/build/makefile
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2012-01-30 14:54:47 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-02-07 17:15:01 -0600
commit1ae3dfacaccbcb9bdb1b0e8306118844331a6e10 (patch)
tree3169dcec4299ecfcc5c81d8d283781b316a32e76 /src/usr/initservice/build/makefile
parent914b46ba52822c63799ebf60ebcc4df200d3371b (diff)
downloadblackbird-hostboot-1ae3dfacaccbcb9bdb1b0e8306118844331a6e10.tar.gz
blackbird-hostboot-1ae3dfacaccbcb9bdb1b0e8306118844331a6e10.zip
RTC 35744: Add Features to hb-istep
- branch save_po_file_setup_clear - bug that prints warning: Argument "<@istepnum>" isn't numeric in array element at ./hb-istep line 253, <FH> line 17. Argument "<@substepnum>" isn't numeric in array element at ./hb-istep line 253, <FH> line 17. This turns out to be caused by one of the new template files. - The istep numbers in Dean's document do not match the istep #'s printed for "hb-istep list" . Suggest removing the istep numbers for now, just list the names. - Currently if you type run by accident and the try "hb-istep istepmode", hb-istep will hang and eventually timeout because HostBoot has run past the point where it checks for istep mode. Suggest adding a global flag to HostBoot that hb-istep script can check to see if hostboot has already checked for Istep mode. - remove scanforisteps.pl and replace with grep/sed/sort line in makefile - this is from an old review with Patrick. - change to new vbutools dir and use HBDIR env variable. Change-Id: I67b01a2078ebe1a7949de55097415f185c5d5261 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/644 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/initservice/build/makefile')
-rw-r--r--src/usr/initservice/build/makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/initservice/build/makefile b/src/usr/initservice/build/makefile
index 51d377dc6..e9f435c3d 100644
--- a/src/usr/initservice/build/makefile
+++ b/src/usr/initservice/build/makefile
@@ -39,8 +39,13 @@ gen_pass:
code_pass: ${IMGDIR}/isteplist.csv
+## find all the ISTEPNAME( #,#,name ) macros in the istep lists and generate
+## the isteplist.csv file for hb-istep
+##
${IMGDIR}/isteplist.csv : ${ROOTPATH}/src/include/usr/isteps/*.H
- ./scanistepnames.pl -b $(ROOTPATH)/src/include/usr/isteps -d -o $@
+ grep -rh "ISTEPNAME(\ *[0-9]" $^ | sed -e 's/^.*ISTEPNAME(//; s/).*//; s/"//g;s/ //g' | sort --numeric > $@
+
+
clean:
rm -fr ${IMGDIR}/isteplist.csv
OpenPOWER on IntegriCloud