Author: myles Date: 2009-09-04 15:06:59 +0200 (Fri, 04 Sep 2009) New Revision: 272
Modified: buildrom-devel/packages/grub2/grub2.mk Log: Force symlink creation so grub2 builds when the symlink already exists.
Signed-off-by: Nathan Williams nathan@traverse.com.au Acked-by: Myles Watson mylesgw@gmail.com
Modified: buildrom-devel/packages/grub2/grub2.mk =================================================================== --- buildrom-devel/packages/grub2/grub2.mk 2009-09-02 21:41:13 UTC (rev 271) +++ buildrom-devel/packages/grub2/grub2.mk 2009-09-04 13:06:59 UTC (rev 272) @@ -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