libffi now doesn't have an artificial make boot/all split
authorIan Lynagh <igloo@earth.li>
Sat, 5 Jul 2008 15:50:25 +0000 (15:50 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 5 Jul 2008 15:50:25 +0000 (15:50 +0000)
Makefile
libffi/Makefile

index 121546e..f65f2bd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -67,9 +67,9 @@ include $(TOP)/mk/boilerplate.mk
 
 # We can't 'make boot' in libraries until stage1 is built
 ifeq "$(BootingFromHc)" "YES"
-SUBDIRS_BUILD = libffi includes rts compat compiler docs utils driver
+SUBDIRS_BUILD = includes rts compat compiler docs utils driver
 else
-SUBDIRS_BUILD = libffi includes compat utils driver docs compiler rts libraries/Cabal/doc
+SUBDIRS_BUILD = includes compat utils driver docs compiler rts libraries/Cabal/doc
 endif
 
 SUBDIRS = gmp libffi includes compat utils driver docs rts libraries compiler libraries/Cabal/doc
@@ -100,6 +100,7 @@ endif
 stage1 : $(GCC_LIB_DEP) check-packages
        $(MAKE) -C libraries boot
        $(MAKE) -C gmp       all
+       $(MAKE) -C libffi    all
        $(MAKE) -C utils/mkdependC boot
        @case '${MFLAGS}' in *-[ik]*) x_on_err=0;; *-r*[ik]*) x_on_err=0;; *) x_on_err=1;; esac; \
        for i in $(SUBDIRS_BUILD); do \
index bd9e658..d545a68 100644 (file)
@@ -39,13 +39,11 @@ else
 BUILD_SHARED=no
 endif
 
-boot :: stamp.ffi.static
 BINDIST_STAMPS = stamp.ffi.static
 INSTALL_HEADERS += ffi.h
 INSTALL_LIBS += libffi.a
 
 ifeq "$(BUILD_SHARED)" "yes"
-boot :: stamp.ffi.shared
 BINDIST_STAMPS += stamp.ffi.shared
 INSTALL_LIBS += libffi.dll.a
 INSTALL_PROGS += libffi-3.dll