sim: bfin: only regen linux-fixed-code.h in maintainer mode
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Jun 2013 02:25:35 +0000 (02:25 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jun 2013 02:25:35 +0000 (02:25 +0000)
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.

sim/bfin/ChangeLog
sim/bfin/Makefile.in

index c5f8e63..594b78e 100644 (file)
@@ -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.
index 426f543..96a9407 100644 (file)
@@ -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.  */"; \