Changeset 279


Ignore:
Timestamp:
Apr 22, 2010 8:16:02 PM (3 years ago)
Author:
myles
Message:

Make a payload only option for buildrom.

Signed-off-by: Myles Watson <mylesgw@…>
Acked-by: Myles Watson <mylesgw@…>

Location:
buildrom-devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • buildrom-devel/Config.in

    r181 r279  
    6868choice 
    6969        prompt "coreboot version" 
    70         default COREBOOT_V2 
     70        default PAYLOAD_ONLY 
     71 
     72config PAYLOAD_ONLY 
     73        bool "payload only" 
     74        help 
     75                Coreboot is a lot easier to build for v4.  Copy the payload from 
     76                deploy/ to coreboot/svn/payload.elf and build it. 
    7177 
    7278config COREBOOT_V2 
  • buildrom-devel/Makefile

    r276 r279  
    108108ifeq ($(CONFIG_COREBOOT_V2),y) 
    109109rom: payload $(COREBOOT-y) 
    110 else 
     110endif 
     111 
     112ifeq ($(CONFIG_PAYLOAD_ONLY),y) 
     113rom: payload 
     114        @ echo "" 
     115        @ echo "CONFIG_PAYLOAD_ONLY was set" 
     116        @ echo "" 
     117        @ echo "1. cp deploy/your_payload.elf coreboot/svn/payload.elf" 
     118        @ echo "2. configure the payload to be payload.elf and build it." 
     119        @ echo "" 
     120endif 
     121 
     122ifeq ($(CONFIG_COREBOOT_V3),y) 
    111123 
    112124# If compressing the payload in v3, parse the elf and tell lar to compress it. 
     
    155167ifeq ($(CONFIG_COREBOOT_V2),y) 
    156168INCMK += $(PACKAGE_DIR)/coreboot-v2/coreboot-v2.mk 
    157 else 
     169endif 
     170 
     171ifeq ($(CONFIG_COREBOOT_V3),y) 
    158172INCMK += $(PACKAGE_DIR)/coreboot-v3/coreboot-v3.mk 
    159173endif 
Note: See TracChangeset for help on using the changeset viewer.