[coreboot] [PATCH] buildrom: Force creation of symlink
Nathan Williams
nathan at traverse.com.au
Fri Sep 4 06:57:42 CEST 2009
Building grub2 was failing if the symlink already exists.
Signed-off-by: Nathan Williams <nathan at traverse.com.au>
Index: buildrom-devel/packages/grub2/grub2.mk
===================================================================
--- buildrom-devel/packages/grub2/grub2.mk (revision 271)
+++ buildrom-devel/packages/grub2/grub2.mk (working copy)
@@ -48,7 +48,7 @@
@ echo "Using custom config $(GRUB2_CONFIG)"
endif
@ echo "Building grub2..."
- @ ln -s $(GRUB2_SRC_DIR)/config.log $(GRUB2_LOG_DIR)
+ @ ln -sf $(GRUB2_SRC_DIR)/config.log $(GRUB2_LOG_DIR)
@ (cd $(GRUB2_SRC_DIR) ; sh ./autogen.sh >> $(GRUB2_BUILD_LOG) 2>&1)
@ (cd $(GRUB2_SRC_DIR) ; export LIBS= CC= LDFLAGS= CFLAGS=; ./configure --with-platform=coreboot --prefix=$(STAGING_DIR) >> $(GRUB2_BUILD_LOG) 2>&1)
@ make -C $(GRUB2_SRC_DIR) >> $(GRUB2_BUILD_LOG) 2>&1
More information about the coreboot
mailing list