[coreboot] r198 - buildrom-devel/packages/coreboot-v2
svn at coreboot.org
svn at coreboot.org
Thu May 22 22:57:22 CEST 2008
Author: myles
Date: 2008-05-22 22:57:22 +0200 (Thu, 22 May 2008)
New Revision: 198
Modified:
buildrom-devel/packages/coreboot-v2/coreboot.inc
Log:
This is a trivial patch that appends the version to the .configured stamp for
coreboot-v2. It makes it so you can switch architectures and have the "right
thing" happen instead of confusing error messages about nonexistant files.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Myles Watson <mylesgw at gmail.com>
Modified: buildrom-devel/packages/coreboot-v2/coreboot.inc
===================================================================
--- buildrom-devel/packages/coreboot-v2/coreboot.inc 2008-05-20 20:03:29 UTC (rev 197)
+++ buildrom-devel/packages/coreboot-v2/coreboot.inc 2008-05-22 20:57:22 UTC (rev 198)
@@ -77,7 +77,7 @@
ifeq ($(CONFIG_CB_USE_BUILD),y)
CBV2_DIR_TARGET=
else
-CBV2_DIR_TARGET=$(CBV2_STAMP_DIR)/.configured
+CBV2_DIR_TARGET=$(CBV2_STAMP_DIR)/.configured-$(COREBOOT_BOARD)
endif
# If an optionrom was specified in the configuration, then use it
@@ -103,7 +103,7 @@
@ $(BIN_DIR)/doquilt.sh $(CBV2_SRC_DIR) $(CBV2_PATCHES)
@ touch $@
-$(CBV2_STAMP_DIR)/.configured: $(CBV2_STAMP_DIR)/.patched
+$(CBV2_STAMP_DIR)/.configured-$(COREBOOT_BOARD): $(CBV2_STAMP_DIR)/.patched
@ echo "Building target..."
@( cd $(CBV2_TARGET_DIR); \
./buildtarget $(CBV2_CONFIG_NAME) > $(CBV2_CONFIG_LOG) 2>&1)
@@ -156,7 +156,7 @@
generic-coreboot-clean:
@ echo "Cleaning coreboot..."
- @ rm -f $(CBV2_STAMP_DIR)/.configured
+ @ rm -f $(CBV2_STAMP_DIR)/.configured*
@ rm -f $(CBV2_PAYLOAD_TARGET)
ifneq ($(wildcard $(CBV2_BUILD_DIR)/Makefile),)
@ $(MAKE) -C $(CBV2_BUILD_DIR) clean > /dev/null 2>&1;
More information about the coreboot
mailing list