summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i386/wrapup/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 16:51:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 16:51:39 +0000
commitbd8c8b2a855f3219e3c4c73c9e67eb4bd6d473d7 (patch)
treed9f1b7bf8ee4865c1e485e2b161c5709e2b6b75d /c/src/lib/libcpu/i386/wrapup/Makefile.in
parentchanged load address (diff)
downloadrtems-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 '')
-rw-r--r--c/src/lib/libcpu/i386/wrapup/Makefile.in19
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