forked from Imagelibrary/rtems
Corrected build order so it was not as dependent on the mpc750 check.
This commit is contained in:
@@ -22,7 +22,7 @@ ifeq ($(wildcard $(RTEMS_CPU_MODEL)),$(RTEMS_CPU_MODEL))
|
|||||||
SHARED_LIB = shared
|
SHARED_LIB = shared
|
||||||
endif
|
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
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
|
|||||||
@@ -67,14 +67,10 @@ CLOBBER_ADDITIONS +=
|
|||||||
${LIB}: ${SRCS} ${OBJS}
|
${LIB}: ${SRCS} ${OBJS}
|
||||||
$(make-library)
|
$(make-library)
|
||||||
|
|
||||||
preinstall :
|
preinstall: $(INSTALLDIRS) $(H_FILES)
|
||||||
$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
|
$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
|
||||||
|
|
||||||
all: ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
|
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
|
# the .rel file built here will be put into libcpu.a by ../wrapup/Makefile
|
||||||
install: all
|
install: all
|
||||||
|
|||||||
Reference in New Issue
Block a user