Ignore:
Timestamp:
2010-03-24T19:28:07+01:00 (7 years ago)
Author:
blogic
Message:

[ifxmips] adds support to build uboot for arv452

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/uboot-ifxmips/Makefile

    r17858 r20408  
    3535endef 
    3636 
     37define Package/uboot-ifxmips/config 
     38        source "$(SOURCE)/Config.in" 
     39endef 
     40 
    3741UBOOT_CONFIG:=danube 
    3842 
     
    4347        PLATFORM_CPU=mips32r2 \ 
    4448        UBOOT_RAM_TEXT_BASE=0xA0400000 
     49 
     50A800_FIX:= 
     51ifeq ($(CONFIG_IFXMIPS_UBOOT_A800),y) 
     52A800_FIX += -DA800_SWITCH 
     53endif 
    4554 
    4655define Build/Configure 
     
    5362        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    5463                $(UBOOT_MAKE_OPTS) \ 
    55                 OWRT_FLAGS="-DTEXT_BASE=0xa0400000" \ 
     64                OWRT_FLAGS="-DTEXT_BASE=0xa0400000 ${A800_FIX}" \ 
    5665                ifx_all 
    5766        $(CP) $(PKG_BUILD_DIR)/u-boot.srec $(PKG_BUILD_DIR)/asc.srec 
     
    6271        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    6372                $(UBOOT_MAKE_OPTS) \ 
    64                 OWRT_FLAGS="-DDANUBE_BOOT_FROM_EBU=1 -DTEXT_BASE=0xB0000000" \ 
     73                OWRT_FLAGS="-DDANUBE_BOOT_FROM_EBU=1 -DTEXT_BASE=0xB0000000 ${A800_FIX}" \ 
    6574                clean ifx_all 
    6675endef 
Note: See TracChangeset for help on using the changeset viewer.