Bump Buildroot Version to buildroot 2019_02_6

This commit is contained in:
NADAL Jean-Baptiste
2019-10-25 11:46:00 +02:00
parent e07322a5a8
commit c1075f68da
549 changed files with 6692 additions and 4165 deletions

View File

@@ -0,0 +1,28 @@
From 02a538c2b4b54b41d23dbd7668714ea4d2016131 Mon Sep 17 00:00:00 2001
From: Markus Mayer <mmayer@broadcom.com>
Date: Thu, 13 Jun 2019 12:27:04 -0700
Subject: [PATCH] scripts/build: use /bin/bash as shell
scripts/build makes use of the "+=" operator which is not supported by
/bin/sh. We switch to /bin/bash in order to avoid errors of the form
../scripts/build: 21: ../scripts/build: LDLIBS+= -lm: not found
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
---
scripts/build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/build b/scripts/build
index 34a1371d0056..60b755cd2320 100755
--- a/scripts/build
+++ b/scripts/build
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
CC=${CC-`../scripts/compiler`}
MAKE=${MAKE-`../scripts/make`}
--
2.17.1

View File

@@ -0,0 +1,29 @@
From c158a02561c64d0cd236f86db24cc20d0378eb72 Mon Sep 17 00:00:00 2001
From: Markus Mayer <mmayer@broadcom.com>
Date: Thu, 13 Jun 2019 12:28:54 -0700
Subject: [PATCH] src/Makefile: add lmbench to list of executables
We want to install the lmbench script along with the other executables,
so we add it to the appropriate list.
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 4962815b5fe7..70dbc6794898 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -98,7 +98,7 @@ EXES = $O/bw_file_rd $O/bw_mem $O/bw_mmap_rd $O/bw_pipe $O/bw_tcp \
$O/lat_select $O/lat_pipe $O/lat_rpc $O/lat_syscall $O/lat_tcp \
$O/lat_udp $O/lat_mmap $O/mhz $O/lat_proc $O/lat_pagefault \
$O/lat_connect $O/lat_fs $O/lat_sig $O/lat_mem_rd $O/lat_ctx \
- $O/lat_sem \
+ $O/lat_sem $O/lmbench \
$O/memsize $O/lat_unix $O/lmdd $O/timing_o $O/enough \
$O/msleep $O/loop_o $O/lat_fifo $O/lmhttp $O/lat_http \
$O/lat_fcntl $O/disk $O/lat_unix_connect $O/flushdisk \
--
2.17.1

View File

@@ -18,8 +18,9 @@ LMBENCH_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
LMBENCH_LDLIBS = `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`
endif
LMBENCH_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK
define LMBENCH_CONFIGURE_CMDS
$(call CONFIG_UPDATE,$(@D))
sed -i 's/CFLAGS=/CFLAGS+=/g' $(@D)/src/Makefile
sed -i 's/LDLIBS=/LDLIBS+=/g' $(@D)/scripts/build
sed -i '/cd .*doc/d' $(@D)/src/Makefile