* [PATCH] Makefile.am: add mkdir testsuite
@ 2013-10-10 6:49 Saul Wold
2013-10-10 14:23 ` Lucas De Marchi
0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2013-10-10 6:49 UTC (permalink / raw)
To: linux-modules; +Cc: sgw
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.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 91a766a..4ff42ae 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 {} \; )
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Makefile.am: add mkdir testsuite
2013-10-10 6:49 [PATCH] Makefile.am: add mkdir testsuite Saul Wold
@ 2013-10-10 14:23 ` Lucas De Marchi
0 siblings, 0 replies; 2+ messages in thread
From: Lucas De Marchi @ 2013-10-10 14:23 UTC (permalink / raw)
To: Saul Wold; +Cc: linux-modules
On Thu, Oct 10, 2013 at 3:49 AM, Saul Wold <sgw@linux.intel.com> wrote:
> 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.
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 91a766a..4ff42ae 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 {} \; )
Patch has been applied
Thanks
Lucas De Marchi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-10 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10 6:49 [PATCH] Makefile.am: add mkdir testsuite Saul Wold
2013-10-10 14:23 ` Lucas De Marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).