[coreboot] r257 - buildrom-devel/packages/filo
svn at coreboot.org
svn at coreboot.org
Fri Jan 23 21:20:49 CET 2009
Author: ward
Date: 2009-01-23 21:20:49 +0100 (Fri, 23 Jan 2009)
New Revision: 257
Modified:
buildrom-devel/packages/filo/filo.mk
Log:
Filo now has kconfig-style configuration. Update the filo-config make target to reflect that.
This is a trivial patch.
Signed-off-by: Ward Vandewege <ward at gnu.org>
Acked-by: Ward Vandewege <ward at gnu.org>
Modified: buildrom-devel/packages/filo/filo.mk
===================================================================
--- buildrom-devel/packages/filo/filo.mk 2009-01-16 17:38:03 UTC (rev 256)
+++ buildrom-devel/packages/filo/filo.mk 2009-01-23 20:20:49 UTC (rev 257)
@@ -79,20 +79,23 @@
filo-config: | $(FILO_STAMP_DIR)/.configured
ifeq ($(shell if [ -f $(PACKAGE_DIR)/filo/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(COREBOOT_BOARD) ]; then echo 1; fi),1)
- @ echo
- @ echo "Found an existing custom configuration file:"
- @ echo " $(PACKAGE_DIR)/filo/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(COREBOOT_BOARD)"
- @ echo "Please modify this file by hand."
- @ echo "Remove the above file and re-run this command if you want to create a new custom configuration from scratch for this payload/board."
- @ echo
-else
+ @ cp -f $(PACKAGE_DIR)/filo/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(COREBOOT_BOARD) $(FILO_SRC_DIR)/.config
+endif
+ifeq (filo,$(filter filo,$(PAYLOAD-y)))
@ echo "Configure filo..."
@ $(MAKE) -C $(FILO_SRC_DIR) menuconfig
@ cp -f $(FILO_SRC_DIR)/.config $(PACKAGE_DIR)/filo/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(COREBOOT_BOARD)
@ echo
@ echo "Your custom FILO config has been saved as "
@ echo " $(PACKAGE_DIR)/filo/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(COREBOOT_BOARD)"
- @ echo "Please edit it to your liking."
@ echo
endif
+ifeq ($(shell if [ -f $(PACKAGE_DIR)/filo/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(COREBOOT_BOARD) ]; then echo 1; fi),1)
+ @ echo
+ @ echo "Found an existing custom configuration file:"
+ @ echo " $(PACKAGE_DIR)/filo/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(COREBOOT_BOARD)"
+ @ echo "I've copied it back to the source directory for modification."
+ @ echo "Remove the above file and re-run this command if you want to create a new custom configuration from scratch for this payload/board."
+ @ echo
+endif
More information about the coreboot
mailing list