This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] 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.
-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.  */"; \

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]