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/zfs/Makefile.com
+++ new/usr/src/boot/sys/boot/zfs/Makefile.com
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
↓ 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 2016 Toomas Soome <tsoome@me.com>
14 +# Copyright 2016 RackTop Systems.
14 15 #
15 16
16 17 include $(SRC)/Makefile.master
17 18
18 19 LIB= zfsboot
19 20
20 -all: machine x86 libzfsboot.a
21 +all: libzfsboot.a
22 +
23 +libzfsboot.a: machine x86
24 +
21 25 clean: clobber
22 26
23 27 clobber:
24 28 $(RM) machine x86 $(OBJS) libzfsboot.a
25 29
26 30 CC= $(GCC_ROOT)/bin/gcc
27 31 CPPFLAGS=
28 32
29 33 SRCS += ../zfs.c ../gzip.c
30 34 OBJS += zfs.o gzip.o
31 35
32 36 CFLAGS= -O2 -nostdinc -I../../../../include -I../../..
33 37 CFLAGS += -I../../common -I../../.. -I.. -I.
34 38 CFLAGS += -I../../../../lib/libstand
35 39 CFLAGS += -I../../../../lib/libz
36 40 CFLAGS += -I../../../cddl/boot/zfs
37 41
38 42 CFLAGS += -ffreestanding
39 43 CFLAGS += -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
40 44 CFLAGS += -Wformat -Wall -std=gnu99
41 45
42 46 CLEANFILES += machine x86
43 47
44 48 machine:
45 49 $(RM) machine
46 50 $(SYMLINK) ../../../$(MACHINE)/include machine
47 51
48 52 x86:
49 53 $(RM) x86
50 54 $(SYMLINK) ../../../x86/include x86
51 55
52 56 libzfsboot.a: $(OBJS)
53 57 $(AR) $(ARFLAGS) $@ $(OBJS)
54 58
55 59 %.o: ../%.c
56 60 $(COMPILE.c) -o $@ $<
57 61
58 62 zfs.o: ../zfsimpl.c
↓ open down ↓ |
28 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX