2 ## Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 DESCRIPTION = "stx-ha"
21 SRCREV = "a7b7d35b9922a3f2a8462492b7f1958f135a612d"
27 #3b83ef96387f14655fc854ddc3c6bd57 ./LICENSE
28 #3b83ef96387f14655fc854ddc3c6bd57 ./service-mgmt-api/sm-api/LICENSE
29 #3b83ef96387f14655fc854ddc3c6bd57 ./service-mgmt-client/LICENSE
30 #1dece7821bf3fd70fe1309eaa37d52a2 ./service-mgmt-client/sm-client/LICENSE
31 #3b83ef96387f14655fc854ddc3c6bd57 ./service-mgmt-tools/sm-tools/LICENSE
32 #3b83ef96387f14655fc854ddc3c6bd57 ./service-mgmt/LICENSE
33 #3b83ef96387f14655fc854ddc3c6bd57 ./service-mgmt/sm-common/LICENSE
34 #3b83ef96387f14655fc854ddc3c6bd57 ./service-mgmt/sm-db/LICENSE
35 #3b83ef96387f14655fc854ddc3c6bd57 ./service-mgmt/sm/LICENSE
37 LICENSE = "Apache-2.0"
38 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
40 SRC_URI = "git://opendev.org/starlingx/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH} \
41 file://0001-Allow-user-to-define-destination-libdir.patch \
42 file://0002-Install-sm-eru-sm-eru-dump-and-sm-eru-watchdog.patch \
43 file://0003-pragma-ignore-Wunused-result-errors-with-gcc-8.3.patch \
44 file://0004-Cast-size_t-to-int-to-silence-gcc-8.3.patch \
51 DISTRO_FEATURES_BACKFILL_CONSIDERED_remove = "sysvinit"
69 require stx-ocf-scripts.inc
71 #TODO: Shouldn't have to do this
72 LDFLAGS_remove = "-Wl,--as-needed"
87 FILES_${PN}-dev += " \
88 var/lib/sm/watchdog/modules/libsm_watchdog_nfs.so \
90 # var/lib/sm/watchdog/modules/libsm_watchdog_nfs.so.1 \
91 # var/lib/sm/watchdog/modules/libsm_watchdog_nfs.so.0 \
92 # ${libdir}/libsm_common.so.1 \
93 # ${libdir}/libsm_common.so.0