Ignore:
Timestamp:
2007-06-14T15:46:24+02:00 (9 years ago)
Author:
hcg
Message:

Added config parameters for u-boot client IP address as well as TFTP
server IP address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/at91-2.6/image/u-boot/Makefile

    r6870 r7632  
    2323 
    2424UBOOT_CONFIG=$(strip $(subst ",, $(CONFIG_UBOOT_TARGET))) 
     25LAN_IP=$(strip $(CONFIG_UBOOT_IPADDR)) 
     26LAN_SERVERIP=$(strip $(subst ",, $(CONFIG_UBOOT_SERVERIP))) 
    2527 
    2628define Build/Compile 
    2729        $(MAKE) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIG)_config 
    2830        export CROSS_COMPILE=$(TARGET_CROSS); \ 
     31        export LAN_IP=$(LAN_IP); \ 
     32        export LAN_SERVERIP=$(LAN_SERVERIP); \ 
    2933        $(MAKE) -C $(PKG_BUILD_DIR) 
    3034        mkdir -p $(PKG_BUILD_DIR)/ubclient 
    3135        $(CP) ./ubclient/* $(PKG_BUILD_DIR)/ubclient 
     36        export LAN_IP=$(LAN_IP); \ 
     37        export LAN_SERVERIP=$(LAN_SERVERIP); \ 
    3238        $(MAKE) -C $(PKG_BUILD_DIR)/ubclient \ 
    3339                $(TARGET_CONFIGURE_OPTS) \ 
Note: See TracChangeset for help on using the changeset viewer.