Corrected build order so it was not as dependent on the mpc750 check.

This commit is contained in:
Joel Sherrill
1999-10-06 18:07:56 +00:00
parent add0545d82
commit 252930563d
2 changed files with 2 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ ifeq ($(wildcard $(RTEMS_CPU_MODEL)),$(RTEMS_CPU_MODEL))
SHARED_LIB = shared
endif
SUB_DIRS = $(wildcard $(RTEMS_CPU_MODEL)) $(SHARED_LIB)
SUB_DIRS = $(SHARED_LIB) $(wildcard $(RTEMS_CPU_MODEL)) wrapup
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \

View File

@@ -67,14 +67,10 @@ CLOBBER_ADDITIONS +=
${LIB}: ${SRCS} ${OBJS}
$(make-library)
preinstall :
preinstall: $(INSTALLDIRS) $(H_FILES)
$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
all: ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
if [ $(RTEMS_CPU_MODEL) = "mpc750" ]; \
then \
cd wrapup; $(MAKE); \
fi
# the .rel file built here will be put into libcpu.a by ../wrapup/Makefile
install: all