aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/Makefile
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2015-01-09 19:19:35 +0000
committerZoltan Herpai <wigyori@uid0.hu>2015-01-09 19:19:35 +0000
commit157e1da749c95589631dbedd6ce4ef79e0dad1cb (patch)
tree971c45280bba8caa0f07bc71450690091b4422e5 /package/boot/uboot-sunxi/Makefile
parent48d8bc4f971ad7795e3162134759caa37900138f (diff)
downloadupstream-157e1da749c95589631dbedd6ce4ef79e0dad1cb.tar.gz
upstream-157e1da749c95589631dbedd6ce4ef79e0dad1cb.tar.bz2
upstream-157e1da749c95589631dbedd6ce4ef79e0dad1cb.zip
uboot-sunxi: various updates - use mainline uboot-sunxi version (2015.01-rc3) - add support for Bananapro
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 43899
Diffstat (limited to 'package/boot/uboot-sunxi/Makefile')
-rw-r--r--package/boot/uboot-sunxi/Makefile27
1 files changed, 19 insertions, 8 deletions
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index e650051b7b..eb66cab471 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=u-boot
-PKG_VERSION:=2014.04
+PKG_VERSION:=2015.01-rc3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:= \
http://mirror2.openwrt.org/sources \
ftp://ftp.denx.de/pub/u-boot
-PKG_SOURCE_VERSION:=6d2116d1385a66e9a59742caa9d62a54
+PKG_SOURCE_VERSION:=e680848838ca20a60d43b66a218d865b
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0 GPL-2.0+
@@ -35,7 +35,7 @@ define uboot/A13-OLinuXino
TITLE:=U-Boot for the A13 OlinuXino
endef
-define uboot/A20-OLinuXino_Lime
+define uboot/A20-OLinuXino-Lime
TITLE:=U-Boot for the A20 OLinuXino LIME
endef
@@ -47,6 +47,10 @@ define uboot/Bananapi
TITLE:=U-Boot for Bananapi
endef
+define uboot/Bananapro
+ TITLE:=U-Boot for Bananapro
+endef
+
define uboot/Cubieboard
TITLE:=U-Boot for Cubieboard
endef
@@ -63,12 +67,16 @@ define uboot/Hackberry
TITLE:=U-Boot for the Hackbeery
endef
+define uboot/Mele_M9
+ TITLE:=U-Boot for the Mele M9 (A31)
+endef
+
define uboot/OLIMEX-A13-SOM
TITLE:=U-Boot for the Olimex A13 SOM
endef
-define uboot/pcDuino
- TITLE:=U-Boot for pcDuino
+define uboot/Linksprite_pcDuino
+ TITLE:=U-Boot for Linksprite pcDuino
endef
define uboot/Linksprite_pcDuino3
@@ -78,15 +86,17 @@ endef
UBOOTS:= \
A10-OLinuXino-Lime \
A13-OLinuXino \
- A20-OLinuXino_Lime \
+ A20-OLinuXino-Lime \
A20-OLinuXino_MICRO \
Bananapi \
+ Bananapro \
Cubieboard \
Cubieboard2 \
Cubietruck \
Hackberry \
+ Mele_M9 \
OLIMEX-A13-SOM \
- pcDuino \
+ Linksprite_pcDuino \
Linksprite_pcDuino3 \
define Package/uboot/template
@@ -115,7 +125,7 @@ endif
define Build/Configure
$(MAKE) -C $(PKG_BUILD_DIR) \
- USE_PRIVATE_LIBGCC=yes $(UBOOT_CONFIG)_config
+ USE_PRIVATE_LIBGCC=yes $(UBOOT_CONFIG)_defconfig
endef
define Build/Compile
@@ -133,6 +143,7 @@ define Package/uboot/install/default
$(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-u-boot-with-spl.bin
$(CP) uEnv.txt \
$(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-uEnv.txt
+ mkimage -C none -A arm -T script -d $(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-uEnv.txt $(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-boot.scr
endef
define Package/uboot/install/template