* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
[deliverable/binutils-gdb.git] / sim / README-HACKING
index 05b28526c65f98b6226c48027fcfe5ccb137312d..e4efeb155b0377c175615c6708e8dc9d8dad9131 100644 (file)
@@ -232,3 +232,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.022436 seconds and 4 git commands to generate.