Changeset 33608


Ignore:
Timestamp:
2012-10-03T18:14:21+02:00 (5 years ago)
Author:
florian
Message:

[package] add uboot-pxa for Gumstix boards

Location:
trunk/package/uboot-pxa
Files:
3 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/package/uboot-pxa/Makefile

    r33607 r33608  
    11# 
    2 # Copyright (C) 2010-2012 OpenWrt.org 
     2# Copyright (C) 2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_NAME:=u-boot 
    12 PKG_VERSION:=2012.04.01 
     12PKG_VERSION:=2011.08.25 
    1313PKG_RELEASE:=1 
    1414 
    15 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) 
    16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    17 PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot 
    18 PKG_MD5SUM:=192bb231082d9159fb6e16de3039b6b2 
    19 PKG_TARGETS:=bin 
     15PKG_SOURCE_PROTO:=git 
     16PKG_SOURCE_URL:=git://github.com/ashcharles/verdex-uboot.git 
     17PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
     18PKG_SOURCE_VERSION:=ca6bf3ef6ac5f5132a359b43dfa31e07076b74b7 
     19PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    2020 
    2121include $(INCLUDE_DIR)/package.mk 
     
    2727endef 
    2828 
    29 define uboot/sheevaplug 
    30   TITLE:=U-Boot for the SheevaPlug 
     29define uboot/gumstix 
     30  TITLE:=U-Boot for the Gumstix Verdex 
    3131endef 
    3232 
    33 define uboot/dockstar 
    34   TITLE:=U-Boot for the Seagate DockStar 
    35 endef 
    36  
    37 define uboot/iconnect 
    38   TITLE:=U-Boot for the Iomega iConnect Wireless 
    39 endef 
    40  
    41 define uboot/ib62x0 
    42   TITLE:=U-Boot for the RaidSonic ICY BOX NAS6210 and NAS6220 
    43 endef 
    44  
    45 UBOOTS:=sheevaplug dockstar iconnect ib62x0 
     33UBOOTS:=gumstix 
    4634 
    4735define Package/uboot/template 
    48 define Package/uboot-kirkwood-$(1) 
     36define Package/uboot-pxa-$(1) 
    4937  SECTION:=boot 
    5038  CATEGORY:=Boot Loaders 
    51   DEPENDS:=@TARGET_kirkwood 
     39  DEPENDS:=@TARGET_pxa 
    5240  TITLE:=$(2) 
    5341  URL:=http://www.denx.de/wiki/U-Boot 
     
    6856endif 
    6957 
    70 define Build/Prepare 
    71         $(call Build/Prepare/Default) 
    72         $(CP) ./files/* $(PKG_BUILD_DIR) 
    73 endef 
    74  
    7558define Build/Configure 
    7659        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     
    8063define Build/Compile 
    8164        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    82                 u-boot.kwb \ 
     65                u-boot.bin \ 
    8366                CROSS_COMPILE=$(TARGET_CROSS) 
    8467endef 
     
    8871        $(CP) $(PKG_BUILD_DIR)/u-boot.bin \ 
    8972                $(BIN_DIR)/openwrt-$(BOARD)-$(1)-u-boot.bin 
    90         $(CP) $(PKG_BUILD_DIR)/u-boot.kwb \ 
    91                 $(BIN_DIR)/openwrt-$(BOARD)-$(1)-u-boot.kwb 
    92         $(INSTALL_DIR) $(BIN_DIR)/u-boot-kwboot/ 
    93         $(CP) $(PKG_BUILD_DIR)/tools/kwboot \ 
    94                 $(BIN_DIR)/u-boot-kwboot/ 
    9573endef 
    9674 
    9775define Package/uboot/install/template 
    98 define Package/uboot-kirkwood-$(1)/install 
     76define Package/uboot-pxa-$(1)/install 
    9977        $(call Package/uboot/install/default,$(2)) 
    10078endef 
     
    10785$(foreach u,$(UBOOTS), \ 
    10886        $(eval $(call BuildUBootPackage,$(u))) \ 
    109         $(eval $(call BuildPackage,uboot-kirkwood-$(u))) \ 
     87        $(eval $(call BuildPackage,uboot-pxa-$(u))) \ 
    11088) 
Note: See TracChangeset for help on using the changeset viewer.