update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From e85a157b51b1276c91c736d8624d9f3e876e9189 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Rammhold <andreas@rammhold.de>
|
||||
Date: Tue, 20 Dec 2016 19:25:32 +0100
|
||||
Subject: [PATCH] Disable the non-null compare warning/error.
|
||||
|
||||
We rely on the provided local library definitions for the hooked
|
||||
functions which in some cases (GCC >6) carry a non-null-attribute flag
|
||||
which causes compile errors on `!= NULL` checks.
|
||||
|
||||
[Romain: rebase on 0.9.6]
|
||||
(cherry picked from commit 47e958b753fc15098a2b7d0e9ef26b83ee255874)
|
||||
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
||||
---
|
||||
src/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 51634b0..bbbd476 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -67,7 +67,7 @@ INSTALL ?= install
|
||||
PREFIX ?= /usr/local
|
||||
LIBDIRNAME ?= /lib/faketime
|
||||
|
||||
-CFLAGS += -std=gnu99 -Wall -Wextra -Werror -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"'
|
||||
+CFLAGS += -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"'
|
||||
LIB_LDFLAGS += -shared
|
||||
LDFLAGS += -Wl,--version-script=libfaketime.map -lpthread
|
||||
LDADD += -ldl -lm -lrt
|
||||
--
|
||||
2.9.3
|
||||
|
||||
7
bsp/buildroot-2017.02.11/package/faketime/Config.in.host
Normal file
7
bsp/buildroot-2017.02.11/package/faketime/Config.in.host
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_HOST_FAKETIME
|
||||
bool "host faketime"
|
||||
help
|
||||
Faketime reports faked system time to programs without
|
||||
having to change the system-wide time.
|
||||
|
||||
https://github.com/wolfcw/libfaketime
|
||||
2
bsp/buildroot-2017.02.11/package/faketime/faketime.hash
Normal file
2
bsp/buildroot-2017.02.11/package/faketime/faketime.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 56bc32006f4c5b021ff648cc1fd458c5316f40aadfd2031879229a234189b031 faketime-v0.9.6.tar.gz
|
||||
20
bsp/buildroot-2017.02.11/package/faketime/faketime.mk
Normal file
20
bsp/buildroot-2017.02.11/package/faketime/faketime.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# libfaketime
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FAKETIME_VERSION = v0.9.6
|
||||
FAKETIME_SITE = $(call github,wolfcw,libfaketime,$(FAKETIME_VERSION))
|
||||
FAKETIME_LICENSE = GPLv2
|
||||
FAKETIME_LICENSE_FILES = COPYING
|
||||
|
||||
define HOST_FAKETIME_BUILD_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr
|
||||
endef
|
||||
|
||||
define HOST_FAKETIME_INSTALL_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user