path: root/c/src/lib/libbsp/i386/force386/startup/
diff options
authorJoel Sherrill <>1997-04-01 23:07:52 +0000
committerJoel Sherrill <>1997-04-01 23:07:52 +0000
commit254b4450718a0873b444d35aeb6d74ba589734ea (patch)
tree0615a270d7b384c7394eb57290f4b6b92ed20706 /c/src/lib/libbsp/i386/force386/startup/
parent467eae4da5dd6fc172caa70e01b5430befd0bf29 (diff)
This set of changes is the build of what was required to convert to
GNU autoconf. This is the first large step in allowing an RTEMS user to perform a one-tree build (per crossgcc FAQ) including RTEMS in the build process. With this change RTEMS is configured in built in the same style as the GNU tools, yet retains the basic structure of its traditional Makefiles (ala Tony Bennett). Jiri Gaisler ( deserves (and received) a big thank you for doing this. There are still issues to be resolved but as of this commit, all target which can be built on a linux host have been using a modified version of the source Jiri submitted. This source was merged and most targets built in the tree before this commit. There are some issues which remain to be resolved but they are primarily related to host OS dependencies, script issues, the use of gawk for hack_specs, and the dependence on gcc snapshots. These will be resolved.
Diffstat (limited to '')
1 files changed, 58 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/force386/startup/ b/c/src/lib/libbsp/i386/force386/startup/
new file mode 100644
index 0000000000..ced465eb90
--- /dev/null
+++ b/c/src/lib/libbsp/i386/force386/startup/
@@ -0,0 +1,58 @@
+# $Id$
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+# C source names, if any, go here -- minus the .c
+C_PIECES=bspstart sbrk setvec
+# Assembly source names, if any, go here -- minus the .s
+SRCS=$(srcdir)/linkcmds $(C_FILES) $(H_FILES) $(S_FILES)
+include $(RTEMS_CUSTOM)
+include $(PROJECT_ROOT)/make/leaf.cfg
+# (OPTIONAL) Add local stuff here using +=
+# Add your list of files to delete here. The config files
+# already know how to delete some stuff, so you may want
+# to just run 'make clean' first to see what gets missed.
+# 'make clobber' already includes 'make clean'
+${PGM}: ${SRCS} ${OBJS}
+ $(make-rel)
+all: ${ARCH} $(SRCS) $(PGM)
+ $(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
+# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile