meta-starlingx/recipes-core/stx-ha/sm-db.inc
babak sarashki e6a7fff91e Staging starlingx
Added stx-config, stx-fault, and stx-metal.
2020-05-18 13:07:27 -07:00

27 lines
564 B
PHP

PACKAGES += " sm-db"
# inherit pkgconfig
#DEPENDS += " \
# sm-common \
# "
do_configure_prepend () {
:
}
do_compile_prepend () {
cd ${S}/service-mgmt/sm-db-1.0.0/src
oe_runmake -e VER=0 VER_MJR=1 \
INCLUDES="-I. $(pkg-config --cflags glib-2.0)" \
CCFLAGS="${CXXFLAGS} -fPIC" LDFLAGS="${LDFLAGS} -shared -rdynamic"
}
do_install_prepend () {
cd ${S}/service-mgmt/sm-db-1.0.0/src
oe_runmake -e DEST_DIR=${D} BIN_DIR=${bindir} UNIT_DIR=${systemd_system_unitdir} \
LIB_DIR=${libdir} INC_DIR=${includedir} VER=0 VER_MJR=1 install
}
FILES_sm-db = " "