summaryrefslogtreecommitdiff
path: root/package/uboot-kirkwood/Makefile
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-14 23:54:20 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-14 23:54:20 +0000
commit2bc7082f7376cd910b240cae08cfcc103b321fc2 (patch)
treec8ae6d5cda92fb35eee6ea40f7f6f77ba87a7a51 /package/uboot-kirkwood/Makefile
parentbeecfa6085aa6b523cbe9101e81112c472c44421 (diff)
[package] 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32717 3c298f89-4303-0410-b956-a3cf2f4a3e73
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))) \
)