*** empty log message ***
[deliverable/binutils-gdb.git] / sim / README-HACKING
index 05b28526c65f98b6226c48027fcfe5ccb137312d..bee504aa1e8e7a4039156c474ad536a21ee891d6 100644 (file)
@@ -153,6 +153,11 @@ updated using the sequence:
        $  make -f Makefile.in SHELL=/bin/sh autoheader-changelog
        $  more */new-ChangeLog
        $  make -f Makefile.in SHELL=/bin/sh autoheader-install
+
+To add the entries to an alternative ChangeLog file, use:
+
+       $  make ChangeLog=MyChangeLog ....
+
 \f
 tconfig.in
 ==========
@@ -232,3 +237,23 @@ In the sim/common directory rebuild the headers:
 
        $  cd sim/common
        $  make headers
+
+To add a new target:
+
+       devo/sim/common/gennltvals.sh
+
+               Add your new processor target (you'll need to grub
+               around to find where your syscall.h lives).
+
+       devo/sim/<processor>/Makefile.in
+
+               Add the definition:
+
+                       ``NL_TARGET = -DNL_TARGET_d10v''
+
+               just before the line COMMON_POST_CONFIG_FRAG.
+
+       devo/sim/<processor>/*.[ch]
+
+               Include targ-vals.h instead of syscall.h.
+
This page took 0.022997 seconds and 4 git commands to generate.