From f85f96e3480ed35cff0c5d1d854e09e3c8870809 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 May 2020 20:45:52 +0100 Subject: sys-kernel/linux-{image,sources}-redcore : version bump (v5.6.13) --- .../files/5.6-fix-bootconfig-makefile.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch (limited to 'sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch') diff --git a/sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch b/sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch new file mode 100644 index 00000000..ff7fa27d --- /dev/null +++ b/sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch @@ -0,0 +1,26 @@ +diff -Naur linux-5.6/tools/bootconfig/Makefile linux-5.6-p/tools/bootconfig/Makefile +--- linux-5.6/tools/bootconfig/Makefile 2020-03-30 00:25:41.000000000 +0200 ++++ linux-5.6-p/tools/bootconfig/Makefile 2020-03-30 18:12:59.306528380 +0200 +@@ -1,10 +1,10 @@ + # SPDX-License-Identifier: GPL-2.0 + # Makefile for bootconfig command + +-bindir ?= /usr/bin ++sbindir ?= /usr/sbin + + HEADER = include/linux/bootconfig.h +-CFLAGS = -Wall -g -I./include ++CFLAGS += -Wall -g -I./include + + PROGS = bootconfig + +@@ -14,7 +14,8 @@ + $(CC) $(filter %.c,$^) $(CFLAGS) -o $@ + + install: $(PROGS) +- install bootconfig $(DESTDIR)$(bindir) ++ mkdir -p $(DESTDIR)$(sbindir) ++ install -m 0755 bootconfig $(DESTDIR)$(sbindir) + + test: bootconfig + ./test-bootconfig.sh -- cgit v1.2.3