Author: jcrouse Date: 2008-01-18 18:06:48 +0100 (Fri, 18 Jan 2008) New Revision: 98
Added: buildrom-devel/packages/coreboot-v2/alix1c.mk buildrom-devel/packages/coreboot-v2/coreboot.inc buildrom-devel/packages/coreboot-v2/ga-2761gxdk.mk buildrom-devel/packages/coreboot-v2/generic.mk buildrom-devel/packages/coreboot-v2/m57sli.mk buildrom-devel/packages/coreboot-v2/msm800sev.mk buildrom-devel/packages/coreboot-v2/norwich.mk buildrom-devel/packages/coreboot-v2/supermicro-h8dmr.mk buildrom-devel/packages/coreboot-v2/tyan-s2882.mk buildrom-devel/packages/coreboot-v2/tyan-s2891.mk buildrom-devel/packages/coreboot-v3/coreboot-v3.mk Removed: buildrom-devel/packages/coreboot-v2/alix1c-linuxbios.mk buildrom-devel/packages/coreboot-v2/ga-2761gxdk-linuxbios.mk buildrom-devel/packages/coreboot-v2/generic-linuxbios.mk buildrom-devel/packages/coreboot-v2/linuxbios.inc buildrom-devel/packages/coreboot-v2/m57sli-linuxbios.mk buildrom-devel/packages/coreboot-v2/msm800sev-linuxbios.mk buildrom-devel/packages/coreboot-v2/norwich-linuxbios.mk buildrom-devel/packages/coreboot-v2/supermicro-h8dmr-linuxbios.mk buildrom-devel/packages/coreboot-v2/tyan-s2882-linuxbios.mk buildrom-devel/packages/coreboot-v2/tyan-s2891-linuxbios.mk buildrom-devel/packages/coreboot-v3/linuxbiosv3.mk Log: Hopefully, this is the last rename - testing will ensue
Deleted: buildrom-devel/packages/coreboot-v2/alix1c-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/alix1c-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/alix1c-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,38 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -VSA_URL=http://www.amd.com/files/connectivitysolutions/geode/geode_lx/ -CBV2_VSA=lx_vsa.36k.bin -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -$(SOURCE_DIR)/$(CBV2_VSA): - @ echo "Fetching the VSA code..." - wget -P $(SOURCE_DIR) $(VSA_URL)/$(CBV2_VSA).gz -O $@ - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -# Special rule - append the VSA - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(CBV2_VSA) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(SOURCE_DIR)/$(CBV2_VSA) $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/alix1c.mk (from rev 97, buildrom-devel/packages/coreboot-v2/alix1c-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/alix1c.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/alix1c.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,38 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +VSA_URL=http://www.amd.com/files/connectivitysolutions/geode/geode_lx/ +CBV2_VSA=lx_vsa.36k.bin +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +$(SOURCE_DIR)/$(CBV2_VSA): + @ echo "Fetching the VSA code..." + wget -P $(SOURCE_DIR) $(VSA_URL)/$(CBV2_VSA).gz -O $@ + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +# Special rule - append the VSA + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(CBV2_VSA) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(SOURCE_DIR)/$(CBV2_VSA) $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/coreboot.inc (from rev 97, buildrom-devel/packages/coreboot-v2/linuxbios.inc) =================================================================== --- buildrom-devel/packages/coreboot-v2/coreboot.inc (rev 0) +++ buildrom-devel/packages/coreboot-v2/coreboot.inc 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,100 @@ +# This is the common code included by all the targets + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(COREBOOT_VENDOR),) +$(error No coreboot vendor specified) +endif +ifeq ($(COREBOOT_BOARD),) +$(error No coreboot board specified) +endif +ifeq ($(CBV2_CONFIG),) +$(error No coreboot config specified) +endif +ifeq ($(CBV2_TDIR),) +$(error No coreboot TDIR specified) +endif +endif + +CBV2_OUTPUT=$(CBV2_BUILD_DIR)/$(COREBOOT_ROM_NAME) +CBV2_DIR=$(BUILD_DIR)/coreboot + +# If the user wanted to override the build directory - obey that now + +ifeq ($(CONFIG_CB_USE_BUILD),y) +CBV2_SRC_DIR=$(subst ",,$(CONFIG_CB_BUILDDIR)) +else +CBV2_SRC_DIR=$(CBV2_DIR)/$(CBV2_BASE_DIR) +endif + +CBV2_TARGET_DIR=$(CBV2_SRC_DIR)/targets/ +CBV2_TARGET_NAME=$(COREBOOT_VENDOR)/$(COREBOOT_BOARD) +CBV2_CONFIG_NAME=$(CBV2_TARGET_NAME)/$(CBV2_CONFIG) + +CBV2_BUILD_DIR=$(CBV2_TARGET_DIR)/$(CBV2_TARGET_NAME)/$(CBV2_TDIR) + +CBV2_STAMP_DIR=$(CBV2_DIR)/stamps +CBV2_LOG_DIR=$(CBV2_DIR)/logs + +ifeq ($(CONFIG_VERBOSE),y) +CBV2_FETCH_LOG=/dev/stdout +CBV2_CONFIG_LOG=/dev/stdout +CBV2_BUILD_LOG=/dev/stdout +CBV2_INSTALL_LOG=/dev/stdout +else +CBV2_FETCH_LOG=$(CBV2_LOG_DIR)/fetch.log +CBV2_BUILD_LOG=$(CBV2_LOG_DIR)/build.log +CBV2_CONFIG_LOG=$(CBV2_LOG_DIR)/config.log +CBV2_INSTALL_LOG=$(CBV2_LOG_DIR)/install.log +endif + +# This allows us to skip the unpack/patch/configure stage + +ifeq ($(CONFIG_CB_USE_BUILD),y) +CBV2_DIR_TARGET= +else +CBV2_DIR_TARGET=$(CBV2_STAMP_DIR)/.configured +endif + +$(CBV2_PAYLOAD_TARGET): $(PAYLOAD_TARGET) + @ cp $< $@ + +$(CBV2_STAMP_DIR)/.unpacked: $(SOURCE_DIR)/$(CBV2_TARBALL) + @ echo "Unpacking coreboot..." + @ tar -C $(CBV2_DIR) -zxf $(SOURCE_DIR)/$(CBV2_TARBALL) + @ touch $@ + +$(CBV2_STAMP_DIR)/.patched: $(CBV2_STAMP_DIR)/.unpacked + @ echo "Patching coreboot..." + @ $(BIN_DIR)/doquilt.sh $(CBV2_SRC_DIR) $(CBV2_PATCHES) + @ touch $@ + +$(CBV2_STAMP_DIR)/.configured: $(CBV2_STAMP_DIR)/.patched + @ echo "Building target..." + @( cd $(CBV2_TARGET_DIR); \ + ./buildtarget $(CBV2_CONFIG_NAME) > $(CBV2_CONFIG_LOG) 2>&1) + @ touch $@ + +$(CBV2_STAMP_DIR) $(CBV2_LOG_DIR): + @ mkdir -p $@ + +$(CBV2_OUTPUT): $(CBV2_STAMP_DIR) $(CBV2_LOG_DIR) $(CBV2_DIR_TARGET) $(CBV2_PAYLOAD_TARGET) + @ echo "Building coreboot..." + @ (export CPU_OPT="$(STACKPROTECT)"; \ + make -C $(CBV2_BUILD_DIR) > $(CBV2_BUILD_LOG) 2>&1) + +generic-coreboot-clean: + @ echo "Cleaning coreboot..." + @ rm -f $(CBV2_PAYLOAD_TARGET) + @ if [ -d $(CBV2_BUILD_DIR) ];then \ + $(MAKE) -C $(CBV2_BUILD_DIR) clean > /dev/null 2>&1; \ + fi + @ rm -f $(CBV2_OUTPUT) + +generic-coreboot-distclean: + @ if [ "$(CONFIG_CB_USE_BUILD)" = "y" ]; then \ + echo "Cleaning coreboot build..."; \ + $(MAKE) -C $(CBV2_BUILD_DIR) clean > /dev/null 2>&1; \ + rm -f $(CBV2_OUTPUT); \ + fi + + @ rm -rf $(CBV2_DIR)/*
Deleted: buildrom-devel/packages/coreboot-v2/ga-2761gxdk-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/ga-2761gxdk-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/ga-2761gxdk-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,38 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_PATCHES=$(PACKAGE_DIR)/coreboot-v2/patches/2761gxdk-fix-target.patch - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -# This matches the base name of the ROM on -# http://www.coreboot.org/data/optionroms/ - -OPTIONROM_ID = pci1039,6330 -include $(PACKAGE_DIR)/coreboot-v2/optionroms.inc - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(OPTIONROM_ID).rom - @ mkdir -p $(OUTPUT_DIR) - @ cat $(SOURCE_DIR)/$(OPTIONROM_ID).rom $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/ga-2761gxdk.mk (from rev 97, buildrom-devel/packages/coreboot-v2/ga-2761gxdk-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/ga-2761gxdk.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/ga-2761gxdk.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,38 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_PATCHES=$(PACKAGE_DIR)/coreboot-v2/patches/2761gxdk-fix-target.patch + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +# This matches the base name of the ROM on +# http://www.coreboot.org/data/optionroms/ + +OPTIONROM_ID = pci1039,6330 +include $(PACKAGE_DIR)/coreboot-v2/optionroms.inc + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(OPTIONROM_ID).rom + @ mkdir -p $(OUTPUT_DIR) + @ cat $(SOURCE_DIR)/$(OPTIONROM_ID).rom $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Deleted: buildrom-devel/packages/coreboot-v2/generic-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/generic-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/generic-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,42 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -# This is the list of components that comprise the ROM (excluding the payload) -CBV2_COMPONENTS = $(CBV2_OUTPUT) - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -# If an optionrom was specified in the configuration, then use it - -ifneq ($(OPTIONROM_ID),) -include $(PACKAGE_DIR)/coreboot-v2/optionroms.inc - -# Add it to the front of the list so it is prepended to the coreboot output -CBV2_COMPONENTS = $(SOURCE_DIR)/$(OPTIONROM_ID).rom $(CBV2_COMPONENTS) -endif - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_COMPONENTS) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(CBV2_COMPONENTS) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/generic.mk (from rev 97, buildrom-devel/packages/coreboot-v2/generic-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/generic.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/generic.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,42 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +# This is the list of components that comprise the ROM (excluding the payload) +CBV2_COMPONENTS = $(CBV2_OUTPUT) + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +# If an optionrom was specified in the configuration, then use it + +ifneq ($(OPTIONROM_ID),) +include $(PACKAGE_DIR)/coreboot-v2/optionroms.inc + +# Add it to the front of the list so it is prepended to the coreboot output +CBV2_COMPONENTS = $(SOURCE_DIR)/$(OPTIONROM_ID).rom $(CBV2_COMPONENTS) +endif + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_COMPONENTS) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(CBV2_COMPONENTS) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Deleted: buildrom-devel/packages/coreboot-v2/linuxbios.inc =================================================================== --- buildrom-devel/packages/coreboot-v2/linuxbios.inc 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/linuxbios.inc 2008-01-18 17:06:48 UTC (rev 98) @@ -1,100 +0,0 @@ -# This is the common code included by all the targets - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(COREBOOT_VENDOR),) -$(error No coreboot vendor specified) -endif -ifeq ($(COREBOOT_BOARD),) -$(error No coreboot board specified) -endif -ifeq ($(CBV2_CONFIG),) -$(error No coreboot config specified) -endif -ifeq ($(CBV2_TDIR),) -$(error No coreboot TDIR specified) -endif -endif - -CBV2_OUTPUT=$(CBV2_BUILD_DIR)/$(COREBOOT_ROM_NAME) -CBV2_DIR=$(BUILD_DIR)/coreboot - -# If the user wanted to override the build directory - obey that now - -ifeq ($(CONFIG_CB_USE_BUILD),y) -CBV2_SRC_DIR=$(subst ",,$(CONFIG_CB_BUILDDIR)) -else -CBV2_SRC_DIR=$(CBV2_DIR)/$(CBV2_BASE_DIR) -endif - -CBV2_TARGET_DIR=$(CBV2_SRC_DIR)/targets/ -CBV2_TARGET_NAME=$(COREBOOT_VENDOR)/$(COREBOOT_BOARD) -CBV2_CONFIG_NAME=$(CBV2_TARGET_NAME)/$(CBV2_CONFIG) - -CBV2_BUILD_DIR=$(CBV2_TARGET_DIR)/$(CBV2_TARGET_NAME)/$(CBV2_TDIR) - -CBV2_STAMP_DIR=$(CBV2_DIR)/stamps -CBV2_LOG_DIR=$(CBV2_DIR)/logs - -ifeq ($(CONFIG_VERBOSE),y) -CBV2_FETCH_LOG=/dev/stdout -CBV2_CONFIG_LOG=/dev/stdout -CBV2_BUILD_LOG=/dev/stdout -CBV2_INSTALL_LOG=/dev/stdout -else -CBV2_FETCH_LOG=$(CBV2_LOG_DIR)/fetch.log -CBV2_BUILD_LOG=$(CBV2_LOG_DIR)/build.log -CBV2_CONFIG_LOG=$(CBV2_LOG_DIR)/config.log -CBV2_INSTALL_LOG=$(CBV2_LOG_DIR)/install.log -endif - -# This allows us to skip the unpack/patch/configure stage - -ifeq ($(CONFIG_CB_USE_BUILD),y) -CBV2_DIR_TARGET= -else -CBV2_DIR_TARGET=$(CBV2_STAMP_DIR)/.configured -endif - -$(CBV2_PAYLOAD_TARGET): $(PAYLOAD_TARGET) - @ cp $< $@ - -$(CBV2_STAMP_DIR)/.unpacked: $(SOURCE_DIR)/$(CBV2_TARBALL) - @ echo "Unpacking coreboot..." - @ tar -C $(CBV2_DIR) -zxf $(SOURCE_DIR)/$(CBV2_TARBALL) - @ touch $@ - -$(CBV2_STAMP_DIR)/.patched: $(CBV2_STAMP_DIR)/.unpacked - @ echo "Patching coreboot..." - @ $(BIN_DIR)/doquilt.sh $(CBV2_SRC_DIR) $(CBV2_PATCHES) - @ touch $@ - -$(CBV2_STAMP_DIR)/.configured: $(CBV2_STAMP_DIR)/.patched - @ echo "Building target..." - @( cd $(CBV2_TARGET_DIR); \ - ./buildtarget $(CBV2_CONFIG_NAME) > $(CBV2_CONFIG_LOG) 2>&1) - @ touch $@ - -$(CBV2_STAMP_DIR) $(CBV2_LOG_DIR): - @ mkdir -p $@ - -$(CBV2_OUTPUT): $(CBV2_STAMP_DIR) $(CBV2_LOG_DIR) $(CBV2_DIR_TARGET) $(CBV2_PAYLOAD_TARGET) - @ echo "Building coreboot..." - @ (export CPU_OPT="$(STACKPROTECT)"; \ - make -C $(CBV2_BUILD_DIR) > $(CBV2_BUILD_LOG) 2>&1) - -generic-coreboot-clean: - @ echo "Cleaning coreboot..." - @ rm -f $(CBV2_PAYLOAD_TARGET) - @ if [ -d $(CBV2_BUILD_DIR) ];then \ - $(MAKE) -C $(CBV2_BUILD_DIR) clean > /dev/null 2>&1; \ - fi - @ rm -f $(CBV2_OUTPUT) - -generic-coreboot-distclean: - @ if [ "$(CONFIG_CB_USE_BUILD)" = "y" ]; then \ - echo "Cleaning coreboot build..."; \ - $(MAKE) -C $(CBV2_BUILD_DIR) clean > /dev/null 2>&1; \ - rm -f $(CBV2_OUTPUT); \ - fi - - @ rm -rf $(CBV2_DIR)/*
Deleted: buildrom-devel/packages/coreboot-v2/m57sli-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/m57sli-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/m57sli-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,49 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_PATCHES= - -ifeq ($(CONFIG_PAYLOAD_FILO),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-filo-and-etherboot-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_ETHERBOOT),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-filo-and-etherboot-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_KERNEL),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-kernel-and-lab-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_LAB),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-kernel-and-lab-Config.lb.patch -endif - - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/m57sli.mk (from rev 97, buildrom-devel/packages/coreboot-v2/m57sli-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/m57sli.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/m57sli.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,49 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_PATCHES= + +ifeq ($(CONFIG_PAYLOAD_FILO),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-filo-and-etherboot-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_ETHERBOOT),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-filo-and-etherboot-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_KERNEL),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-kernel-and-lab-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_LAB),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/m57sli-kernel-and-lab-Config.lb.patch +endif + + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Deleted: buildrom-devel/packages/coreboot-v2/msm800sev-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/msm800sev-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/msm800sev-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,38 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -VSA_URL=http://www.amd.com/files/connectivitysolutions/geode/geode_lx/ -CBV2_VSA=lx_vsa.36k.bin -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -$(SOURCE_DIR)/$(CBV2_VSA): - @ echo "Fetching the VSA code..." - wget -P $(SOURCE_DIR) $(VSA_URL)/$(CBV2_VSA).gz -O $@ - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -# Special rule - append the VSA - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(CBV2_VSA) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(SOURCE_DIR)/$(CBV2_VSA) $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/msm800sev.mk (from rev 97, buildrom-devel/packages/coreboot-v2/msm800sev-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/msm800sev.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/msm800sev.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,38 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +VSA_URL=http://www.amd.com/files/connectivitysolutions/geode/geode_lx/ +CBV2_VSA=lx_vsa.36k.bin +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +$(SOURCE_DIR)/$(CBV2_VSA): + @ echo "Fetching the VSA code..." + wget -P $(SOURCE_DIR) $(VSA_URL)/$(CBV2_VSA).gz -O $@ + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +# Special rule - append the VSA + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(CBV2_VSA) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(SOURCE_DIR)/$(CBV2_VSA) $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Deleted: buildrom-devel/packages/coreboot-v2/norwich-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/norwich-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/norwich-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,40 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -else -$(warning You specified $(CBV2_TAG) a version to pull in your platform config) -endif -endif - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -VSA_URL=http://www.amd.com/files/connectivitysolutions/geode/geode_lx/ -CBV2_VSA=lx_vsa.36k.bin -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -$(SOURCE_DIR)/$(CBV2_VSA): - @ echo "Fetching the VSA code..." - wget -P $(SOURCE_DIR) $(VSA_URL)/$(CBV2_VSA).gz -O $@ - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot rev $(CBV2_TAG) code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -# Special rule - append the VSA - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(CBV2_VSA) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(SOURCE_DIR)/$(CBV2_VSA) $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/norwich.mk (from rev 97, buildrom-devel/packages/coreboot-v2/norwich-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/norwich.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/norwich.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,40 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +else +$(warning You specified $(CBV2_TAG) a version to pull in your platform config) +endif +endif + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +VSA_URL=http://www.amd.com/files/connectivitysolutions/geode/geode_lx/ +CBV2_VSA=lx_vsa.36k.bin +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +$(SOURCE_DIR)/$(CBV2_VSA): + @ echo "Fetching the VSA code..." + wget -P $(SOURCE_DIR) $(VSA_URL)/$(CBV2_VSA).gz -O $@ + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot rev $(CBV2_TAG) code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +# Special rule - append the VSA + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) $(SOURCE_DIR)/$(CBV2_VSA) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(SOURCE_DIR)/$(CBV2_VSA) $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Deleted: buildrom-devel/packages/coreboot-v2/supermicro-h8dmr-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/supermicro-h8dmr-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/supermicro-h8dmr-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,49 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_PATCHES = - -ifeq ($(CONFIG_PAYLOAD_FILO),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-filo-and-etherboot-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_ETHERBOOT),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-filo-and-etherboot-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_KERNEL),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_LAB),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch -endif - - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/supermicro-h8dmr.mk (from rev 97, buildrom-devel/packages/coreboot-v2/supermicro-h8dmr-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/supermicro-h8dmr.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/supermicro-h8dmr.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,49 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_PATCHES = + +ifeq ($(CONFIG_PAYLOAD_FILO),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-filo-and-etherboot-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_ETHERBOOT),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-filo-and-etherboot-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_KERNEL),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_LAB),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch +endif + + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Deleted: buildrom-devel/packages/coreboot-v2/tyan-s2882-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/tyan-s2882-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/tyan-s2882-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,45 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_PATCHES = - -ifeq ($(CONFIG_PAYLOAD_FILO),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2882-filo-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_KERNEL),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2882-kernel-and-lab-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_LAB),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2882-kernel-and-lab-Config.lb.patch -endif - - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/tyan-s2882.mk (from rev 97, buildrom-devel/packages/coreboot-v2/tyan-s2882-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/tyan-s2882.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/tyan-s2882.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,45 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_PATCHES = + +ifeq ($(CONFIG_PAYLOAD_FILO),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2882-filo-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_KERNEL),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2882-kernel-and-lab-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_LAB),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2882-kernel-and-lab-Config.lb.patch +endif + + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Deleted: buildrom-devel/packages/coreboot-v2/tyan-s2891-linuxbios.mk =================================================================== --- buildrom-devel/packages/coreboot-v2/tyan-s2891-linuxbios.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v2/tyan-s2891-linuxbios.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,45 +0,0 @@ -# This is the Generic coreboot target - -ifeq ($(CONFIG_PLATFORM),y) -ifeq ($(CBV2_TAG),) -$(error You need to specify a version to pull in your platform config) -endif -endif - -CBV2_PATCHES = - -ifeq ($(CONFIG_PAYLOAD_FILO),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2891-filo-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_KERNEL),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2891-kernel-and-lab-Config.lb.patch -endif - -ifeq ($(CONFIG_PAYLOAD_LAB),y) - CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2891-kernel-and-lab-Config.lb.patch -endif - - -CBV2_BASE_DIR=svn -CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 -CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz -CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc - -$(SOURCE_DIR)/$(CBV2_TARBALL): - @ echo "Fetching the coreboot code..." - @ mkdir -p $(SOURCE_DIR)/coreboot - @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ - $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ - > $(CBV2_FETCH_LOG) 2>&1 - -$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) - @ mkdir -p $(OUTPUT_DIR) - @ cat $(CBV2_OUTPUT) > $@ - -coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) -coreboot-clean: generic-coreboot-clean -coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v2/tyan-s2891.mk (from rev 97, buildrom-devel/packages/coreboot-v2/tyan-s2891-linuxbios.mk) =================================================================== --- buildrom-devel/packages/coreboot-v2/tyan-s2891.mk (rev 0) +++ buildrom-devel/packages/coreboot-v2/tyan-s2891.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,45 @@ +# This is the Generic coreboot target + +ifeq ($(CONFIG_PLATFORM),y) +ifeq ($(CBV2_TAG),) +$(error You need to specify a version to pull in your platform config) +endif +endif + +CBV2_PATCHES = + +ifeq ($(CONFIG_PAYLOAD_FILO),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2891-filo-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_KERNEL),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2891-kernel-and-lab-Config.lb.patch +endif + +ifeq ($(CONFIG_PAYLOAD_LAB),y) + CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/tyan-s2891-kernel-and-lab-Config.lb.patch +endif + + +CBV2_BASE_DIR=svn +CBV2_URL=svn://coreboot.org/repos/trunk/coreboot-v2 +CBV2_TARBALL=coreboot-svn-$(CBV2_TAG).tar.gz +CBV2_PAYLOAD_TARGET=$(CBV2_BUILD_DIR)/payload.elf +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc + +$(SOURCE_DIR)/$(CBV2_TARBALL): + @ echo "Fetching the coreboot code..." + @ mkdir -p $(SOURCE_DIR)/coreboot + @ $(BIN_DIR)/fetchsvn.sh $(CBV2_URL) $(SOURCE_DIR)/coreboot \ + $(CBV2_TAG) $(SOURCE_DIR)/$(CBV2_TARBALL) \ + > $(CBV2_FETCH_LOG) 2>&1 + +$(OUTPUT_DIR)/$(TARGET_ROM): $(CBV2_OUTPUT) + @ mkdir -p $(OUTPUT_DIR) + @ cat $(CBV2_OUTPUT) > $@ + +coreboot: $(OUTPUT_DIR)/$(TARGET_ROM) +coreboot-clean: generic-coreboot-clean +coreboot-distclean: generic-coreboot-distclean
Copied: buildrom-devel/packages/coreboot-v3/coreboot-v3.mk (from rev 97, buildrom-devel/packages/coreboot-v3/linuxbiosv3.mk) =================================================================== --- buildrom-devel/packages/coreboot-v3/coreboot-v3.mk (rev 0) +++ buildrom-devel/packages/coreboot-v3/coreboot-v3.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -0,0 +1,76 @@ +ifeq ($(CBV3_TAG),) +$(error You need to specify a version to pull in your platform config) +endif + +CBV3_URL=svn://coreboot.org/repository/coreboot-v3 +CBV3_TARBALL=coreboot-svn-$(CBV3_TAG).tar.gz +CBV3_DIR=$(BUILD_DIR)/coreboot-v3 +CBV3_SRC_DIR=$(CBV3_DIR)/svn + +CBV3_STAMP_DIR=$(CBV3_DIR)/stamps +CBV3_LOG_DIR=$(CBV3_DIR)/logs + +ifeq ($(CONFIG_VERBOSE),y) +CBV3_FETCH_LOG=/dev/stdout +CBV3_CONFIG_LOG=/dev/stdout +CBV3_BUILD_LOG=/dev/stdout +else +CBV3_FETCH_LOG=$(CBV3_LOG_DIR)/fetch.log +CBV3_CONFIG_LOG=$(CBV3_LOG_DIR)/config.log +CBV3_BUILD_LOG=$(CBV3_LOG_DIR)/build.log +endif + +TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom + +CBV3_OUTPUT=$(CBV3_SRC_DIR)/build/coreboot.rom + +CBV3_PATCHES ?= + +$(SOURCE_DIR)/$(CBV3_TARBALL): + @ mkdir -p $(SOURCE_DIR)/coreboot-v3 + @ $(BIN_DIR)/fetchsvn.sh $(CBV3_URL) \ + $(SOURCE_DIR)/coreboot-v3 $(CBV3_TAG) \ + $@ > $(CBV3_FETCH_LOG) 2>&1 + +$(CBV3_STAMP_DIR)/.unpacked: $(SOURCE_DIR)/$(CBV3_TARBALL) + @echo "Unpacking coreboot v3..." + @ mkdir -p $(CBV3_DIR) + @ tar -C $(CBV3_DIR) -zxf $(SOURCE_DIR)/$(CBV3_TARBALL) + @ touch $@ + +$(CBV3_STAMP_DIR)/.patched: $(CBV3_STAMP_DIR)/.unpacked + @ echo "Patching coreboot v3..." + @ $(BIN_DIR)/doquilt.sh $(CBV3_SRC_DIR) $(CBV3_PATCHES) + @ touch $@ + +$(CBV3_STAMP_DIR)/.configured: $(CBV3_STAMP_DIR)/.patched + @ echo "Configuring coreboot v3..." + @ cp $(PACKAGE_DIR)/coreboot-v3/conf/$(CBV3_CONFIG) $(CBV3_SRC_DIR)/.config + @ make -C $(CBV3_SRC_DIR) oldconfig > $(CBV3_CONFIG_LOG) 2>&1 + @ touch $@ + +$(CBV3_OUTPUT): $(CBV3_STAMP_DIR)/.configured + @ echo "Building coreboot v3..." + @ $(MAKE) -C $(CBV3_SRC_DIR) > $(CBV3_BUILD_LOG) 2>&1 + +$(CBV3_SRC_DIR)/build/util/lar/lar: $(CBV3_STAMP_DIR)/.configured + @ $(MAKE) -C $(CBV3_SRC_DIR)/util lar > $(CBV3_BUILD_LOG) 2>&1 + +$(STAGING_DIR)/bin/lar: $(CBV3_SRC_DIR)/build/util/lar/lar + @ mkdir -p $(STAGING_DIR)/bin + @ cp $< $@ + + +$(CBV3_STAMP_DIR) $(CBV3_LOG_DIR): + @ mkdir -p $@ + +coreboot-v3: $(CBV3_LOG_DIR) $(CBV3_STAMP_DIR) $(CBV3_OUTPUT) $(STAGING_DIR)/bin/lar + +coreboot-v3-clean: + @ echo "Cleaning coreboot v3..." + @ $(MAKE) -C $(CBV3_SRC_DIR) clean > /dev/null 2>&1 + +coreboot-v3-distclean: + @ rm -rf $(CBV3_DIR)/* + @ rm -rf $(STAGING_DIR)/bin/lar +
Deleted: buildrom-devel/packages/coreboot-v3/linuxbiosv3.mk =================================================================== --- buildrom-devel/packages/coreboot-v3/linuxbiosv3.mk 2008-01-18 17:01:03 UTC (rev 97) +++ buildrom-devel/packages/coreboot-v3/linuxbiosv3.mk 2008-01-18 17:06:48 UTC (rev 98) @@ -1,76 +0,0 @@ -ifeq ($(CBV3_TAG),) -$(error You need to specify a version to pull in your platform config) -endif - -CBV3_URL=svn://coreboot.org/repository/coreboot-v3 -CBV3_TARBALL=coreboot-svn-$(CBV3_TAG).tar.gz -CBV3_DIR=$(BUILD_DIR)/coreboot-v3 -CBV3_SRC_DIR=$(CBV3_DIR)/svn - -CBV3_STAMP_DIR=$(CBV3_DIR)/stamps -CBV3_LOG_DIR=$(CBV3_DIR)/logs - -ifeq ($(CONFIG_VERBOSE),y) -CBV3_FETCH_LOG=/dev/stdout -CBV3_CONFIG_LOG=/dev/stdout -CBV3_BUILD_LOG=/dev/stdout -else -CBV3_FETCH_LOG=$(CBV3_LOG_DIR)/fetch.log -CBV3_CONFIG_LOG=$(CBV3_LOG_DIR)/config.log -CBV3_BUILD_LOG=$(CBV3_LOG_DIR)/build.log -endif - -TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom - -CBV3_OUTPUT=$(CBV3_SRC_DIR)/build/coreboot.rom - -CBV3_PATCHES ?= - -$(SOURCE_DIR)/$(CBV3_TARBALL): - @ mkdir -p $(SOURCE_DIR)/coreboot-v3 - @ $(BIN_DIR)/fetchsvn.sh $(CBV3_URL) \ - $(SOURCE_DIR)/coreboot-v3 $(CBV3_TAG) \ - $@ > $(CBV3_FETCH_LOG) 2>&1 - -$(CBV3_STAMP_DIR)/.unpacked: $(SOURCE_DIR)/$(CBV3_TARBALL) - @echo "Unpacking coreboot v3..." - @ mkdir -p $(CBV3_DIR) - @ tar -C $(CBV3_DIR) -zxf $(SOURCE_DIR)/$(CBV3_TARBALL) - @ touch $@ - -$(CBV3_STAMP_DIR)/.patched: $(CBV3_STAMP_DIR)/.unpacked - @ echo "Patching coreboot v3..." - @ $(BIN_DIR)/doquilt.sh $(CBV3_SRC_DIR) $(CBV3_PATCHES) - @ touch $@ - -$(CBV3_STAMP_DIR)/.configured: $(CBV3_STAMP_DIR)/.patched - @ echo "Configuring coreboot v3..." - @ cp $(PACKAGE_DIR)/coreboot-v3/conf/$(CBV3_CONFIG) $(CBV3_SRC_DIR)/.config - @ make -C $(CBV3_SRC_DIR) oldconfig > $(CBV3_CONFIG_LOG) 2>&1 - @ touch $@ - -$(CBV3_OUTPUT): $(CBV3_STAMP_DIR)/.configured - @ echo "Building coreboot v3..." - @ $(MAKE) -C $(CBV3_SRC_DIR) > $(CBV3_BUILD_LOG) 2>&1 - -$(CBV3_SRC_DIR)/build/util/lar/lar: $(CBV3_STAMP_DIR)/.configured - @ $(MAKE) -C $(CBV3_SRC_DIR)/util lar > $(CBV3_BUILD_LOG) 2>&1 - -$(STAGING_DIR)/bin/lar: $(CBV3_SRC_DIR)/build/util/lar/lar - @ mkdir -p $(STAGING_DIR)/bin - @ cp $< $@ - - -$(CBV3_STAMP_DIR) $(CBV3_LOG_DIR): - @ mkdir -p $@ - -coreboot-v3: $(CBV3_LOG_DIR) $(CBV3_STAMP_DIR) $(CBV3_OUTPUT) $(STAGING_DIR)/bin/lar - -coreboot-v3-clean: - @ echo "Cleaning coreboot v3..." - @ $(MAKE) -C $(CBV3_SRC_DIR) clean > /dev/null 2>&1 - -coreboot-v3-distclean: - @ rm -rf $(CBV3_DIR)/* - @ rm -rf $(STAGING_DIR)/bin/lar -