From: Saul Wold Date: Thu, 10 Oct 2013 06:49:48 +0000 (-0700) Subject: Makefile.am: add mkdir testsuite X-Git-Tag: v16~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=518daf4fd1f3a08e2624375079bc9fc93958ca0d;p=thirdparty%2Fkmod.git Makefile.am: add mkdir testsuite If we are note building in the existing source tree and have disabled dependency-tracking then the testsuite directory is not created during the configure phase and will not exist when the cp of ROOTFS_PRISTINE occurs, thus causing an error and fail. --- diff --git a/Makefile.am b/Makefile.am index 3ec70d26..1c1e5f73 100644 --- a/Makefile.am +++ b/Makefile.am @@ -130,7 +130,7 @@ endif ROOTFS = testsuite/rootfs ROOTFS_PRISTINE = $(top_srcdir)/testsuite/rootfs-pristine -CREATE_ROOTFS = $(AM_V_GEN) ( $(RM) -rf $(ROOTFS) && \ +CREATE_ROOTFS = $(AM_V_GEN) ( $(RM) -rf $(ROOTFS) && mkdir -p $(dir $(ROOTFS)) && \ cp -r $(ROOTFS_PRISTINE) $(ROOTFS) && \ touch testsuite/stamp-rootfs && \ find $(ROOTFS) -type d -exec chmod +w {} \; )