path: root/tools/build/scripts/
diff options
authorJoel Sherrill <>1997-04-01 23:07:52 +0000
committerJoel Sherrill <>1997-04-01 23:07:52 +0000
commit254b4450718a0873b444d35aeb6d74ba589734ea (patch)
tree0615a270d7b384c7394eb57290f4b6b92ed20706 /tools/build/scripts/
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, 34 insertions, 0 deletions
diff --git a/tools/build/scripts/ b/tools/build/scripts/
new file mode 100644
index 0000000000..7f2db3462c
--- /dev/null
+++ b/tools/build/scripts/
@@ -0,0 +1,34 @@
+# $Id$
+# RTEMS build tools
+# 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=hackspecs.awk install-if-change rcs-clean \
+ lock-directory unlock-directory rtems-glom
+all: $(DESTDIR) $(PGMS) install
+ echo $(DESTDIR)
+ [ -d $@ ] || $(MKDIR) $@
+install: $(INSTALLED)
+# Install the program
+$(DESTDIR)/%: %
+ $(make-script)