diff --git a/firmware/seabios/no_hostcc.patch b/firmware/seabios/no_hostcc.patch new file mode 100644 index 000000000..910b2aa8c --- /dev/null +++ b/firmware/seabios/no_hostcc.patch @@ -0,0 +1,26 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../seabios/no_hostcc.patch +# Copyright (C) 2015 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./Makefile.orig 2014-11-25 08:24:37.000000000 +0100 ++++ ./Makefile 2015-02-05 19:55:11.761317963 +0100 +@@ -8,7 +8,6 @@ + OUT=out/ + + # Common command definitions +-export HOSTCC := $(CC) + export CONFIG_SHELL := sh + export KCONFIG_AUTOHEADER := autoconf.h + export KCONFIG_CONFIG := $(CURDIR)/.config diff --git a/firmware/seabios/seabios.conf b/firmware/seabios/seabios.conf new file mode 100644 index 000000000..4ba540e27 --- /dev/null +++ b/firmware/seabios/seabios.conf @@ -0,0 +1,46 @@ +# --- 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-" diff --git a/firmware/seabios/seabios.desc b/firmware/seabios/seabios.desc new file mode 100644 index 000000000..3cd0713c4 --- /dev/null +++ b/firmware/seabios/seabios.desc @@ -0,0 +1,33 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../seabios/seabios.desc +[COPY] Copyright (C) 2015 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] An open source implementation of a 16bit X86 BIOS + +[T] SeaBIOS is an open source implementation of a 16bit X86 BIOS. +[T] SeaBIOS can run in an emulator or it can run natively on X86 hardware +[T] with the use of coreboot. SeaBIOS is the default BIOS for qemu and kvm. + +[U] http://www.seabios.org/SeaBIOS + +[A] Kevin O'Connor +[M] Nagy Karoly Gabriel + +[C] base/system + +[L] GPL +[S] Stable +[V] 1.7.5.2 +[P] X -?----5---9 160.000 + +[D] 2381426959 seabios-1.7.5.2.tar.gz http://code.coreboot.org/p/seabios/downloads/get/