From 0e68c6258ef802c0e67a69921f5c23a3caa1c70f Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 3 Feb 2015 05:17:49 -0200 Subject: [PATCH] build: let touch on directory as last step We need to let these instructions in kmod to be the last executed ones. Otherwise the subdirectory containing the modules could propagate up the time access. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7774759c..a99a5a23 100644 --- a/Makefile.am +++ b/Makefile.am @@ -215,10 +215,10 @@ ROOTFS = testsuite/rootfs ROOTFS_PRISTINE = $(top_srcdir)/testsuite/rootfs-pristine 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 {} \; && \ $(top_srcdir)/testsuite/populate-modules.sh \ - $(MODULE_PLAYGROUND) $(ROOTFS) ) + $(MODULE_PLAYGROUND) $(ROOTFS) ) && \ + touch testsuite/stamp-rootfs build-module-playground: $(AM_V_GEN)if test "$(top_srcdir)" != "$(top_builddir)"; then \ -- 2.47.2