Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From 730158700ea7a554c37f24bfbf5f4985f7280f3e Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
Date: Wed, 6 Feb 2013 14:07:02 +0100
|
||||
Subject: [PATCH] strpool: don't mix up host/build flags when cross compiling
|
||||
|
||||
Submitted upstream as https://bugs.freedesktop.org/show_bug.cgi?id=60364
|
||||
|
||||
Commit b71035ce89 (build-sys: modernize build system) changed the strpool
|
||||
(which needs to be built for the build machine) compilation to use
|
||||
AM_CFLAGS / AM_LDFLAGS rather than CFLAGS / LDFLAGS. This is wrong, as
|
||||
The AM_ version is used TOGETHER with (the user supplied) CFLAGS/LDFLAGS,
|
||||
causing strpool to use both CFLAGS (for host) and CCFLAGS_FOR_BUILD (for
|
||||
build) flags, breaking cross compilation with errors like:
|
||||
|
||||
cc1: error: unrecognized command line option "-mabi=spe"
|
||||
|
||||
Instead overwrite the (user supplied) CFLAGS with the (user supplied)
|
||||
CFLAGS_FOR_BUILD (and similar for LDFLAGS) like we used to do.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
strpool/Makefile.am | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/strpool/Makefile.am b/strpool/Makefile.am
|
||||
index b041cea..5b335a5 100644
|
||||
--- a/strpool/Makefile.am
|
||||
+++ b/strpool/Makefile.am
|
||||
@@ -17,8 +17,8 @@
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
|
||||
CC = @CC_FOR_BUILD@
|
||||
-AM_CFLAGS = @BUILD_CFLAGS@
|
||||
-AM_LDFLAGS = @BUILD_LDFLAGS@
|
||||
+CFLAGS = @BUILD_CFLAGS@
|
||||
+LDFLAGS = @BUILD_LDFLAGS@
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
strpool
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
11
deprecated/firmware/buildroot/package/libatasmart/Config.in
Normal file
11
deprecated/firmware/buildroot/package/libatasmart/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBATASMART
|
||||
bool "libatasmart"
|
||||
depends on BR2_PACKAGE_HAS_UDEV # libudev is configure dependency
|
||||
help
|
||||
The libatasmart package is a disk reporting library.
|
||||
It only supports a subset of the ATA S.M.A.R.T. functionality.
|
||||
|
||||
http://0pointer.de/blog/projects/being-smart.html
|
||||
|
||||
comment "libatasmart requires udev to be enabled"
|
||||
depends on !BR2_PACKAGE_HAS_UDEV
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d libatasmart-0.19.tar.xz
|
||||
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# libatasmart
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBATASMART_VERSION = 0.19
|
||||
LIBATASMART_SOURCE = libatasmart-$(LIBATASMART_VERSION).tar.xz
|
||||
LIBATASMART_SITE = http://0pointer.de/public
|
||||
LIBATASMART_LICENSE = LGPLv2.1
|
||||
LIBATASMART_LICENSE_FILES = LGPL
|
||||
LIBATASMART_INSTALL_STAGING = YES
|
||||
|
||||
# package doesn't include configure script
|
||||
LIBATASMART_AUTORECONF = YES
|
||||
|
||||
LIBATASMART_DEPENDENCIES = udev
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user