public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/1] sim/moxie: add custom directory stamp rule
@ 2022-09-08 11:45 Tsukasa OI
  2022-09-08 11:45 ` [PATCH 1/1] " Tsukasa OI
  2022-10-09  3:57 ` [PATCH v2 0/1] " Tsukasa OI
  0 siblings, 2 replies; 5+ messages in thread
From: Tsukasa OI @ 2022-09-08 11:45 UTC (permalink / raw)
  To: Tsukasa OI, Anthony Green; +Cc: gdb-patches

Hello,

While I'm testing maintainer mode with:

$srcdir/configure \
    --enable-targets=all \
    --enable-maintainer-mode \
    --enable-gold \
    --enable-ld \
    --enable-nls \
&& make

I encountered several issues.  Along with:

1.  <https://sourceware.org/pipermail/binutils/2022-September/122770.html>
    which is resolved by:
    <https://sourceware.org/pipermail/binutils/2022-September/122780.html>
2.  <https://sourceware.org/pipermail/gdb-patches/2022-September/191731.html>

this is the third (and the last) issue preventing all-arch build with
the maintainer mode enabled.



If maintainer mode is enabled and try to build moxie simulator, the build
fails because there's no rule to make sim/moxie/.dirstamp to build
sim/moxie/moxie-gdb.dtb.

Normally, Automake creates directory stamp file when an output is in a
subdirectory.  However, only if the output is either a program or a library.

Because sim/moxie/moxie-gdb.dtb is neither a program nor a library (but a
binary-format DeviceTree, a data file), Automake does not generate dirstamp
file ($builddir/sim/moxie/.dirstamp) for it and causes this error.

This commit adds its own rule for the directory stamp (modified copy of the
Automake output) and adds the directory stamp file to DISTCLEANFILES to
mimic Automake-generated behavior (although "make distclean" does not work
when maintainer mode is enabled).

Thanks,
Tsukasa




Tsukasa OI (1):
  sim/moxie: add custom directory stamp rule

 sim/Makefile.in    | 23 ++++++++++++++---------
 sim/moxie/local.mk |  5 +++++
 2 files changed, 19 insertions(+), 9 deletions(-)


base-commit: 39eedb20b7e95e469d11667c11233233e9d0226b
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] sim/moxie: add custom directory stamp rule
  2022-09-08 11:45 [PATCH 0/1] sim/moxie: add custom directory stamp rule Tsukasa OI
@ 2022-09-08 11:45 ` Tsukasa OI
  2022-10-09  3:57 ` [PATCH v2 0/1] " Tsukasa OI
  1 sibling, 0 replies; 5+ messages in thread
From: Tsukasa OI @ 2022-09-08 11:45 UTC (permalink / raw)
  To: Tsukasa OI, Anthony Green; +Cc: gdb-patches

Because sim/moxie/moxie-gdb.dtb is neither a program nor a library, automake
does not generate dirstamp file ($builddir/sim/moxie/.dirstamp) for it.

When maintainer mode is enabled, it tries to rebuild sim/moxie/moxie-gdb.dtb
but fails because there's no rules for automake-generated dirstamp file
which moxie-gdb.dtb depends.

This commit adds its own rule for the directory stamp (modified copy of
the automake output) and adds the directory stamp file to DISTCLEANFILES to
mimic automake-generated behavior (although "make distclean" does not work
when maintainer mode is enabled).

sim/ChangeLog:

	* moxie/local.mk: Add custom rule for the directory stamp.
	* Makefile.in: Regenerate.
---
 sim/Makefile.in    | 23 ++++++++++++++---------
 sim/moxie/local.mk |  5 +++++
 2 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/sim/Makefile.in b/sim/Makefile.in
index dbbaa84224a..6d0948cfe2e 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -154,13 +154,14 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \
 @SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_29 = $(m68hc11_BUILD_OUTPUTS)
 @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_30 = $(mn10300_BUILD_OUTPUTS)
 @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_31 = $(mn10300_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_or1k_TRUE@am__append_32 = $(or1k_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_moxie_TRUE@am__append_32 = moxie/$(am__dirstamp)
 @SIM_ENABLE_ARCH_or1k_TRUE@am__append_33 = $(or1k_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_sh_TRUE@am__append_34 = $(sh_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = sh/gencode
-@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = $(sh_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_v850_TRUE@am__append_37 = $(v850_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_or1k_TRUE@am__append_34 = $(or1k_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = $(sh_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = sh/gencode
+@SIM_ENABLE_ARCH_sh_TRUE@am__append_37 = $(sh_BUILD_OUTPUTS)
 @SIM_ENABLE_ARCH_v850_TRUE@am__append_38 = $(v850_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_v850_TRUE@am__append_39 = $(v850_BUILD_OUTPUTS)
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
@@ -932,13 +933,13 @@ CLEANFILES = common/version.c common/version.c-stamp \
 	testsuite/common/bits-gen testsuite/common/bits32m0.c \
 	testsuite/common/bits32m31.c testsuite/common/bits64m0.c \
 	testsuite/common/bits64m63.c
-DISTCLEANFILES = 
+DISTCLEANFILES = $(am__append_32)
 MOSTLYCLEANFILES = core $(am__append_5) site-sim-config.exp \
 	testrun.log testrun.sum $(am__append_7) $(am__append_10) \
 	$(am__append_12) $(am__append_15) $(am__append_17) \
 	$(am__append_19) $(am__append_21) $(am__append_24) \
 	$(am__append_26) $(am__append_29) $(am__append_31) \
-	$(am__append_33) $(am__append_36) $(am__append_38)
+	$(am__append_34) $(am__append_37) $(am__append_39)
 AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
 AM_CPPFLAGS = -I$(srcroot)/include $(SIM_INLINE) -I$(srcdir)/common
 COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
@@ -947,8 +948,8 @@ SIM_ALL_RECURSIVE_DEPS = common/libcommon.a $(am__append_2) \
 	$(am__append_6) $(am__append_8) $(am__append_11) \
 	$(am__append_13) $(am__append_16) $(am__append_18) \
 	$(am__append_20) $(am__append_22) $(am__append_25) \
-	$(am__append_27) $(am__append_30) $(am__append_32) \
-	$(am__append_34) $(am__append_37)
+	$(am__append_27) $(am__append_30) $(am__append_33) \
+	$(am__append_35) $(am__append_38)
 common_libcommon_a_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
 	-DSIM_COMMON_BUILD \
@@ -2758,6 +2759,10 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
 @SIM_ENABLE_ARCH_moxie_TRUE@	  echo "update the device tree blob."; \
 @SIM_ENABLE_ARCH_moxie_TRUE@	fi
 
+@SIM_ENABLE_ARCH_moxie_TRUE@moxie/$(am__dirstamp):
+@SIM_ENABLE_ARCH_moxie_TRUE@	@$(MKDIR_P) moxie
+@SIM_ENABLE_ARCH_moxie_TRUE@	@: >moxie/$(am__dirstamp)
+
 @SIM_ENABLE_ARCH_or1k_TRUE@or1k/mloop.c or1k/eng.h: or1k/stamp-mloop ; @true
 @SIM_ENABLE_ARCH_or1k_TRUE@or1k/stamp-mloop: $(srccom)/genmloop.sh or1k/mloop.in
 @SIM_ENABLE_ARCH_or1k_TRUE@	$(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
diff --git a/sim/moxie/local.mk b/sim/moxie/local.mk
index cd57f56ee9a..137e5876f9c 100644
--- a/sim/moxie/local.mk
+++ b/sim/moxie/local.mk
@@ -30,3 +30,8 @@ dtb_DATA = %D%/moxie-gdb.dtb
 	  echo "tree compiler tool (dtc) is missing.  Install the tool to "; \
 	  echo "update the device tree blob."; \
 	fi
+
+%D%/$(am__dirstamp):
+	@$(MKDIR_P) %D%
+	@: >%D%/$(am__dirstamp)
+DISTCLEANFILES += %D%/$(am__dirstamp)
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 0/1] sim/moxie: add custom directory stamp rule
  2022-09-08 11:45 [PATCH 0/1] sim/moxie: add custom directory stamp rule Tsukasa OI
  2022-09-08 11:45 ` [PATCH 1/1] " Tsukasa OI
@ 2022-10-09  3:57 ` Tsukasa OI
  2022-10-09  3:57   ` [PATCH v2 1/1] " Tsukasa OI
  1 sibling, 1 reply; 5+ messages in thread
From: Tsukasa OI @ 2022-10-09  3:57 UTC (permalink / raw)
  To: Tsukasa OI, Andrew Burgess, Mike Frysinger, Anthony Green; +Cc: gdb-patches

Hello,

v1:
<https://sourceware.org/pipermail/gdb-patches/2022-September/191750.html>

[Changes: v1 -> v2]

-   Commit message changes (removed ChangeLog)
    [It's pretty much like a PING]


While I'm building all-architecture Binutils with maintainer mode by:

$srcdir/configure \
    --enable-targets=all \
    --enable-maintainer-mode \
    --enable-gold \
    --enable-ld \
    --enable-nls \
&& make

I encountered several issues.  Along with:

1.  <https://sourceware.org/pipermail/binutils/2022-September/122770.html>
    which is resolved by:
    <https://sourceware.org/pipermail/binutils/2022-September/122780.html>
2.  <https://sourceware.org/pipermail/gdb-patches/2022-September/191731.html>

this is the third (and the last) issue preventing all-arch build with
the maintainer mode enabled.


If maintainer mode is enabled and try to build Moxie simulator, the build
fails because there's no rule to make sim/moxie/.dirstamp to build
sim/moxie/moxie-gdb.dtb.

Normally, Automake creates directory stamp file when an output is in a
subdirectory.  However, only if the output is either a program or a library.

Because sim/moxie/moxie-gdb.dtb is neither a program nor a library (but a
binary-format DeviceTree, a data file), Automake does not generate dirstamp
file ($builddir/sim/moxie/.dirstamp) for it and causes this error.

This commit adds its own rule for the directory stamp (modified copy of the
Automake output) and adds the directory stamp file to DISTCLEANFILES to
mimic Automake-generated behavior (although "make distclean" does not work
when maintainer mode is enabled).

Thanks,
Tsukasa




Tsukasa OI (1):
  sim/moxie: add custom directory stamp rule

 sim/Makefile.in    | 23 ++++++++++++++---------
 sim/moxie/local.mk |  5 +++++
 2 files changed, 19 insertions(+), 9 deletions(-)


base-commit: c10a862f17847bc9c50d680c87b87dc51ae4b95e
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/1] sim/moxie: add custom directory stamp rule
  2022-10-09  3:57 ` [PATCH v2 0/1] " Tsukasa OI
@ 2022-10-09  3:57   ` Tsukasa OI
  2022-10-11 10:34     ` Andrew Burgess
  0 siblings, 1 reply; 5+ messages in thread
From: Tsukasa OI @ 2022-10-09  3:57 UTC (permalink / raw)
  To: Tsukasa OI, Andrew Burgess, Mike Frysinger, Anthony Green; +Cc: gdb-patches

Because sim/moxie/moxie-gdb.dtb is neither a program nor a library, automake
does not generate dirstamp file ($builddir/sim/moxie/.dirstamp) for it.

When maintainer mode is enabled, it tries to rebuild sim/moxie/moxie-gdb.dtb
but fails because there's no rules for automake-generated dirstamp file
which moxie-gdb.dtb depends.

This commit adds its own rule for the directory stamp (modified copy of
the automake output) and adds the directory stamp file to DISTCLEANFILES to
mimic automake-generated behavior (although "make distclean" does not work
when maintainer mode is enabled).
---
 sim/Makefile.in    | 23 ++++++++++++++---------
 sim/moxie/local.mk |  5 +++++
 2 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/sim/Makefile.in b/sim/Makefile.in
index 3278febc5e8..2d57a2bd4cc 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -154,13 +154,14 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \
 @SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_29 = $(m68hc11_BUILD_OUTPUTS)
 @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_30 = $(mn10300_BUILD_OUTPUTS)
 @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_31 = $(mn10300_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_or1k_TRUE@am__append_32 = $(or1k_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_moxie_TRUE@am__append_32 = moxie/$(am__dirstamp)
 @SIM_ENABLE_ARCH_or1k_TRUE@am__append_33 = $(or1k_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_sh_TRUE@am__append_34 = $(sh_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = sh/gencode
-@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = $(sh_BUILD_OUTPUTS)
-@SIM_ENABLE_ARCH_v850_TRUE@am__append_37 = $(v850_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_or1k_TRUE@am__append_34 = $(or1k_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = $(sh_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = sh/gencode
+@SIM_ENABLE_ARCH_sh_TRUE@am__append_37 = $(sh_BUILD_OUTPUTS)
 @SIM_ENABLE_ARCH_v850_TRUE@am__append_38 = $(v850_BUILD_OUTPUTS)
+@SIM_ENABLE_ARCH_v850_TRUE@am__append_39 = $(v850_BUILD_OUTPUTS)
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
@@ -935,13 +936,13 @@ CLEANFILES = common/version.c common/version.c-stamp \
 	testsuite/common/bits-gen testsuite/common/bits32m0.c \
 	testsuite/common/bits32m31.c testsuite/common/bits64m0.c \
 	testsuite/common/bits64m63.c
-DISTCLEANFILES = 
+DISTCLEANFILES = $(am__append_32)
 MOSTLYCLEANFILES = core $(am__append_5) site-sim-config.exp \
 	testrun.log testrun.sum $(am__append_7) $(am__append_10) \
 	$(am__append_12) $(am__append_15) $(am__append_17) \
 	$(am__append_19) $(am__append_21) $(am__append_24) \
 	$(am__append_26) $(am__append_29) $(am__append_31) \
-	$(am__append_33) $(am__append_36) $(am__append_38)
+	$(am__append_34) $(am__append_37) $(am__append_39)
 AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
 AM_CPPFLAGS = -I$(srcroot)/include $(SIM_INLINE) -I$(srcdir)/common
 COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
@@ -950,8 +951,8 @@ SIM_ALL_RECURSIVE_DEPS = common/libcommon.a $(am__append_2) \
 	$(am__append_6) $(am__append_8) $(am__append_11) \
 	$(am__append_13) $(am__append_16) $(am__append_18) \
 	$(am__append_20) $(am__append_22) $(am__append_25) \
-	$(am__append_27) $(am__append_30) $(am__append_32) \
-	$(am__append_34) $(am__append_37)
+	$(am__append_27) $(am__append_30) $(am__append_33) \
+	$(am__append_35) $(am__append_38)
 common_libcommon_a_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
 	-DSIM_COMMON_BUILD \
@@ -2761,6 +2762,10 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
 @SIM_ENABLE_ARCH_moxie_TRUE@	  echo "update the device tree blob."; \
 @SIM_ENABLE_ARCH_moxie_TRUE@	fi
 
+@SIM_ENABLE_ARCH_moxie_TRUE@moxie/$(am__dirstamp):
+@SIM_ENABLE_ARCH_moxie_TRUE@	@$(MKDIR_P) moxie
+@SIM_ENABLE_ARCH_moxie_TRUE@	@: >moxie/$(am__dirstamp)
+
 @SIM_ENABLE_ARCH_or1k_TRUE@or1k/mloop.c or1k/eng.h: or1k/stamp-mloop ; @true
 @SIM_ENABLE_ARCH_or1k_TRUE@or1k/stamp-mloop: $(srccom)/genmloop.sh or1k/mloop.in
 @SIM_ENABLE_ARCH_or1k_TRUE@	$(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
diff --git a/sim/moxie/local.mk b/sim/moxie/local.mk
index cd57f56ee9a..137e5876f9c 100644
--- a/sim/moxie/local.mk
+++ b/sim/moxie/local.mk
@@ -30,3 +30,8 @@ dtb_DATA = %D%/moxie-gdb.dtb
 	  echo "tree compiler tool (dtc) is missing.  Install the tool to "; \
 	  echo "update the device tree blob."; \
 	fi
+
+%D%/$(am__dirstamp):
+	@$(MKDIR_P) %D%
+	@: >%D%/$(am__dirstamp)
+DISTCLEANFILES += %D%/$(am__dirstamp)
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/1] sim/moxie: add custom directory stamp rule
  2022-10-09  3:57   ` [PATCH v2 1/1] " Tsukasa OI
@ 2022-10-11 10:34     ` Andrew Burgess
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Burgess @ 2022-10-11 10:34 UTC (permalink / raw)
  To: Tsukasa OI, Tsukasa OI, Mike Frysinger, Anthony Green; +Cc: gdb-patches

Tsukasa OI <research_trasio@irq.a4lg.com> writes:

> Because sim/moxie/moxie-gdb.dtb is neither a program nor a library, automake
> does not generate dirstamp file ($builddir/sim/moxie/.dirstamp) for it.
>
> When maintainer mode is enabled, it tries to rebuild sim/moxie/moxie-gdb.dtb
> but fails because there's no rules for automake-generated dirstamp file
> which moxie-gdb.dtb depends.
>
> This commit adds its own rule for the directory stamp (modified copy of
> the automake output) and adds the directory stamp file to DISTCLEANFILES to
> mimic automake-generated behavior (although "make distclean" does not work
> when maintainer mode is enabled).

Thanks for doing this.

I've pushed this patch with an extra comment added in local.mk (and
Makefile.in regenerated).

Thanks,
Andrew



> ---
>  sim/Makefile.in    | 23 ++++++++++++++---------
>  sim/moxie/local.mk |  5 +++++
>  2 files changed, 19 insertions(+), 9 deletions(-)
>
> diff --git a/sim/Makefile.in b/sim/Makefile.in
> index 3278febc5e8..2d57a2bd4cc 100644
> --- a/sim/Makefile.in
> +++ b/sim/Makefile.in
> @@ -154,13 +154,14 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \
>  @SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_29 = $(m68hc11_BUILD_OUTPUTS)
>  @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_30 = $(mn10300_BUILD_OUTPUTS)
>  @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_31 = $(mn10300_BUILD_OUTPUTS)
> -@SIM_ENABLE_ARCH_or1k_TRUE@am__append_32 = $(or1k_BUILD_OUTPUTS)
> +@SIM_ENABLE_ARCH_moxie_TRUE@am__append_32 = moxie/$(am__dirstamp)
>  @SIM_ENABLE_ARCH_or1k_TRUE@am__append_33 = $(or1k_BUILD_OUTPUTS)
> -@SIM_ENABLE_ARCH_sh_TRUE@am__append_34 = $(sh_BUILD_OUTPUTS)
> -@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = sh/gencode
> -@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = $(sh_BUILD_OUTPUTS)
> -@SIM_ENABLE_ARCH_v850_TRUE@am__append_37 = $(v850_BUILD_OUTPUTS)
> +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_34 = $(or1k_BUILD_OUTPUTS)
> +@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = $(sh_BUILD_OUTPUTS)
> +@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = sh/gencode
> +@SIM_ENABLE_ARCH_sh_TRUE@am__append_37 = $(sh_BUILD_OUTPUTS)
>  @SIM_ENABLE_ARCH_v850_TRUE@am__append_38 = $(v850_BUILD_OUTPUTS)
> +@SIM_ENABLE_ARCH_v850_TRUE@am__append_39 = $(v850_BUILD_OUTPUTS)
>  subdir = .
>  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
>  am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
> @@ -935,13 +936,13 @@ CLEANFILES = common/version.c common/version.c-stamp \
>  	testsuite/common/bits-gen testsuite/common/bits32m0.c \
>  	testsuite/common/bits32m31.c testsuite/common/bits64m0.c \
>  	testsuite/common/bits64m63.c
> -DISTCLEANFILES = 
> +DISTCLEANFILES = $(am__append_32)
>  MOSTLYCLEANFILES = core $(am__append_5) site-sim-config.exp \
>  	testrun.log testrun.sum $(am__append_7) $(am__append_10) \
>  	$(am__append_12) $(am__append_15) $(am__append_17) \
>  	$(am__append_19) $(am__append_21) $(am__append_24) \
>  	$(am__append_26) $(am__append_29) $(am__append_31) \
> -	$(am__append_33) $(am__append_36) $(am__append_38)
> +	$(am__append_34) $(am__append_37) $(am__append_39)
>  AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
>  AM_CPPFLAGS = -I$(srcroot)/include $(SIM_INLINE) -I$(srcdir)/common
>  COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
> @@ -950,8 +951,8 @@ SIM_ALL_RECURSIVE_DEPS = common/libcommon.a $(am__append_2) \
>  	$(am__append_6) $(am__append_8) $(am__append_11) \
>  	$(am__append_13) $(am__append_16) $(am__append_18) \
>  	$(am__append_20) $(am__append_22) $(am__append_25) \
> -	$(am__append_27) $(am__append_30) $(am__append_32) \
> -	$(am__append_34) $(am__append_37)
> +	$(am__append_27) $(am__append_30) $(am__append_33) \
> +	$(am__append_35) $(am__append_38)
>  common_libcommon_a_CPPFLAGS = \
>  	$(AM_CPPFLAGS) \
>  	-DSIM_COMMON_BUILD \
> @@ -2761,6 +2762,10 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
>  @SIM_ENABLE_ARCH_moxie_TRUE@	  echo "update the device tree blob."; \
>  @SIM_ENABLE_ARCH_moxie_TRUE@	fi
>  
> +@SIM_ENABLE_ARCH_moxie_TRUE@moxie/$(am__dirstamp):
> +@SIM_ENABLE_ARCH_moxie_TRUE@	@$(MKDIR_P) moxie
> +@SIM_ENABLE_ARCH_moxie_TRUE@	@: >moxie/$(am__dirstamp)
> +
>  @SIM_ENABLE_ARCH_or1k_TRUE@or1k/mloop.c or1k/eng.h: or1k/stamp-mloop ; @true
>  @SIM_ENABLE_ARCH_or1k_TRUE@or1k/stamp-mloop: $(srccom)/genmloop.sh or1k/mloop.in
>  @SIM_ENABLE_ARCH_or1k_TRUE@	$(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
> diff --git a/sim/moxie/local.mk b/sim/moxie/local.mk
> index cd57f56ee9a..137e5876f9c 100644
> --- a/sim/moxie/local.mk
> +++ b/sim/moxie/local.mk
> @@ -30,3 +30,8 @@ dtb_DATA = %D%/moxie-gdb.dtb
>  	  echo "tree compiler tool (dtc) is missing.  Install the tool to "; \
>  	  echo "update the device tree blob."; \
>  	fi
> +
> +%D%/$(am__dirstamp):
> +	@$(MKDIR_P) %D%
> +	@: >%D%/$(am__dirstamp)
> +DISTCLEANFILES += %D%/$(am__dirstamp)
> -- 
> 2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-11 10:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 11:45 [PATCH 0/1] sim/moxie: add custom directory stamp rule Tsukasa OI
2022-09-08 11:45 ` [PATCH 1/1] " Tsukasa OI
2022-10-09  3:57 ` [PATCH v2 0/1] " Tsukasa OI
2022-10-09  3:57   ` [PATCH v2 1/1] " Tsukasa OI
2022-10-11 10:34     ` Andrew Burgess

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 read-only IMAP folder(s) and NNTP newsgroup(s).