X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=autoMakefile.am;h=768deeb4b5daf67eaad5654ba66f84bf0c453285;hp=d45897a5d802cf54360b200fa7c01a2b91a1cbb2;hb=26cc6c4228ae19a8dd522042060852f50bbb621a;hpb=bb816c498612de8358cfd8008921ab9efac636b7 diff --git a/autoMakefile.am b/autoMakefile.am index d45897a..768deeb 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -99,6 +99,7 @@ rpms: @PACKAGE_TARNAME@.spec dist Makefile for arg in $(ac_configure_args); do \ case $$arg in \ --with-release=* ) ;; \ + --with-kmp-moddir=* ) ;; \ --enable-tests | --disable-tests ) ;; \ --with-linux=* | --with-linux-obj=* ) ;; \ * ) CONFIGURE_ARGS="$$CONFIGURE_ARGS '$$arg'" ;; \ @@ -111,6 +112,9 @@ rpms: @PACKAGE_TARNAME@.spec dist Makefile RPMARGS="$$RPMARGS --define \"kobjdir @LINUX_OBJ@\""; \ fi; \ fi; \ + if [ -n "@KMP_MODDIR@" ]; then \ + RPMARGS="$$RPMARGS --define \"kmoddir @KMP_MODDIR@\""; \ + fi; \ if [ -n "@CROSS_PATH@" ]; then \ if [[ "X$(BUILD_SERVER)" = Xtrue ]]; then \ echo -e "\n" \