Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PureOS
Packages
qemu
Commits
2fa100b2
Commit
2fa100b2
authored
Dec 31, 2018
by
Michael Tokarev
Browse files
build qemu-palcode using alpha cross-compiler (#913103)
parent
7a6ff8c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
debian/control-in
View file @
2fa100b2
...
...
@@ -108,6 +108,9 @@ Build-Depends: debhelper (>= 11),
##--enable-xen-pci-passthrough todo
Build-Depends-Indep:
gcc-s390x-linux-gnu,
# libc6.1-dev-alpha-cross isn'
t
really
needed
but
the
code
,
#
for
whatever
reason
,
#
include
's string.h which needs libc6.1-dev
gcc-alpha-linux-gnu, libc6.1-dev-alpha-cross,
Build-Conflicts: oss4-dev
Standards-Version: 3.9.8
Homepage: http://www.qemu.org/
...
...
debian/qemu-system-data.install
View file @
2fa100b2
...
...
@@ -5,3 +5,5 @@ pc-bios/qemu_logo_no_text.svg usr/share/qemu
b
/
fw
/*.
bin
usr
/
share
/
qemu
# s390x firmware
b
/
fw
/
s390
*.
img
usr
/
share
/
qemu
# alpha firmware
b
/
qemu
-
palcode
/
palcode
-
clipper
usr
/
share
/
qemu
debian/qemu-system-data.lintian-overrides
View file @
2fa100b2
qemu-system-data: arch-independent-package-contains-binary-or-object usr/share/qemu/s390-ccw.img
qemu-system-data: arch-dependent-file-in-usr-share usr/share/qemu/s390-ccw.img
qemu-system-data: shared-lib-without-dependency-information usr/share/qemu/s390-ccw.img
qemu-system-data: arch-independent-package-contains-binary-or-object usr/share/qemu/palcode-clipper
qemu-system-data: arch-dependent-file-in-usr-share usr/share/qemu/palcode-clipper
qemu-system-data: statically-linked-binary usr/share/qemu/palcode-clipper
debian/rules
View file @
2fa100b2
...
...
@@ -32,6 +32,7 @@ enable_linux_user = $(if $(filter qemu-user,${BUILD_PACKAGES}),enable,disable)
FIRMWAREPATH = /usr/share/qemu:/usr/share/seabios:/usr/lib/ipxe/qemu
S390X_CROSSPFX = s390x-linux-gnu-
ALPHAEV67_CROSSPFX = alpha-linux-gnu-
# we add another set of configure options from debian/control
common_configure_opts = \
...
...
@@ -302,6 +303,11 @@ build-indep:
# x86 optionrom
${MAKE} -f ${CURDIR}/debian/optionrom.mak -C ${CURDIR}/b/fw SRC_PATH=${CURDIR}
# alpha firmware in roms/palcode-clipper
cp -al roms/qemu-palcode b/
${MAKE} -C ${CURDIR}/b/qemu-palcode CROSS=${ALPHAEV67_CROSSPFX}
${ALPHAEV67_CROSSPFX}strip b/qemu-palcode/palcode-clipper
# s390x firmware in pc-bios/s390-ccw
${S390X_CROSSPFX}gcc -Wl,-pie -fPIE -nostdlib -o b/fw/s390-ccw.img \
-ffreestanding -fno-delete-null-pointer-checks -msoft-float \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment