sm: fix rebuild errors
[pti/rtp.git] / meta-stx / recipes-core / stx-ha / sm.inc
index c19b496..d8488e2 100644 (file)
@@ -26,6 +26,9 @@ RDEPENDS_sm += " \
        "
 
 do_configure_append () {
+       cd ${S}/service-mgmt/sm/src
+       oe_runmake clean
+
        # fix the hardcoded path
        sed -i -e "s|/usr/local/sbin|${sbindir}|" \
                ${S}/service-mgmt/sm-common/src/sm_types.h \