This is the mail archive of the gdb-patches@sources.redhat.com 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]

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


This patch adds a $(CGEN_CPU_DIR) variable used to locate CPU
descriptions in the revised cgen source tree.  Okay to commit?


2001-07-05  Ben Elliston  <bje@redhat.com>

	* Make-common.in (srccgen): Remove.
	(CGEN_CPU_DIR): Define.
	(CGEN_READ_SCM): Redefine without $(srccgen).
	(CGEN_ARCH_SCM): Ditto.
	(CGEN_CPU_SCM): Ditto.
	(CGEN_DECODE_SCM): Ditto.
	(CGEN_DESC_SCM): Ditto.

Index: Make-common.in
===================================================================
RCS file: /cvs/src/src/sim/common/Make-common.in,v
retrieving revision 1.5
diff -u -c -r1.5 Make-common.in
*** Make-common.in	2000/12/27 17:47:20	1.5
--- Make-common.in	2001/07/05 13:40:32
***************
*** 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
--- 1,5 ----
  # Makefile fragment for common parts of all simulators.
! # Copyright 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
  # Contributed by Cygnus Support.
  
  # This program is free software; you can redistribute it and/or modify
***************
*** 659,671 ****
  CGENDIR = @cgendir@
  CGEN = `if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/guile; else echo guile ; fi`
  CGENFLAGS = -v
! srccgen = $(CGENDIR)
  
! CGEN_READ_SCM = ../../cgen/stamp-cgen $(srccgen)/sim.scm
! CGEN_ARCH_SCM = $(srccgen)/sim-arch.scm
! CGEN_CPU_SCM = $(srccgen)/sim-cpu.scm $(srccgen)/sim-model.scm
! CGEN_DECODE_SCM = $(srccgen)/sim-decode.scm
! CGEN_DESC_SCM = $(srccgen)/desc.scm $(srccgen)/desc-cpu.scm
  
  # Various choices for which cpu specific files to generate.
  CGEN_CPU_EXTR = -E tmp-ext.c1
--- 659,671 ----
  CGENDIR = @cgendir@
  CGEN = `if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/guile; else echo guile ; fi`
  CGENFLAGS = -v
! CGEN_CPU_DIR = $(CGENDIR)/cpu
  
! CGEN_READ_SCM = ../../cgen/stamp-cgen $(CGENDIR)/sim.scm
! CGEN_ARCH_SCM = $(CGENDIR)/sim-arch.scm
! CGEN_CPU_SCM = $(CGENDIR)/sim-cpu.scm $(CGENDIR)/sim-model.scm
! CGEN_DECODE_SCM = $(CGENDIR)/sim-decode.scm
! CGEN_DESC_SCM = $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm
  
  # Various choices for which cpu specific files to generate.
  CGEN_CPU_EXTR = -E tmp-ext.c1


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