[Sim] Patch to sim/common/Make-common.in

Ben Elliston bje@redhat.com
Sun Dec 3 20:42:00 GMT 2000


The following patch activates the new "defs" file support in cgen-sim.
Okay to commit?  This is the last one -- I promise. :-)

Ben


2000-12-04  Ben Elliston  <bje@redhat.com>

	* Make-common.in (cgen-defs): New target.
	(cgen-decode): Pass $(EXTRAFILES).

*** Make-common.in	2000/09/14 21:01:42	1.97
--- Make-common.in	2000/12/04 04:40:24
***************
*** 1,5 ****
  # Makefile fragment for common parts of all simulators.
! # Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
  # Contributed by Cygnus Support.
  
  # This program is free software; you can redistribute it and/or modify
--- 1,5 ----
  # Makefile fragment for common parts of all simulators.
! # Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
  # Contributed by Cygnus Support.
  
  # This program is free software; you can redistribute it and/or modify
***************
*** 691,700 ****
  		$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
  		$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
  
  cgen-decode: force
  	$(SHELL) $(srccom)/cgen.sh decode $(srcdir) \
  		$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
! 		$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored
  
  cgen-cpu-decode: force
  	$(SHELL) $(srccom)/cgen.sh cpu-decode $(srcdir) \
--- 691,705 ----
  		$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
  		$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
  
+ cgen-defs: force
+ 	$(SHELL) $(srccom)/cgen.sh defs $(srcdir) \
+ 		$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
+ 		$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored
+ 
  cgen-decode: force
  	$(SHELL) $(srccom)/cgen.sh decode $(srcdir) \
  		$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
! 		$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
  
  cgen-cpu-decode: force
  	$(SHELL) $(srccom)/cgen.sh cpu-decode $(srcdir) \


More information about the Cgen mailing list