25 lines
1.0 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../qemu-kvm/qemu-kvm.conf
# Copyright (C) 2010 - 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# we have to explicitely set datadir to get firmware and keymap files
# installed at the right place and to avoid shared files with qemu
datadir="$datadir/$pkg"
# mangle names for installed binaries to include '-kvm' suffix for avoiding
# name clashed with the binaries if the original qemu
var_append INSTALL_WRAPPER_FILTER "|" \
"sed -e 's,\(usr/bin/\)\(qemu\),\1\2-kvm,'"
var_append GCC_WRAPPER_INSERT ' ' "-L$(pkgprefix libdir libx11)"