summaryrefslogtreecommitdiffstats
path: root/c/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-23 22:02:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-23 22:02:34 +0000
commit67a2288991ce3662a588ee83c0bea9c9efae5f1e (patch)
treea8d68b22bfd313619f2a0d0b2e3b4755b8278b9d /c/Makefile.in
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff)
downloadrtems-67a2288991ce3662a588ee83c0bea9c9efae5f1e.tar.bz2
Patch from Eric VALETTE <valette@crf.canon.fr>:
Here is a enhanced version of my previous patch. This patch enables to potentially share the new interrupt management code for all Intel targets (pc386, go32 and force386) bsp. Note : this patch is complete only for pc386. It still needs to be completed for go32 and force386. I carrefully checked that anything needed is in for force386 (only some function name changes for IDT manipulation and GDT segment manipulation). But anyway I will not be able to test any of theses targets...
Diffstat (limited to 'c/Makefile.in')
-rw-r--r--c/Makefile.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/c/Makefile.in b/c/Makefile.in
index d852be5a4e..539e7bdca0 100644
--- a/c/Makefile.in
+++ b/c/Makefile.in
@@ -49,7 +49,19 @@ CREATE_DIRS = \
# Make all/install must include 'env'
# if something is added to TARGET_VARIANTS, then account for it here
-all: env
+make_src_makefiles: Makefile.in Makefile
+ find . -name Makefile -exec grep -q ^preinstall {} \; -print > make_src_makefiles
+
+pre_install_src: env make_src_makefiles
+ cd build-tools/scripts; $(MAKE)
+ CURRDIR=`pwd`; \
+ for i in `cat make_src_makefiles` ; do \
+ DIR=`dirname $$i`; \
+ cd $$DIR; \
+ $(MAKE) preinstall; \
+ cd $$CURRDIR; \
+ done
+all: pre_install_src env
debug: env
profile: env