From af6e745173cc3b4eb7ec39fa05df59cdf513fb8e Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 30 Oct 2007 02:24:49 +0000 Subject: [PATCH] move target directory to have the same name as the directory in the mainboard/ path. Also add a Config.lb for abuild. It's required for the three images variant as abuild doesnt detect this automatically. Trivial patch - it does not even fix the build yet. Patches welcome. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2906 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- targets/sis/sis761/Config-abuild.lb | 55 +++++++++++++++++++++ targets/sis/{churchill => sis761}/Config.lb | 0 targets/sis/{churchill => sis761}/README | 0 targets/sis/{churchill => sis761}/VERSION | 0 4 files changed, 55 insertions(+) create mode 100644 targets/sis/sis761/Config-abuild.lb rename targets/sis/{churchill => sis761}/Config.lb (100%) rename targets/sis/{churchill => sis761}/README (100%) rename targets/sis/{churchill => sis761}/VERSION (100%) diff --git a/targets/sis/sis761/Config-abuild.lb b/targets/sis/sis761/Config-abuild.lb new file mode 100644 index 0000000000..1334e8c7ec --- /dev/null +++ b/targets/sis/sis761/Config-abuild.lb @@ -0,0 +1,55 @@ +## +## This file is part of the LinuxBIOS project. +## +## Copyright (C) 2007 Uwe Hermann +## +## 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; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## + +target sis_sis761 +mainboard sis/sis761 + +__COMPRESSION__ + +option ROM_SIZE = 512*1024 + +romimage "normal" + option USE_FAILOVER_IMAGE=0 + option USE_FALLBACK_IMAGE=0 + option ROM_IMAGE_SIZE=0x28000 + option XIP_ROM_SIZE=0x40000 + option LINUXBIOS_EXTRA_VERSION=".0-Normal" + payload __PAYLOAD__ +end + +romimage "fallback" + option USE_FAILOVER_IMAGE=0 + option USE_FALLBACK_IMAGE=1 + option ROM_IMAGE_SIZE=0x20000 + option XIP_ROM_SIZE=0x40000 + option LINUXBIOS_EXTRA_VERSION=".0-Fallback" + payload __PAYLOAD__ +end + +romimage "failover" + option USE_FAILOVER_IMAGE=1 + option USE_FALLBACK_IMAGE=0 + option ROM_IMAGE_SIZE=FAILOVER_SIZE + option XIP_ROM_SIZE=FAILOVER_SIZE + option LINUXBIOS_EXTRA_VERSION=".0-Failover" +end + + +buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" "failover" diff --git a/targets/sis/churchill/Config.lb b/targets/sis/sis761/Config.lb similarity index 100% rename from targets/sis/churchill/Config.lb rename to targets/sis/sis761/Config.lb diff --git a/targets/sis/churchill/README b/targets/sis/sis761/README similarity index 100% rename from targets/sis/churchill/README rename to targets/sis/sis761/README diff --git a/targets/sis/churchill/VERSION b/targets/sis/sis761/VERSION similarity index 100% rename from targets/sis/churchill/VERSION rename to targets/sis/sis761/VERSION