aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass
blob: c1079e217e1bdfcd35656122b1df804e80825eda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# poky's base.bbclass must be named Makefile, makefile, or GNUmakefile to be processed.
# The names of the basesystem Makefile are Makefile.client and Makefile.server,so you
# need to define a do_compile to process the Makefile.
bsmake_do_compile (){
    oe_runmake -f ${BSMAKE_FILE}
}

# base_do_install under poky's base.bbclass is empty so definition is needed.
bsmake_do_install (){
    oe_runmake  -f ${BSMAKE_FILE} DESTDIR=${D} install
}

#BaseSystem's .so does not have multiple versions. Therefore, overwrite these variables.
SOLIBS = ".so"
FILES_SOLIBSDEV = ""

EXPORT_FUNCTIONS do_compile do_install