summaryrefslogtreecommitdiffstats
path: root/meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass
diff options
context:
space:
mode:
authorRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-11-26 23:07:08 +0900
committerRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-01 11:40:08 +0900
commit9c714c0765fe74288b613c93fac2265368fa4aaa (patch)
treeb470525dcc192e183ef84d1217754c96b5e4d3ae /meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass
parent44dc9ffbcb89213a9d3e60d00d5d739415ec9adf (diff)
oem-pr-bs: initial commit
This is the initial commit of agl-basesystem. - create new layer, meta-oem-production-readiness - create sub-layer, meta-agl-basesystem - add 1 feature to enable basesystem - add 2 bbclass which support to build - add packagegroups as place holder Bug-AGL: SPEC-3670 Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: I457fb12086d913e8082843c87de9673df4d65710
Diffstat (limited to 'meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass')
-rw-r--r--meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass b/meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass
new file mode 100644
index 00000000..6e5caba9
--- /dev/null
+++ b/meta-oem-production-readiness/meta-agl-basesystem/classes/bsmake.bbclass
@@ -0,0 +1,13 @@
+# 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
+}
+
+EXPORT_FUNCTIONS do_compile do_install