path: root/tools/update
diff options
authorJoel Sherrill <>1997-04-01 23:07:52 +0000
committerJoel Sherrill <>1997-04-01 23:07:52 +0000
commit254b4450718a0873b444d35aeb6d74ba589734ea (patch)
tree0615a270d7b384c7394eb57290f4b6b92ed20706 /tools/update
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 'tools/update')
1 files changed, 37 insertions, 0 deletions
diff --git a/tools/update/ b/tools/update/
new file mode 100644
index 0000000000..200a2b5c6a
--- /dev/null
+++ b/tools/update/
@@ -0,0 +1,37 @@
+# $Id$
+# NOTE: of course we can't use any of these tools
+# in this Makefile. Most notably: install-if-change
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+include $(RTEMS_CUSTOM)
+include $(RTEMS_ROOT)/make/leaf.cfg
+PGMS=update word-replace
+all: $(DESTDIR)
+ echo $(DESTDIR)
+ [ -d $@ ] || $(MKDIR) $@
+install: $(INSTALLED)
+# Install the program
+$(DESTDIR)/%: %
+ $(make-script)
+ $(INSTALL) -m 444 $(srcdir)/$(MISC_SUPPORT) ${DESTDIR}