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/btx/lib/Makefile
+++ new/usr/src/boot/sys/boot/i386/btx/lib/Makefile
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 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 AS= $(GNU_ROOT)/bin/gas
19 20 LD= $(GNU_ROOT)/bin/gld
20 21 CC= $(GCC_ROOT)/bin/gcc
21 22
22 23 CPPFLAGS= -I./../../common
23 24 CFLAGS= -O2 -march=i386 -ffreestanding -mno-mmx -mno-3dnow -mno-sse -mno-sse2
24 25 CFLAGS += -mno-sse3 -msoft-float -m32 -std=gnu99
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
25 26 AS_CPPFLAGS=
26 27 ASFLAGS=--32
27 28
28 29 PROG= crt0.o
29 30 SRCS= btxcsu.S btxsys.s btxv86.s
30 31 OBJS= btxcsu.o btxsys.o btxv86.o
31 32
32 33 LDFLAGS=-Wl,-r -nostdlib
33 34
34 35 all: $(PROG)
36 +
37 +install: all
35 38
36 39 $(PROG): $(OBJS)
37 40 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
38 41
39 42 .S.o:
40 43 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
41 44
42 45 clobber: clean
43 46
44 47 clean:
45 48 $(RM) $(PROG) $(OBJS)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX