forked from Imagelibrary/rtems
Removed some stanzas per Ralf Corsepius:
> 4) The toplevel Makefile.in contains rules named make_subdir and > clean_modules, which probably can be deleted, IMO. > At least make_subdir doesn't give any sense anymore. (I had removed it > im my original patch).
This commit is contained in:
20
Makefile.in
20
Makefile.in
@@ -37,7 +37,7 @@ MTARGETS = all install $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_all) \
|
||||
$(TARGET_VARIANTS:%=%_install) $(TARGET_VARIANTS:%=%_tests) \
|
||||
clean_wrapup distclean clean_dirs clean_tools tests clean depend
|
||||
|
||||
.PHONY: clean_modules make_subdir
|
||||
.PHONY:
|
||||
|
||||
EXIT_CMD = exit 1
|
||||
|
||||
@@ -46,7 +46,7 @@ override MAKEFLAGS=
|
||||
|
||||
# \"XCFLAGS=$(CFLAGS_FOR_TARGET)\"
|
||||
|
||||
$(MTARGETS): make_subdir
|
||||
$(MTARGETS):
|
||||
BASEDIR=`pwd`; \
|
||||
for bsp in $(RTEMS_BSP) xxx; \
|
||||
do if [ $$bsp != xxx ] ; then \
|
||||
@@ -55,19 +55,3 @@ $(MTARGETS): make_subdir
|
||||
$@" ; \
|
||||
eval $$cmd || $(EXIT_CMD); \
|
||||
fi; done;
|
||||
|
||||
clean_modules:
|
||||
rm -f src/Modules/rtems/.moduleavailcache
|
||||
rm -f src/Modules/rtems/.moduleavailcachedir
|
||||
|
||||
make_subdir:
|
||||
if [ ! -d make ] ; then \
|
||||
(cd $(srcdir)/c; tar cf - make/compilers make/custom \
|
||||
make/directory.cfg make/leaf.cfg make/lib.cfg make/main.cfg \
|
||||
make/Templates/Makefile.dir \
|
||||
make/Templates/Makefile.leaf make/Templates/Makefile.lib) | \
|
||||
tar xpBf - ; rm -rf make/CVS make/*/CVS ; \
|
||||
cp c/make/Templates/Makefile.inc make/Templates/Makefile.inc ; \
|
||||
cp c/make/host.cfg make/host.cfg ; \
|
||||
cp c/make/target.cfg make/target.cfg ; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user