Author: myles Date: 2008-04-24 20:55:48 +0200 (Thu, 24 Apr 2008) New Revision: 158
Modified: buildrom-devel/packages/coreboot-v3/coreboot-v3.mk Log: This simple patch checks to see if the custom revision is set, and uses it (only in v3 for now) if it is.
Signed-off-by: Myles Watson mylesgw@gmail.com Acked-by: Ward Vandewege ward@gnu.org
Modified: buildrom-devel/packages/coreboot-v3/coreboot-v3.mk =================================================================== --- buildrom-devel/packages/coreboot-v3/coreboot-v3.mk 2008-04-24 13:46:32 UTC (rev 157) +++ buildrom-devel/packages/coreboot-v3/coreboot-v3.mk 2008-04-24 18:55:48 UTC (rev 158) @@ -1,3 +1,8 @@ +ifeq ($(CONFIG_CB_CUSTOM_REV),y) +$(warning Using custom rev $(CONFIG_CB_REVISION)) +CBV3_TAG=$(CONFIG_CB_REVISION) +endif + ifeq ($(CBV3_TAG),) $(error You need to specify a version to pull in your platform config) endif @@ -44,7 +49,7 @@ $@ > $(CBV3_FETCH_LOG) 2>&1
$(CBV3_STAMP_DIR)/.unpacked: $(SOURCE_DIR)/$(CBV3_TARBALL) | $(CBV3_STAMP_DIR) - @echo "Unpacking coreboot v3..." + @ echo "Unpacking coreboot v3..." @ mkdir -p $(CBV3_DIR) @ tar -C $(CBV3_DIR) -zxf $(SOURCE_DIR)/$(CBV3_TARBALL) @ touch $@