X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fboot%2Fuboot-xburst%2FMakefile;h=4a701f8f10e07668bb9cd2211d42ad6144a06125;hb=988fbc5af660e2ec8b0414d50e356c965cd704ae;hp=1d340fd5e1a17cc6aa2fdf8ea4387cbdc21cf022;hpb=a3a71d430b762ca48c6030c92d268a86b9f9137d;p=openwrt.git diff --git a/package/boot/uboot-xburst/Makefile b/package/boot/uboot-xburst/Makefile index 1d340fd5e1..4a701f8f10 100644 --- a/package/boot/uboot-xburst/Makefile +++ b/package/boot/uboot-xburst/Makefile @@ -9,15 +9,20 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=u-boot -PKG_VERSION:=2009.11 +PKG_VERSION:=2012.10-rc2 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_SOURCE_URL:= \ + http://mirror2.openwrt.org/sources \ + ftp://ftp.denx.de/pub/u-boot +PKG_MD5SUM:=451c07271940016cec6f5ad8a155263b PKG_TARGETS:=bin +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + include $(INCLUDE_DIR)/package.mk define uboot/Default @@ -30,20 +35,7 @@ define uboot/qi_lb60 TITLE:=U-boot for the qi_lb60 board endef -define uboot/avt2 - TITLE:=U-boot for the avt2 board -endef - -define uboot/sakc - TITLE:=U-boot for the sakc board -endef - -define uboot/n516 - TITLE:=U-boot for the N516 e-book reader - CONFIG:=n516_nand -endef - -UBOOTS:=qi_lb60 n516 avt2 sakc +UBOOTS:=qi_lb60 define Package/uboot/template define Package/uboot-xburst-$(1) @@ -51,7 +43,7 @@ define Package/uboot-xburst-$(1) CATEGORY:=Boot Loaders DEPENDS:=@TARGET_xburst TITLE:=$(2) - URL:=http://www.denx.de/wiki/U-Boot + URL:=http://www.denx.de/wiki/UBoot/WebHome VARIANT:=$(1) endef endef @@ -69,12 +61,6 @@ UBOOT_CONFIG:=$(if $(CONFIG),$(CONFIG),$(BUILD_VARIANT)) UBOOT_IMAGE:=$(if $(IMAGE),$(IMAGE),openwrt-$(BOARD)-$(BUILD_VARIANT)-u-boot.bin) endif -define Build/Prepare - $(call Build/Prepare/Default) - $(CP) ./files/* $(PKG_BUILD_DIR) - find $(PKG_BUILD_DIR) -name .svn | $(XARGS) rm -rf -endef - define Build/Configure $(MAKE) -C $(PKG_BUILD_DIR) \ $(UBOOT_CONFIG)_config @@ -87,8 +73,8 @@ endef define Package/uboot/install/template define Package/uboot-xburst-$(1)/install - $(INSTALL_DIR) $$(1) - $(CP) $(PKG_BUILD_DIR)/u-boot-nand.bin $(BIN_DIR)/$(2) + $(CP) $(PKG_BUILD_DIR)/u-boot-xburst.bin $(BIN_DIR)/$(2) + rmdir $$(1) endef endef