summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-16 20:45:52 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-16 20:45:52 +0100
commitf85f96e3480ed35cff0c5d1d854e09e3c8870809 (patch)
tree1651d5337e6a38f6b931d82aa8e9f7bb0417dfef /sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch
parent67472988e49cc1cf2f4b4305751af18b79bd14d4 (diff)
sys-kernel/linux-{image,sources}-redcore : version bump (v5.6.13)
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch')
-rw-r--r--sys-kernel/linux-image-redcore/files/5.6-fix-bootconfig-makefile.patch26
1 files changed, 26 insertions, 0 deletions
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