summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-06-10 02:25:35 +0000
committerMike Frysinger <vapier@gentoo.org>2013-06-10 02:25:35 +0000
commitd303935e79b890e16fdd6acbbb1325b524243d88 (patch)
treea7698e10f0058c0376d9769a898d420022b6e781 /sim
parent46b39981ce282ac72d2536427d085f9a83c2a892 (diff)
downloadgdb-d303935e79b890e16fdd6acbbb1325b524243d88.tar.gz
sim: bfin: only regen linux-fixed-code.h in maintainer mode
Since many people don't have a Blackfin toolchain available, only try to regenerate the header file when in maintainer mode. This file rarely changes, and when it does, we commit the generated output, so there's almost never a need to run directly on an end system.
Diffstat (limited to 'sim')
-rw-r--r--sim/bfin/ChangeLog5
-rw-r--r--sim/bfin/Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index c5f8e635099..594b78e97ce 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-09 Mike Frysinger <vapier@gentoo.org>
+
+ * Makefile.in ($(srcdir)/linux-fixed-code.h): Add
+ @MAINTAINER_MODE_TRUE@ as the first item in the dependency list.
+
2013-06-03 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, configure: Regenerate.
diff --git a/sim/bfin/Makefile.in b/sim/bfin/Makefile.in
index 426f54358e1..96a94073c7e 100644
--- a/sim/bfin/Makefile.in
+++ b/sim/bfin/Makefile.in
@@ -49,7 +49,7 @@ SIM_EXTRA_LIBS = @SDL_LIBS@ -lm
## COMMON_POST_CONFIG_FRAG
-$(srcdir)/linux-fixed-code.h: $(srcdir)/linux-fixed-code.s Makefile.in
+$(srcdir)/linux-fixed-code.h: @MAINTAINER_MODE_TRUE@ $(srcdir)/linux-fixed-code.s Makefile.in
$(AS_FOR_TARGET) $< -o linux-fixed-code.o
( set -e; \
echo "/* DO NOT EDIT: Autogenerated from linux-fixed-code.s. */"; \