Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: fc4abde438
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (23 sloc) 0.831 kB
#/usr/bin/env bash
set -e
set -x
usage () { echo "usage: `basename $0` kernver zfsver" ; return 0 ; }
usageerr () { usage >&2 ; return 1 ; }
[ $# -eq 2 ] || usageerr
UPSTREAM="$1"
ZFSVER="$2"
ABI=1
KVERS="$UPSTREAM-$ABI"
DEBKEY=AAE15FF2
export DEBFULLNAME="Nick Black"
export DEBEMAIL="<nick.black@sprezzatech.com>"
# UEFI Development Kit 2010, unpackaed already by Make
cd /usr/local/UDK2010/MyWorkSpace
. edksetup.sh
sed -i -e"s/^ACTIVE_PLATFORM .*\$/ACTIVE_PLATFORM=MdeModulePkg\/MdeModulePkg.dsc/" Conf/target.txt
sed -i -e"s/^TARGET .*\$/TARGET=RELEASE/" Conf/target.txt
sed -i -e"s/^TARGET_ARCH .*\$/TARGET_ARCH=X64/" Conf/target.txt
sed -i -e"s/^TOOL_CHAIN_TAG .*\$/TOOL_CHAIN_TAG=GCC46/" Conf/target.txt
sed -i -e"s/-melf_x86_64//g" Conf/tools_def.txt
make -C /usr/local/UDK2010/MyWorkSpace/BaseTools/Source/C
build
Jump to Line
Something went wrong with that request. Please try again.