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>
   1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet at
   9 # http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 #
  13 # Copyright 2015 Toomas Soome <tsoome@me.com>

  14 #
  15 
  16 include $(SRC)/Makefile.master
  17 
  18 CC=     $(GCC_ROOT)/bin/gcc
  19 
  20 LIB=    efi
  21 
  22 all:    machine x86 lib$(LIB).a



  23 install:
  24 
  25 SRCS=   delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
  26         libefi.c time.c
  27 
  28 OBJS=   $(SRCS:%.c=%.o)
  29 
  30 CPPFLAGS= -DTERM_EMU
  31 CFLAGS = -O2
  32 
  33 #.if ${MACHINE_CPUARCH} == "aarch64"
  34 #CFLAGS+=       -msoft-float -mgeneral-regs-only
  35 #.endif
  36 #.if ${MACHINE_ARCH} == "amd64"
  37 CFLAGS += -fPIC
  38 #.endif
  39 
  40 CFLAGS += -nostdinc -I. -I../../../../include -I../../..
  41 CFLAGS += -I../include
  42 CFLAGS += -I../include/${MACH64}


   1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet at
   9 # http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 #
  13 # Copyright 2015 Toomas Soome <tsoome@me.com>
  14 # Copyright 2016 RackTop Systems.
  15 #
  16 
  17 include $(SRC)/Makefile.master
  18 
  19 CC=     $(GCC_ROOT)/bin/gcc
  20 
  21 LIB=    efi
  22 
  23 all:    lib$(LIB).a
  24 
  25 lib$(LIB).a: machine x86
  26 
  27 install:
  28 
  29 SRCS=   delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
  30         libefi.c time.c
  31 
  32 OBJS=   $(SRCS:%.c=%.o)
  33 
  34 CPPFLAGS= -DTERM_EMU
  35 CFLAGS = -O2
  36 
  37 #.if ${MACHINE_CPUARCH} == "aarch64"
  38 #CFLAGS+=       -msoft-float -mgeneral-regs-only
  39 #.endif
  40 #.if ${MACHINE_ARCH} == "amd64"
  41 CFLAGS += -fPIC
  42 #.endif
  43 
  44 CFLAGS += -nostdinc -I. -I../../../../include -I../../..
  45 CFLAGS += -I../include
  46 CFLAGS += -I../include/${MACH64}