core_portme.mak | |
Variables | |
OUTFLAG | Use this flag to define how to to get an executable (e.g -o) |
CC | Use this flag to define compiler to use |
CFLAGS | Use this flag to define compiler options. |
LFLAGS_END | Define any libraries needed for linking or other flags that should come at the end of the link line (e.g. |
PORT_SRCS | Port specific source files can be added here |
LOAD | Define this flag if you need to load to a target, as in a cross compile environment. |
RUN | Define this flag if running does not consist of simple invocation of the binary. |
SEPARATE_COMPILE | Define if you need to separate compilation from link stage. |
PORT_OBJS | Port specific object files can be added here |
Build Targets | |
port_prebuild | Generate any files that are needed before actual build starts. |
port_postbuild | Generate any files that are needed after actual build end. |
port_postrun | Do platform specific after run stuff. |
port_prerun | Do platform specific after run stuff. |
port_postload | Do platform specific after load stuff. |
port_preload | Do platform specific before load stuff. |
Variables | |
OPATH | |
PERL | Define perl executable to calculate the geomean if running separate. |
Generate any files that are needed before actual build starts. E.g. generate profile guidance files. Sample PGO generation for gcc enabled with PGO=1
Note | Using REBUILD=1 |
Use make PGO=1 to invoke this sample processing.