forked from Imagelibrary/rtems
<corsepiu@faw.uni-ulm.de> which implements automake support for some score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration bugs. To apply: rm -rf c/src/exec/score/cpu/i960/wrap rm -rf c/src/exec/score/cpu/m68k/wrap rm -rf c/src/exec/score/cpu/sh/wrap rm -rf c/src/exec/score/cpu/sparc/wrap rm -rf c/src/exec/score/cpu/unix/wrap patch -p1 < rtems-rc-19991123-rc-1.diff ./bootstrap Known bugs: * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does not handle recursion to subdirectories correctly (recurses too often). However, this issue is hardly visible and should be tolerable for the moment.
19 lines
233 B
Plaintext
19 lines
233 B
Plaintext
##
|
|
## $Id$
|
|
##
|
|
|
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
|
|
define make-library
|
|
$(RM) $@
|
|
$(AR) $(ARFLAGS) $@ $^
|
|
$(RANLIB) $@
|
|
endef
|
|
|
|
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib
|
|
|
|
$(PROJECT_RELEASE)/lib:
|
|
@$(mkinstalldirs) $@
|
|
|
|
.PRECIOUS: $(LIB)
|