Changeset 36033


Ignore:
Timestamp:
2013-03-15T02:36:53+01:00 (5 years ago)
Author:
luka
Message:

[package] uboot-envtools: upgrade to version 2013.01.01

Signed-off-by: Luka Perkov <luka@…>

Location:
trunk/package/boot/uboot-envtools
Files:
4 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/boot/uboot-envtools/Makefile

    r33781 r36033  
    11# 
    2 # Copyright (C) 2006-2012 OpenWrt.org 
     2# Copyright (C) 2006-2013 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=uboot-envtools 
    1111PKG_DISTNAME:=u-boot 
    12 PKG_VERSION:=2012.04.01 
     12PKG_VERSION:=2013.01.01 
    1313PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2 
    1616PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot 
    17 PKG_MD5SUM:=192bb231082d9159fb6e16de3039b6b2 
    18 PKG_BUILD_DEPENDS:=zlib 
     17PKG_MD5SUM:=73939f78606f89a1775c7e9acb2ca617 
     18 
     19PKG_BUILD_DIR:=$(BUILD_DIR)/u-boot-$(PKG_VERSION) 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
    21  
    22 TAR_OPTIONS+= --strip-components=3 -C $(PKG_BUILD_DIR) $(PKG_DISTNAME)-$(PKG_VERSION)/tools/env 
    2322 
    2423define Package/uboot-envtools 
     
    3332endef 
    3433 
    35 define Build/Prepare 
    36         mkdir -p $(PKG_BUILD_DIR) 
    37         tar xvjf $(DL_DIR)/$(PKG_SOURCE) --strip-components=2 -C $(PKG_BUILD_DIR) $(PKG_DISTNAME)-$(PKG_VERSION)/lib/crc32.c 
    38         $(call Build/Prepare/Default) 
     34define Build/Configure 
     35endef 
     36 
     37define Build/Compile 
     38        touch $(PKG_BUILD_DIR)/include/config.h 
     39        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     40                HOSTCC="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)gcc" \ 
     41                HOSTSTRIP="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)strip" \ 
     42                env 
    3943endef 
    4044 
     
    4650define Package/uboot-envtools/install 
    4751        $(INSTALL_DIR) $(1)/usr/sbin 
    48         $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin 
     52        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/env/fw_printenv $(1)/usr/sbin 
    4953        ln -s fw_printenv $(1)/usr/sbin/fw_setenv 
    5054        $(INSTALL_DIR) $(1)/lib 
Note: See TracChangeset for help on using the changeset viewer.