1 |
cardoe 13/06/30 02:29:33 |
2 |
|
3 |
Modified: ipxe-1.0.0_p20130624.ebuild ChangeLog |
4 |
Log: |
5 |
Updates from Jeroen Roovers <jer@g.o> and Michael Weber <xmw@g.o> to handle users using the gold linker instead of the default bfd linker more gracefully. |
6 |
|
7 |
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: ipxe-1.0.0_p20130624.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- ipxe-1.0.0_p20130624.ebuild 27 Jun 2013 22:18:30 -0000 1.4 |
23 |
+++ ipxe-1.0.0_p20130624.ebuild 30 Jun 2013 02:29:33 -0000 1.5 |
24 |
@@ -1,9 +1,11 @@ |
25 |
# Copyright 1999-2013 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild,v 1.4 2013/06/27 22:18:30 cardoe Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130624.ebuild,v 1.5 2013/06/30 02:29:33 cardoe Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
+inherit toolchain-funcs |
33 |
+ |
34 |
GIT_REV="936134ed460618e18cc05d677a442d43d5e739a1" |
35 |
GIT_SHORT="936134e" |
36 |
|
37 |
@@ -27,6 +29,13 @@ |
38 |
|
39 |
S="${WORKDIR}/ipxe-${GIT_SHORT}/src" |
40 |
|
41 |
+pkg_setup() { |
42 |
+ local myld=$(tc-getLD) |
43 |
+ |
44 |
+ ${myld} -v | grep -q "GNU gold" && \ |
45 |
+ ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058" |
46 |
+} |
47 |
+ |
48 |
src_prepare() { |
49 |
cat <<-EOF > "${S}"/config/local/general.h |
50 |
#undef BANNER_TIMEOUT |
51 |
@@ -42,27 +51,40 @@ |
52 |
} |
53 |
|
54 |
src_compile() { |
55 |
+ ipxemake() { |
56 |
+ # Q='' makes the build verbose since that's what everyone loves now |
57 |
+ emake Q='' \ |
58 |
+ CC=$(tc-getCC) \ |
59 |
+ LD="$(tc-getLD).bfd" \ |
60 |
+ AR=$(tc-getAR) \ |
61 |
+ OBJCOPY=$(tc-getOBJCOPY) \ |
62 |
+ RANLIB=$(tc-getRANLIB) \ |
63 |
+ OBJDUMP=$(tc-getPROG OBJDUMP objdump) \ |
64 |
+ HOST_CC=$(tc-getBUILD_CC) \ |
65 |
+ ${*} |
66 |
+ } |
67 |
+ |
68 |
export NO_WERROR=1 |
69 |
if use qemu; then |
70 |
- emake bin/808610de.rom # pxe-e1000.rom (old) |
71 |
- emake bin/8086100e.rom # pxe-e1000.rom |
72 |
- emake bin/80861209.rom # pxe-eepro100.rom |
73 |
- emake bin/10500940.rom # pxe-ne2k_pci.rom |
74 |
- emake bin/10222000.rom # pxe-pcnet.rom |
75 |
- emake bin/10ec8139.rom # pxe-rtl8139.rom |
76 |
- emake bin/1af41000.rom # pxe-virtio.rom |
77 |
+ ipxemake bin/808610de.rom # pxe-e1000.rom (old) |
78 |
+ ipxemake bin/8086100e.rom # pxe-e1000.rom |
79 |
+ ipxemake bin/80861209.rom # pxe-eepro100.rom |
80 |
+ ipxemake bin/10500940.rom # pxe-ne2k_pci.rom |
81 |
+ ipxemake bin/10222000.rom # pxe-pcnet.rom |
82 |
+ ipxemake bin/10ec8139.rom # pxe-rtl8139.rom |
83 |
+ ipxemake bin/1af41000.rom # pxe-virtio.rom |
84 |
fi |
85 |
|
86 |
if use vmware; then |
87 |
- emake bin/8086100f.mrom # e1000 |
88 |
- emake bin/808610d3.mrom # e1000e |
89 |
- emake bin/10222000.mrom # vlance |
90 |
- emake bin/15ad07b0.rom # vmxnet3 |
91 |
+ ipxemake bin/8086100f.mrom # e1000 |
92 |
+ ipxemake bin/808610d3.mrom # e1000e |
93 |
+ ipxemake bin/10222000.mrom # vlance |
94 |
+ ipxemake bin/15ad07b0.rom # vmxnet3 |
95 |
fi |
96 |
|
97 |
- use iso && emake bin/ipxe.iso |
98 |
- use undi && emake bin/undionly.kpxe |
99 |
- use usb && emake bin/ipxe.usb |
100 |
+ use iso && ipxemake bin/ipxe.iso |
101 |
+ use undi && ipxemake bin/undionly.kpxe |
102 |
+ use usb && ipxemake bin/ipxe.usb |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
|
107 |
|
108 |
|
109 |
1.11 sys-firmware/ipxe/ChangeLog |
110 |
|
111 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ChangeLog?rev=1.11&view=markup |
112 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ChangeLog?rev=1.11&content-type=text/plain |
113 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ChangeLog?r1=1.10&r2=1.11 |
114 |
|
115 |
Index: ChangeLog |
116 |
=================================================================== |
117 |
RCS file: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v |
118 |
retrieving revision 1.10 |
119 |
retrieving revision 1.11 |
120 |
diff -u -r1.10 -r1.11 |
121 |
--- ChangeLog 28 Jun 2013 20:58:06 -0000 1.10 |
122 |
+++ ChangeLog 30 Jun 2013 02:29:33 -0000 1.11 |
123 |
@@ -1,6 +1,11 @@ |
124 |
# ChangeLog for sys-firmware/ipxe |
125 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
126 |
-# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v 1.10 2013/06/28 20:58:06 ago Exp $ |
127 |
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v 1.11 2013/06/30 02:29:33 cardoe Exp $ |
128 |
+ |
129 |
+ 30 Jun 2013; Doug Goldstein <cardoe@g.o> ipxe-1.0.0_p20130624.ebuild: |
130 |
+ Updates from Jeroen Roovers <jer@g.o> and Michael Weber |
131 |
+ <xmw@g.o> to handle users using the gold linker instead of the default |
132 |
+ bfd linker more gracefully. |
133 |
|
134 |
28 Jun 2013; Agostino Sarubbo <ago@g.o> ipxe-1.0.0_p20130225.ebuild: |
135 |
Stable for amd64, wrt bug #475110 |