[LinuxBIOS] buildrom: packages/linuxbios/m57sli-linuxbios.mk
Jordan Crouse
jordan.crouse at amd.com
Thu Sep 6 04:50:24 CEST 2007
On 05/09/07 18:44 -0400, Ward Vandewege wrote:
>
>
> --
> Ward Vandewege <ward at fsf.org>
> Free Software Foundation - Senior System Administrator
>
> Add the makefile for the m57sli LinuxBIOS build.
>
> Signed-off-by: Ward Vandewege <ward at gnu.org>
Acked-by: Jordan Crouse <jordan.crouse at amd.com>
> Index: packages/linuxbios/m57sli-linuxbios.mk
> ===================================================================
> --- packages/linuxbios/m57sli-linuxbios.mk (revision 0)
> +++ packages/linuxbios/m57sli-linuxbios.mk (revision 0)
> @@ -0,0 +1,44 @@
> +# This is the Generic LinuxBIOS target
> +
> +ifeq ($(CONFIG_PLATFORM),y)
> +ifeq ($(LINUXBIOS_TAG),)
> +$(error You need to specify a version to pull in your platform config)
> +endif
> +endif
> +
> +LINUXBIOS_PATCHES = $(PACKAGE_DIR)/linuxbios/patches/no-stack-protector.patch
> +
> +ifeq ($(CONFIG_PAYLOAD_FILO),y)
> + LINUXBIOS_PATCHES += $(PACKAGE_DIR)/linuxbios/patches/m57sli-filo-Config.lb.patch
> +endif
> +
> +ifeq ($(CONFIG_PAYLOAD_KERNEL),y)
> + LINUXBIOS_PATCHES += $(PACKAGE_DIR)/linuxbios/patches/m57sli-kernel-and-lab-Config.lb.patch
> +endif
> +
> +ifeq ($(CONFIG_PAYLOAD_LAB),y)
> + LINUXBIOS_PATCHES += $(PACKAGE_DIR)/linuxbios/patches/m57sli-kernel-and-lab-Config.lb.patch
> +endif
> +
> +
> +LINUXBIOS_BASE_DIR=svn
> +LINUXBIOS_URL=svn://openbios.org/repos/trunk/LinuxBIOSv2
> +LINUXBIOS_TARBALL=linuxbios-svn-$(LINUXBIOS_TAG).tar.gz
> +LINUXBIOS_PAYLOAD_TARGET=$(LINUXBIOS_BUILD_DIR)/payload.elf
> +TARGET_ROM = $(LINUXBIOS_VENDOR)-$(LINUXBIOS_BOARD).rom
> +
> +include $(PACKAGE_DIR)/linuxbios/linuxbios.inc
> +
> +$(SOURCE_DIR)/$(LINUXBIOS_TARBALL):
> + @ echo "Fetching the LinuxBIOS code..."
> + @ mkdir -p $(SOURCE_DIR)/linuxbios
> + @ $(BIN_DIR)/fetchsvn.sh $(LINUXBIOS_URL) $(SOURCE_DIR)/linuxbios \
> + $(LINUXBIOS_TAG) $(SOURCE_DIR)/$(LINUXBIOS_TARBALL) \
> + > $(LINUXBIOS_FETCH_LOG) 2>&1
> +
> +$(OUTPUT_DIR)/$(TARGET_ROM): $(LINUXBIOS_OUTPUT)
> + @ cat $(LINUXBIOS_OUTPUT) > $@
> +
> +linuxbios: $(OUTPUT_DIR)/$(TARGET_ROM)
> +linuxbios-clean: generic-linuxbios-clean
> +linuxbios-distclean: generic-linuxbios-distclean
> --
> linuxbios mailing list
> linuxbios at linuxbios.org
> http://www.linuxbios.org/mailman/listinfo/linuxbios
--
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.
More information about the coreboot
mailing list