Whamcloud - gitweb
LU-12634 build: kbuild changes in 5.3 drop subdir-m
[fs/lustre-release.git] / lustre / autoconf / lustre-core.m4
index 79d8e8b..89e2141 100644 (file)
@@ -3166,7 +3166,7 @@ AS_IF([test $ENABLEOSDADDON -eq 0], [
                OSDADDON=""
        ], [ln -s $OSDADDON $LUSTRE/$OSDMODNAME], [
                AC_MSG_RESULT([$OSDMODNAME])
-               OSDADDON="subdir-m += $OSDMODNAME"
+               OSDADDON="obj-m += $OSDMODNAME/"
        ], [
                AC_MSG_RESULT([can't link])
                OSDADDON=""