diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-05 16:51:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-05 16:51:39 +0000 |
commit | bd8c8b2a855f3219e3c4c73c9e67eb4bd6d473d7 (patch) | |
tree | d9f1b7bf8ee4865c1e485e2b161c5709e2b6b75d /c/src/lib/libcpu/i386/wrapup | |
parent | changed load address (diff) | |
download | rtems-bd8c8b2a855f3219e3c4c73c9e67eb4bd6d473d7.tar.bz2 |
Patch from Eric Valette <valette@crf.canon.fr> which brings the i386ex BSP
inline with the new IRQ structure.
Diffstat (limited to 'c/src/lib/libcpu/i386/wrapup')
-rw-r--r-- | c/src/lib/libcpu/i386/wrapup/Makefile.in | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/i386/wrapup/Makefile.in b/c/src/lib/libcpu/i386/wrapup/Makefile.in index aa05a7fae7..c7406ebe0d 100644 --- a/c/src/lib/libcpu/i386/wrapup/Makefile.in +++ b/c/src/lib/libcpu/i386/wrapup/Makefile.in @@ -12,7 +12,7 @@ BSP_PIECES=startup clock console timer GENERIC_PIECES= # bummer; have to use $foreach since % pattern subst rules only replace 1x -OBJS=../$(ARCH)/libcpu.rel +OBJS=../$(ARCH)/libcpuspec.a LIB=$(ARCH)/libcpu.a include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg @@ -41,7 +41,22 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += $(LIB): ${OBJS} - $(make-library) + @ list_of_o_files=""; \ + for i in ${OBJS}; \ + do \ + DIRNAME=`dirname ${OBJS}` ; \ + temp=`$(AR) t $$i`; \ + echo $$temp ;\ + echo $$DIRNAME ;\ + for j in $$temp; \ + do \ + list_of_o_files="$$list_of_o_files $$DIRNAME/$$j"; \ + done ;\ + echo $$list_of_o_files ;\ + done ;\ + $(RM) $@ ;\ + $(AR) $(ARFLAGS) $@ $$list_of_o_files ;\ + $(MKLIB) $@ all: ${ARCH} $(SRCS) $(LIB) $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib |