mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user