Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-firmware/ipxe: ipxe-1.0.0_p20130925.ebuild ChangeLog
Date: Thu, 07 Nov 2013 15:48:48
Message-Id: 20131107154841.11CE82004B@flycatcher.gentoo.org
1 cardoe 13/11/07 15:48:40
2
3 Modified: ChangeLog
4 Added: ipxe-1.0.0_p20130925.ebuild
5 Log:
6 Fix issue with register clobbering and gcc 4.8. bug #487254
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)
9
10 Revision Changes Path
11 1.15 sys-firmware/ipxe/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 6 Sep 2013 16:11:44 -0000 1.14
24 +++ ChangeLog 7 Nov 2013 15:48:40 -0000 1.15
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-firmware/ipxe
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v 1.14 2013/09/06 16:11:44 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v 1.15 2013/11/07 15:48:40 cardoe Exp $
30 +
31 +*ipxe-1.0.0_p20130925 (07 Nov 2013)
32 +
33 + 07 Nov 2013; Doug Goldstein <cardoe@g.o> +ipxe-1.0.0_p20130925.ebuild:
34 + Fix issue with register clobbering and gcc 4.8. bug #487254
35
36 06 Sep 2013; Agostino Sarubbo <ago@g.o> ipxe-1.0.0_p20130624.ebuild:
37 Stable for x86, wrt bug #483770
38
39
40
41 1.1 sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ipxe-1.0.0_p20130925.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild,v 1.1 2013/11/07 15:48:40 cardoe Exp $
51
52 EAPI=5
53
54 inherit toolchain-funcs
55
56 GIT_REV="cba22d36b77da53890bd65fdadd0e63925687af0"
57 GIT_SHORT="cba22d3"
58
59 DESCRIPTION="Open source network boot (PXE) firmware"
60 HOMEPAGE="http://ipxe.org"
61 SRC_URI="https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT_SHORT}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="iso +qemu undi usb vmware"
67
68 DEPEND="sys-devel/make
69 dev-lang/perl
70 sys-libs/zlib
71 iso? (
72 sys-boot/syslinux
73 virtual/cdrtools
74 )"
75 RDEPEND=""
76
77 S="${WORKDIR}/ipxe-${GIT_SHORT}/src"
78
79 pkg_setup() {
80 local myld=$(tc-getLD)
81
82 ${myld} -v | grep -q "GNU gold" && \
83 ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058"
84 }
85
86 src_prepare() {
87 cat <<-EOF > "${S}"/config/local/general.h
88 #undef BANNER_TIMEOUT
89 #define BANNER_TIMEOUT 0
90 EOF
91
92 if use vmware; then
93 cat <<-EOF >> "${S}"/config/local/general.h
94 #define VMWARE_SETTINGS
95 #define CONSOLE_VMWARE
96 EOF
97 fi
98 }
99
100 src_compile() {
101 ipxemake() {
102 # Q='' makes the build verbose since that's what everyone loves now
103 emake Q='' \
104 CC=$(tc-getCC) \
105 LD="$(tc-getLD).bfd" \
106 AR=$(tc-getAR) \
107 OBJCOPY=$(tc-getOBJCOPY) \
108 RANLIB=$(tc-getRANLIB) \
109 OBJDUMP=$(tc-getPROG OBJDUMP objdump) \
110 HOST_CC=$(tc-getBUILD_CC) \
111 ${*}
112 }
113
114 export NO_WERROR=1
115 if use qemu; then
116 ipxemake bin/808610de.rom # pxe-e1000.rom (old)
117 ipxemake bin/8086100e.rom # pxe-e1000.rom
118 ipxemake bin/80861209.rom # pxe-eepro100.rom
119 ipxemake bin/10500940.rom # pxe-ne2k_pci.rom
120 ipxemake bin/10222000.rom # pxe-pcnet.rom
121 ipxemake bin/10ec8139.rom # pxe-rtl8139.rom
122 ipxemake bin/1af41000.rom # pxe-virtio.rom
123 fi
124
125 if use vmware; then
126 ipxemake bin/8086100f.mrom # e1000
127 ipxemake bin/808610d3.mrom # e1000e
128 ipxemake bin/10222000.mrom # vlance
129 ipxemake bin/15ad07b0.rom # vmxnet3
130 fi
131
132 use iso && ipxemake bin/ipxe.iso
133 use undi && ipxemake bin/undionly.kpxe
134 use usb && ipxemake bin/ipxe.usb
135 }
136
137 src_install() {
138 insinto /usr/share/ipxe/
139
140 if use qemu || use vmware; then
141 doins bin/*.rom
142 fi
143 use vmware && doins bin/*.mrom
144 use iso && doins bin/*.iso
145 use undi && doins bin/*.kpxe
146 use usb && doins bin/*.usb
147 }