diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2007-06-14 13:46:24 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2007-06-14 13:46:24 +0000 |
commit | ff17ac5ec3a0a27a7a4e183788efa37d1090cdef (patch) | |
tree | 3167a77db51612b10bb9b72c6d6bac0439a750f2 /target/linux/at91-2.6/image/u-boot/Makefile | |
parent | 8ed6f003520655bef682a07cb8f56250935233d4 (diff) | |
download | mtk-20170518-ff17ac5ec3a0a27a7a4e183788efa37d1090cdef.zip mtk-20170518-ff17ac5ec3a0a27a7a4e183788efa37d1090cdef.tar.gz mtk-20170518-ff17ac5ec3a0a27a7a4e183788efa37d1090cdef.tar.bz2 |
Added config parameters for u-boot client IP address as well as TFTP server IP address.
SVN-Revision: 7632
Diffstat (limited to 'target/linux/at91-2.6/image/u-boot/Makefile')
-rw-r--r-- | target/linux/at91-2.6/image/u-boot/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/image/u-boot/Makefile b/target/linux/at91-2.6/image/u-boot/Makefile index 35b1e9b..6fd667d 100644 --- a/target/linux/at91-2.6/image/u-boot/Makefile +++ b/target/linux/at91-2.6/image/u-boot/Makefile @@ -22,13 +22,19 @@ PKG_CAT:=bzcat include $(INCLUDE_DIR)/package.mk UBOOT_CONFIG=$(strip $(subst ",, $(CONFIG_UBOOT_TARGET))) +LAN_IP=$(strip $(CONFIG_UBOOT_IPADDR)) +LAN_SERVERIP=$(strip $(subst ",, $(CONFIG_UBOOT_SERVERIP))) define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIG)_config export CROSS_COMPILE=$(TARGET_CROSS); \ + export LAN_IP=$(LAN_IP); \ + export LAN_SERVERIP=$(LAN_SERVERIP); \ $(MAKE) -C $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR)/ubclient $(CP) ./ubclient/* $(PKG_BUILD_DIR)/ubclient + export LAN_IP=$(LAN_IP); \ + export LAN_SERVERIP=$(LAN_SERVERIP); \ $(MAKE) -C $(PKG_BUILD_DIR)/ubclient \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -Dtarget_$(BOARD)=1" |