diff options
author | hcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-14 13:46:24 +0000 |
---|---|---|
committer | hcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-14 13:46:24 +0000 |
commit | 49d809d764ca9373ba63cac2314cd31ca062102e (patch) | |
tree | e3d8fb36def3a6374a2c0c443e65bde6ec6b9209 /target/linux/at91-2.6/image/u-boot/Makefile | |
parent | 5da973430ee902e017d204f59dbf1a983dc1a3e8 (diff) |
Added config parameters for u-boot client IP address as well as TFTP
server IP address.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7632 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 35b1e9bff1..6fd667de12 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" |