diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2013-05-23 21:06:11 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-07-12 09:49:31 -0500 |
commit | 44b63a15ac243ed21fcd35704838baced09ed64c (patch) | |
tree | 1e5a239057168265ed50371e99a8c784df2d8436 /src/usr/hwpf/makefile | |
parent | b9c5a79eb89e837981f7743569b715923d8b4c75 (diff) | |
download | talos-hostboot-44b63a15ac243ed21fcd35704838baced09ed64c.tar.gz talos-hostboot-44b63a15ac243ed21fcd35704838baced09ed64c.zip |
Support ccache.
Change-Id: I38b3c391f2fd33ec21d9c11d1088e284216b8b3b
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5133
Tested-by: Jenkins Server
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/makefile')
-rw-r--r-- | src/usr/hwpf/makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/usr/hwpf/makefile b/src/usr/hwpf/makefile index e7c1f3901..746ffd616 100644 --- a/src/usr/hwpf/makefile +++ b/src/usr/hwpf/makefile @@ -231,9 +231,10 @@ $(call GENTARGET, ${IF_CMP_COMPILER_TARGET}) : \ ${GENDIR}/${IF_CMP_FLEX_TARGET} \ ${IF_COMPILER_C_FILES} \ ${IF_COMPILER_H_FILES} - g++ ${IF_COMPILER_C_FILES} ${GENDIR}/${IF_CMP_FLEX_TARGET} \ - ${GENDIR}/${IF_CMP_YACC_C_TARGET} -I ifcompiler -I ${GENDIR} \ - -I ${ROOTPATH}/src/include/usr/hwpf/hwp -o $@ + $(CCACHE) $(HOST_PREFIX)g++ -O3 ${IF_COMPILER_C_FILES} \ + ${GENDIR}/${IF_CMP_FLEX_TARGET} \ + ${GENDIR}/${IF_CMP_YACC_C_TARGET} -I ifcompiler -I ${GENDIR} \ + -I ${ROOTPATH}/src/include/usr/hwpf/hwp -o $@ #------------------------------------------------------------------------------ # The FAPI return code and error info files generated from Error XML files @@ -265,9 +266,10 @@ $${GENDIR}/$(basename $(notdir $1)).if :\ $${GENDIR}/$${IF_CMP_COMPILER_TARGET} \ $${GENDIR}/$${FAPI_ATTR_ID_TARGET} \ $${HWP_IF_DEFINE_DIR} $1 - $$< -init $1 -outdir $$(dir $$@) \ - -attr $${GENDIR}/$${FAPI_ATTR_ID_TARGET} \ - -I $${HWP_IF_DEFINE_DIR} + $$(HOST_PREFIX)jail \ + $$< -init $1 -outdir $$(dir $$@) \ + -attr $${GENDIR}/$${FAPI_ATTR_ID_TARGET} \ + -I $${HWP_IF_DEFINE_DIR} @bzip2 $${GENDIR}/$(basename $(notdir $1)).if.list $${GENDIR}/$(basename $(notdir $1)).if.list.bz2: \ |