update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 80d87b99d72034441ea4fbab81f5c80c1ef3b067 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Tue, 23 Aug 2016 16:36:14 +0200
|
||||
Subject: [PATCH] iowatcher: link with -lrt
|
||||
|
||||
Some C libraries (notably uClibc) have the posix_spawn*() functions in
|
||||
librt, so let's link iowatcher with -lrt.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Upstream-status: merged
|
||||
(http://git.kernel.org/cgit/linux/kernel/git/axboe/blktrace.git/commit/?id=d1ab783430f5a832e973ed9a293da146c04c6702)
|
||||
---
|
||||
iowatcher/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/iowatcher/Makefile b/iowatcher/Makefile
|
||||
index 7b5101c..502476d 100644
|
||||
--- a/iowatcher/Makefile
|
||||
+++ b/iowatcher/Makefile
|
||||
@@ -19,7 +19,7 @@ all: $(ALL)
|
||||
$(CC) -o $*.o -c $(ALL_CFLAGS) $<
|
||||
|
||||
iowatcher: blkparse.o plot.o main.o tracers.o mpstat.o fio.o
|
||||
- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm
|
||||
+ $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm -lrt
|
||||
|
||||
depend:
|
||||
@$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend
|
||||
--
|
||||
2.7.4
|
||||
|
||||
17
bsp/buildroot-2017.02.11/package/blktrace/Config.in
Normal file
17
bsp/buildroot-2017.02.11/package/blktrace/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_BLKTRACE
|
||||
bool "blktrace"
|
||||
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
|
||||
depends on BR2_USE_MMU # system()
|
||||
select BR2_PACKAGE_LIBAIO
|
||||
help
|
||||
blktrace is a block layer IO tracing mechanism which provides
|
||||
detailed information about request queue operations
|
||||
up to user space.
|
||||
|
||||
http://git.kernel.dk/?p=blktrace.git;a=summary
|
||||
|
||||
comment "blktrace needs a toolchain w/ NPTL"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
2
bsp/buildroot-2017.02.11/package/blktrace/blktrace.hash
Normal file
2
bsp/buildroot-2017.02.11/package/blktrace/blktrace.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://brick.kernel.dk/snaps/MD5SUMS
|
||||
md5 9a6ca62330c8adb0b6a4ea6cf8a55694 blktrace-1.1.0.tar.gz
|
||||
22
bsp/buildroot-2017.02.11/package/blktrace/blktrace.mk
Normal file
22
bsp/buildroot-2017.02.11/package/blktrace/blktrace.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# blktrace
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BLKTRACE_VERSION = 1.1.0
|
||||
BLKTRACE_SITE = http://brick.kernel.dk/snaps
|
||||
BLKTRACE_DEPENDENCIES = libaio
|
||||
BLKTRACE_LICENSE = GPLv2+
|
||||
BLKTRACE_LICENSE_FILES = COPYING
|
||||
|
||||
define BLKTRACE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
||||
endef
|
||||
|
||||
define BLKTRACE_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \
|
||||
DESTDIR=$(TARGET_DIR) prefix=/usr
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user