summaryrefslogtreecommitdiffstats
path: root/package/uboot-kirkwood/Makefile
diff options
context:
space:
mode:
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 cdf35a4ca..48bcf9966 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))) \
)