summaryrefslogtreecommitdiffstats
path: root/c/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-18 17:46:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-18 17:46:59 +0000
commit1fdc990e98ed42653a7e9cba401fbe88148f99d2 (patch)
tree6b1f851167e5bf4090aebe54315d0c03086271a4 /c/Makefile.in
parentCorrected. (diff)
downloadrtems-1fdc990e98ed42653a7e9cba401fbe88148f99d2.tar.bz2
Part of the targopts.h change in generation patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
Diffstat (limited to '')
-rw-r--r--c/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/c/Makefile.in b/c/Makefile.in
index 2f3eaaedc0..0e13451cce 100644
--- a/c/Makefile.in
+++ b/c/Makefile.in
@@ -62,6 +62,8 @@ CREATE_DIRS = \
tests/screens/mptests/node1 tests/screens/mptests/node2 \
build-tools update-tools
+BUILD_DIRS = ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}
+
# Make all/install must include 'env'
# if something is added to TARGET_VARIANTS, then account for it here
make_src_makefiles: Makefile.in Makefile
@@ -103,12 +105,14 @@ clean_wrapup: clean_tools clean_dirs clean_modules
.PHONY: dirs clean_wrapup clean_dirs clean_tools clean_modules env install
-dirs:
- -$(MKDIR) ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}
+$(BUILD_DIRS):
+ -$(MKDIR) $(BUILD_DIRS)
if test -d $(PROJECT_ROOT)/c/src/lib/libhwapi; then \
(cd $(PROJECT_ROOT)/c/src/lib/libhwapi ; $(MAKE) mkdirs) \
fi
+dirs: $(BUILD_DIRS)
+
distclean: clobber
clean_dirs: