Patch rtems-rc-4.5.0-8-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.

The patch contains:

* make uninstall will only work if called from below
  <target_alias>/c/<BSP> of if all BSPs in RTEMS_BSP_LIST have been built
  previously (c/Makefile will choke otherwise). Not perfect but better
  than nothing.
This commit is contained in:
Joel Sherrill
2000-04-04 19:02:52 +00:00
parent a7c46db906
commit ad3c8e860e

View File

@@ -12,10 +12,12 @@ rtems_bspdir = $(prefix)/@RTEMS_BSP@
# NOTE: The wildcard on the install should pick up everything except
# the tests directory. This significantly minimizes the install size.
install-data-local:
rm -rf $(rtems_bspdir)/[bsl]*;
$(mkinstalldirs) $(rtems_bspdir)
cd $(PROJECT_ROOT); \
tar cf - @RTEMS_BSP@/[bilsuM]* | (cd $(DESTDIR)$(prefix); tar xpBf - );
uninstall-local:
rm -rf $(rtems_bspdir)/[bsl]*;
include $(top_srcdir)/../../automake/subdirs.am
include $(top_srcdir)/../../automake/host.am