[patch] sim: bfin: only regen linux-fixed-code.h in maintainer mode

Mike Frysinger vapier@gentoo.org
Wed Jun 5 02:06:00 GMT 2013


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.
-mike

2013-06-04  Mike Frysinger  <vapier@gentoo.org>

	* Makefile.in ($(srcdir)/linux-fixed-code.h): Add
	@MAINTAINER_MODE_TRUE@ as the first item in the dependency list.

--- sim/bfin/Makefile.in	1 Jan 2013 06:41:32 -0000	1.7
+++ sim/bfin/Makefile.in	5 Jun 2013 02:04:06 -0000
@@ -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.  */"; \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130605/d77466fc/attachment.sig>


More information about the Gdb-patches mailing list