Print this page
7438 intermittent build failures from the new boot loader
Reviewed by: Juraj Lutter <juraj.lutter@erigones.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/boot/sys/boot/i386/loader/Makefile
          +++ new/usr/src/boot/sys/boot/i386/loader/Makefile
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2015 Toomas Soome <tsoome@me.com>
       14 +# Copyright 2016 RackTop Systems.
  14   15  #
  15   16  
  16   17  include $(SRC)/Makefile.master
  17   18  
  18   19  CFLAGS= -O2
  19   20  CPPFLAGS= -DSTAND -nostdinc -I../../../../include -I../../..
  20   21  LOADER=         zfsloader
  21   22  NEWVERSWHAT=    "ZFS enabled bootstrap loader" x86
  22   23  MAN=
  23   24  
↓ open down ↓ 11 lines elided ↑ open up ↑
  35   36  GSTRIP=         $(GNU_ROOT)/bin/gstrip
  36   37  ROOT_BOOT=      $(ROOT)/boot
  37   38  ROOT_BOOT_DEFAULTS=     $(ROOT)/boot/defaults
  38   39  ROOT_BOOT_FORTH=        $(ROOT)/boot/forth
  39   40  ROOT_BOOT_CONF=         $(ROOT)/boot/conf.d
  40   41  ROOTBOOTFILES=$(FILES:%=$(ROOT_BOOT)/%)
  41   42  ROOTBOOTFORTH=$(FORTH:%=$(ROOT_BOOT_FORTH)/%)
  42   43  ROOTBOOTDEFAULTS=$(DEFFILES:%=$(ROOT_BOOT_DEFAULTS)/%)
  43   44  FILEMODE=0444
  44   45  
  45      -all: machine x86 ${LOADER} loader.help
       46 +all: ${LOADER} loader.help
       47 +
       48 +${LOADER}: machine x86
  46   49  
  47   50  install: all $(ROOTBOOTLOADER)
  48   51  
  49   52  PROG=           ${LOADER}.sym
  50   53  INTERNALPROG=
  51   54  
  52   55  # architecture-specific loader code
  53   56  SRCS=           main.c conf.c vers.c chain.c
  54   57  
  55   58  CPPFLAGS +=     -DLOADER_TFTP_SUPPORT -DLOADER_GZIP_SUPPORT
↓ open down ↓ 119 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX