Changeset 238
- Timestamp:
- 09/29/08 19:40:48 (2 months ago)
- Location:
- buildrom-devel
- Files:
-
- 3 modified
-
config/platforms/Config.in (modified) (2 diffs)
-
config/platforms/serengeti_cheetah.conf (modified) (2 diffs)
-
packages/coreboot-v3/coreboot-v3.mk (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
buildrom-devel/config/platforms/Config.in
r236 r238 148 148 bool "AMD Serengeti-Cheetah" 149 149 depends on VENDOR_AMD 150 depends on COREBOOT_V2151 150 select PLATFORM 152 151 select PLATFORM_SUPPORT_64BIT … … 210 209 bool "Build for the AMD SimNow (TM) emulator" 211 210 depends on PLATFORM_SERENGETI_CHEETAH || PLATFORM_SERENGETI_CHEETAH_64 211 depends on COREBOOT_V2 212 212 default n 213 213 help -
buildrom-devel/config/platforms/serengeti_cheetah.conf
r226 r238 35 35 36 36 COREBOOT_VENDOR=amd 37 38 CBV3_TAG=HEAD 37 CBV3_TAG=875 39 38 40 39 ifeq ($(CONFIG_PLATFORM_CHEETAH_FAM10),y) … … 46 45 CBV2_TDIR=serengeti_cheetah 47 46 CBV2_TAG=3343 47 48 # cb-v3 has a different board name 49 CBV3_BOARD=serengeti 48 50 endif -
buildrom-devel/packages/coreboot-v3/coreboot-v3.mk
r196 r238 32 32 endif 33 33 34 TARGET_ROM = $(COREBOOT_VENDOR)-$(COREBOOT_BOARD).rom 34 # Set the cb-v3 board name to the default if not otherwise 35 # specified 36 37 CBV3_BOARD ?= $(COREBOOOT_BOARD) 38 39 TARGET_ROM = $(COREBOOT_VENDOR)-$(CBV3_BOARD).rom 35 40 36 41 CBV3_OUTPUT=$(CBV3_SRC_DIR)/build/coreboot.rom … … 58 63 $(CBV3_STAMP_DIR)/.configured: $(CBV3_STAMP_DIR)/.patched 59 64 @ echo "Configuring coreboot v3..." 60 ifeq ($(shell if [ -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD) ]; then echo 1; fi),1)61 @ cp -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD) $(CBV3_SRC_DIR)/.config62 @ echo "Using custom config $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD)"65 ifeq ($(shell if [ -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD) ]; then echo 1; fi),1) 66 @ cp -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD) $(CBV3_SRC_DIR)/.config 67 @ echo "Using custom config $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD)" 63 68 @ make -C $(CBV3_SRC_DIR) oldconfig > $(CBV3_CONFIG_LOG) 2>&1 64 69 else 65 70 @ make -C $(CBV3_SRC_DIR) defconfig \ 66 MAINBOARDDIR="$(COREBOOT_VENDOR)/$(C OREBOOT_BOARD)" \71 MAINBOARDDIR="$(COREBOOT_VENDOR)/$(CBV3_BOARD)" \ 67 72 > $(CBV3_CONFIG_LOG) 2>&1 68 73 endif … … 97 102 98 103 coreboot-v3-config: | $(CBV3_STAMP_DIR)/.configured 99 ifeq ($(shell if [ -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD) ]; then echo 1; fi),1)100 @ cp -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD) $(CBV3_SRC_DIR)/.config104 ifeq ($(shell if [ -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD) ]; then echo 1; fi),1) 105 @ cp -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD) $(CBV3_SRC_DIR)/.config 101 106 endif 102 107 @ echo "Configure coreboot-v3..." 103 108 @ $(MAKE) -C $(CBV3_SRC_DIR) menuconfig 104 109 @ echo 105 ifeq ($(shell if [ -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD) ]; then echo 1; fi),1)110 ifeq ($(shell if [ -f $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD) ]; then echo 1; fi),1) 106 111 @ echo "Found an existing custom configuration file:" 107 @ echo " $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD)"112 @ echo " $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD)" 108 113 @ echo "I've copied it back to the source directory for modification." 109 114 @ 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." 110 115 @ echo 111 116 endif 112 @ cp -f $(CBV3_SRC_DIR)/.config $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD)113 @ echo "Your custom coreboot-v3 config file has been saved as $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(C OREBOOT_BOARD)."117 @ cp -f $(CBV3_SRC_DIR)/.config $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD) 118 @ echo "Your custom coreboot-v3 config file has been saved as $(PACKAGE_DIR)/coreboot-v3/conf/customconfig--$(PAYLOAD)--$(COREBOOT_VENDOR)-$(CBV3_BOARD)." 114 119 @ echo 115 120 @ touch $(CBV3_STAMP_DIR)/.configured
