diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-14 23:41:25 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-16 01:23:52 -0400 |
commit | ae7d0cac8ce971f7108d270c1d3f8481919b1e86 (patch) | |
tree | 922127997fda3de2483ed896fba8ae88576bba5e /sim/README-HACKING | |
parent | 9c5f41df36176d86afa65fc9b69b8fd6f6044547 (diff) | |
download | binutils-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.zip binutils-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.tar.gz binutils-ae7d0cac8ce971f7108d270c1d3f8481919b1e86.tar.bz2 |
sim: rename tconfig.in to tconfig.h
Rather than manually include tconfig.h when we think we'll need it (which
is error prone as it can define symbols we expect from config.h), have it
be included directly by config.h. Since we know we have to include that
header everywhere already, this will make sure tconfig.h isn't missed.
It should also be fine as tconfig.h is supposed to be simple and only set
up a few core defines for the target.
This allows us to stop symlinking it in place all the time and just use
it straight out of the respective source directory.
Diffstat (limited to 'sim/README-HACKING')
-rw-r--r-- | sim/README-HACKING | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/README-HACKING b/sim/README-HACKING index 33b6ecb..0a6bbe2 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -7,7 +7,7 @@ Contents - Common Makefile Support - TAGS support - Generating "configure" files -- tconfig.in +- tconfig.h - C Language Assumptions - "dump" commands under gdb @@ -159,12 +159,12 @@ To add the entries to an alternative ChangeLog file, use: $ make ChangeLog=MyChangeLog .... -tconfig.in +tconfig.h ========== -File tconfig.in defines one or more target configuration macros +File tconfig.h defines one or more target configuration macros (e.g. a tm.h file). There are very few that need defining. -For a list of all of them, see common/tconfig.in. +For a list of all of them, see common/tconfig.h. It contains them all, commented out. The intent is that a new port can just copy this file and define the ones it needs. |