You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../seabios/seabios.conf |
|
# Copyright (C) 2015 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 --- |
|
|
|
# Do not remove or insert anything |
|
# the package is too picky about its |
|
# build environment. |
|
export GCC_WRAPPER_REMOVE="" |
|
export GCC_WRAPPER_INSERT="" |
|
|
|
runconf=0 |
|
|
|
seabios_config() { |
|
|
|
eval $MAKE defconfig V=1 |
|
} |
|
|
|
seabios_make() { |
|
|
|
eval $MAKE V=1 HOSTCC=$HOSTCC CC=$CC AS=$AS LD=$LD STRIP=$STRIP |
|
} |
|
seabios_install() { |
|
mkdir -p $root/usr/share/seabios |
|
cp -a out/*.bin $root/usr/share/seabios/ |
|
cp -a out/src/fw/*dsdt*.aml $root/usr/share/seabios/ |
|
} |
|
|
|
hook_add premake 5 'seabios_config' |
|
|
|
hook_add premake 7 'seabios_make' |
|
|
|
makeopt= |
|
makeinstopt= |
|
|
|
hook_add postmake 5 'seabios_install' |
|
export CROSS_PREFIX="$arch_target-"
|
|
|