X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-flock%2Fstx-ha%2Fsm-db.bb;fp=meta-starlingx%2Fmeta-stx-flock%2Fstx-ha%2Fsm-db.bb;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=db24ce62490b2318ca4c322b8aa0ffaf62784f48;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-flock/stx-ha/sm-db.bb b/meta-starlingx/meta-stx-flock/stx-ha/sm-db.bb deleted file mode 100644 index db24ce6..0000000 --- a/meta-starlingx/meta-stx-flock/stx-ha/sm-db.bb +++ /dev/null @@ -1,35 +0,0 @@ -require ha-common.inc -SUBPATH0 = "service-mgmt/sm-db" - -DEPENDS_append = " \ - sqlite3-native \ - libsm-common \ - " - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI += "file://0001-sm-db-Fix-dest-libdir.patch" - -EXTRA_OEMAKE = ' -e VER=0 VER_MJR=1 \ - INCLUDES="-I." \ - CCFLAGS="${CXXFLAGS} -fPIC" \ - LDFLAGS="${LDFLAGS} -shared -rdynamic -L${S}/service-mgmt/sm-common/src " \ - EXTRACCFLAGS="${LDFLAGS} -L${S}/service-mgmt/sm-common/src " \ - ' - -do_compile_prepend() { - cd ${S} - if [ ! -f database/sm.db ]; then - sqlite3 database/sm.db < database/create_sm_db.sql - fi - if [ ! -f database/sm.hb.db ]; then - sqlite3 database/sm.hb.db < database/create_sm_hb_db.sql - fi -} - -do_install() { - cd ${S} - 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 -}