Print this page
7438 intermittent build failures from the new boot loader
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>

@@ -9,10 +9,11 @@
 # http://www.illumos.org/license/CDDL.
 #
 
 #
 # Copyright 2016 Toomas Soome <tsoome@me.com>
+# Copyright 2016 RackTop Systems.
 #
 
 
 CC=             $(GCC_ROOT)/bin/gcc
 FICLDIR=        $(SRC)/common/ficl

@@ -34,11 +35,11 @@
 #
 
 MAJOR = 4
 MINOR = 1.0
 
-lib: machine x86 libficl.a
+lib: libficl.a
 
 # static library build
 libficl.a: $(OBJECTS)
         $(AR) $(ARFLAGS) libficl.a $(OBJECTS)
 

@@ -48,10 +49,12 @@
 
 x86:
         $(RM) x86
         $(SYMLINK) ../../../x86/include x86
 
+$(OBJECTS): machine x86
+
 %.o:    ../softcore/%.c $(HEADERS)
         $(COMPILE.c) $<
 
 %.o:    $(FICLDIR)/%.c $(HEADERS)
         $(COMPILE.c) $<