summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 15:10:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 15:10:18 +0000
commitb31fdf8d039c6d884d3b6b0ea4d81710e0617c8b (patch)
treef50c1914cc9a3ac3613ba0b70e50bd3fa7632a83 /c
parentMore complete shells generated. (diff)
downloadrtems-b31fdf8d039c6d884d3b6b0ea4d81710e0617c8b.tar.bz2
Added print of the order in which the directories are preinstalled.
Diffstat (limited to 'c')
-rw-r--r--c/Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/c/Makefile.in b/c/Makefile.in
index 539e7bdca0..83f27ac40d 100644
--- a/c/Makefile.in
+++ b/c/Makefile.in
@@ -50,10 +50,18 @@ CREATE_DIRS = \
# Make all/install must include 'env'
# if something is added to TARGET_VARIANTS, then account for it here
make_src_makefiles: Makefile.in Makefile
- find . -name Makefile -exec grep -q ^preinstall {} \; -print > make_src_makefiles
+ -find . -name Makefile \
+ -exec grep -q ^preinstall {} \; -print > make_src_makefiles.tmp
+ -grep tools make_src_makefiles.tmp > make_src_makefiles
+ -grep -v tools make_src_makefiles.tmp >> make_src_makefiles
+ -rm make_src_makefiles.tmp
+
pre_install_src: env make_src_makefiles
cd build-tools/scripts; $(MAKE)
+ @echo "Order of preinstall directories"
+ cat make_src_makefiles
+ @echo
CURRDIR=`pwd`; \
for i in `cat make_src_makefiles` ; do \
DIR=`dirname $$i`; \