Bump buildroot to version 2017-02

TG-3 #closed
This commit is contained in:
jbnadal
2017-03-28 18:29:16 +02:00
parent 93b7fd91d2
commit 42c92a6bcb
3010 changed files with 41289 additions and 46428 deletions

View File

@@ -0,0 +1,36 @@
From 0f72787b922c53c33d497b17300a959b911e621f Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Tue, 14 Feb 2017 20:12:05 +0100
Subject: [PATCH] io.cc: add stdio.h include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes buildroot compile failure with uclibc [1]:
In file included from io.cc:28:0:
block.h:219:22: error: FILE has not been declared
int write_mapfile( FILE * f = 0, const bool timestamp = false,
[1] http://autobuild.buildroot.net/results/4ac0754f1cc5ea934d6437e89d1f4906fb3fd0a8
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
io.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/io.cc b/io.cc
index 36b8341..2d6a76e 100644
--- a/io.cc
+++ b/io.cc
@@ -23,6 +23,7 @@
#include <string>
#include <vector>
#include <stdint.h>
+#include <stdio.h>
#include <unistd.h>
#include "block.h"
--
2.11.0

View File

@@ -0,0 +1,12 @@
config BR2_PACKAGE_DDRESCUE
bool "ddrescue"
depends on BR2_INSTALL_LIBSTDCPP
help
GNU ddrescue is a data recovery tool. It copies data from one file
or block device (hard disc, cdrom, etc) to another, trying to
rescue the good parts first in case of read errors.
http://www.gnu.org/software/ddrescue/ddrescue.html
comment "ddrescue needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,2 @@
# From http://lists.gnu.org/archive/html/info-gnu/2017-02/msg00003.html
sha1 df981672a612639ad0934e3fa6546a41d2feb99e ddrescue-1.22.tar.lz

View File

@@ -0,0 +1,29 @@
################################################################################
#
# ddrescue
#
################################################################################
DDRESCUE_VERSION = 1.22
DDRESCUE_SOURCE = ddrescue-$(DDRESCUE_VERSION).tar.lz
DDRESCUE_SITE = http://download.savannah.gnu.org/releases/ddrescue
DDRESCUE_LICENSE = GPLv2+
DDRESCUE_LICENSE_FILES = COPYING
define DDRESCUE_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_MAKE_ENV) ./configure \
--prefix=/usr \
$(TARGET_CONFIGURE_OPTS) \
)
endef
define DDRESCUE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define DDRESCUE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
endef
$(eval $(generic-package))