aboutsummaryrefslogtreecommitdiffstats
path: root/package/uboot-kirkwood/Makefile
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2012-07-14 23:54:20 +0000
committerLuka Perkov <luka@openwrt.org>2012-07-14 23:54:20 +0000
commitdc2d62d3ace206ae37928e62576729f7abc3f30c (patch)
treeb5006e541734af88db27e2ef9a7d7db57e7432ee /package/uboot-kirkwood/Makefile
parent8f563df48f9e6baba81e4d440d136b27be84a400 (diff)
downloadupstream-dc2d62d3ace206ae37928e62576729f7abc3f30c.tar.gz
upstream-dc2d62d3ace206ae37928e62576729f7abc3f30c.tar.bz2
upstream-dc2d62d3ace206ae37928e62576729f7abc3f30c.zip
uboot-kirkwood: update to 2012.04.01
iConnect board tested by: Tim Fletcher <tim@night-shade.org.uk> Wojciech Dubowik <wojciech.dubowik@neratec.com> DockStar board tested by: Martin Mueller <mm@sig21.net> RaidSonic ICY BOX NAS6210 board tested by: Luka Perkov <uboot@lukaperkov.net> SheevaPlug was not tested but support for SheevaPlug is taken from upstream uboot and it is not reported to be broken there. SVN-Revision: 32717
Diffstat (limited to 'package/uboot-kirkwood/Makefile')
-rw-r--r--package/uboot-kirkwood/Makefile29
1 files changed, 17 insertions, 12 deletions
diff --git a/package/uboot-kirkwood/Makefile b/package/uboot-kirkwood/Makefile
index cdf35a4caa..48bcf99661 100644
--- a/package/uboot-kirkwood/Makefile
+++ b/package/uboot-kirkwood/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2010 OpenWrt.org
+# Copyright (C) 2010-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=u-boot
-PKG_VERSION:=2010.09
+PKG_VERSION:=2012.04.01
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
-PKG_MD5SUM:=
+PKG_MD5SUM:=192bb231082d9159fb6e16de3039b6b2
PKG_TARGETS:=bin
include $(INCLUDE_DIR)/package.mk
@@ -27,18 +27,22 @@ define uboot/Default
endef
define uboot/sheevaplug
- TITLE:=U-boot for the Sheevaplug
+ TITLE:=U-Boot for the SheevaPlug
endef
define uboot/dockstar
- TITLE:=U-boot for the Seagate Dockstar
+ TITLE:=U-Boot for the Seagate DockStar
endef
define uboot/iconnect
- TITLE:=U-boot for the Iomega iConnect Wireless
+ TITLE:=U-Boot for the Iomega iConnect Wireless
endef
-UBOOTS:=sheevaplug dockstar iconnect
+define uboot/ib62x0
+ TITLE:=U-Boot for the RaidSonic ICY BOX NAS6210 and NAS6220
+endef
+
+UBOOTS:=sheevaplug dockstar iconnect ib62x0
define Package/uboot/template
define Package/uboot-kirkwood-$(1)
@@ -51,13 +55,12 @@ define Package/uboot-kirkwood-$(1)
endef
endef
-define BuildUbootPackage
+define BuildUBootPackage
$(eval $(uboot/Default))
$(eval $(uboot/$(1)))
$(call Package/uboot/template,$(1),$(TITLE))
endef
-
ifdef BUILD_VARIANT
$(eval $(call uboot/$(BUILD_VARIANT)))
UBOOT_CONFIG:=$(if $(CONFIG),$(CONFIG),$(BUILD_VARIANT))
@@ -66,8 +69,7 @@ endif
define Build/Prepare
$(call Build/Prepare/Default)
- $(CP) ./files/* $(PKG_BUILD_DIR) || true
- find $(PKG_BUILD_DIR) -name .svn | $(XARGS) rm -rf
+ $(CP) ./files/* $(PKG_BUILD_DIR)
endef
define Build/Configure
@@ -87,6 +89,9 @@ define Package/uboot/install/default
$(BIN_DIR)/openwrt-$(BOARD)-$(1)-u-boot.bin
$(CP) $(PKG_BUILD_DIR)/u-boot.kwb \
$(BIN_DIR)/openwrt-$(BOARD)-$(1)-u-boot.kwb
+ $(INSTALL_DIR) $(BIN_DIR)/u-boot-kwboot/
+ $(CP) $(PKG_BUILD_DIR)/tools/kwboot \
+ $(BIN_DIR)/u-boot-kwboot/
endef
define Package/uboot/install/template
@@ -100,6 +105,6 @@ $(foreach u,$(UBOOTS), \
)
$(foreach u,$(UBOOTS), \
- $(eval $(call BuildUbootPackage,$(u))) \
+ $(eval $(call BuildUBootPackage,$(u))) \
$(eval $(call BuildPackage,uboot-kirkwood-$(u))) \
)