]>
Commit | Line | Data |
---|---|---|
c2806d43 AM |
1 | diff -urNp -x '*.orig' linux-4.4/Makefile linux-4.4/Makefile |
2 | --- linux-4.4/Makefile 2021-02-24 17:41:14.010620493 +0100 | |
3 | +++ linux-4.4/Makefile 2021-02-24 17:41:27.804397388 +0100 | |
4 | @@ -837,6 +837,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wer | |
5 | # Prohibit date/time macros, which would make the build non-deterministic | |
6 | KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) | |
7 | ||
8 | +# enforce correct pointer usage | |
9 | +KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) | |
10 | + | |
11 | # use the deterministic mode of AR if available | |
12 | KBUILD_ARFLAGS := $(call ar-option,D) | |
08aa9d92 | 13 | |
c2806d43 AM |
14 | diff -urNp -x '*.orig' linux-4.4/scripts/kconfig/lxdialog/check-lxdialog.sh linux-4.4/scripts/kconfig/lxdialog/check-lxdialog.sh |
15 | --- linux-4.4/scripts/kconfig/lxdialog/check-lxdialog.sh 2016-01-11 00:01:32.000000000 +0100 | |
16 | +++ linux-4.4/scripts/kconfig/lxdialog/check-lxdialog.sh 2021-02-24 17:41:27.804397388 +0100 | |
17 | @@ -11,6 +11,12 @@ ldflags() | |
2136e199 AM |
18 | $cc -print-file-name=lib${lib}.${ext} | grep -q / |
19 | if [ $? -eq 0 ]; then | |
20 | echo "-l${lib}" | |
21 | + for libt in tinfow tinfo ; do | |
22 | + $cc -print-file-name=lib${libt}.${ext} | grep -q / | |
23 | + if [ $? -eq 0 ]; then | |
24 | + echo "-l${libt}" | |
25 | + fi | |
26 | + done | |
27 | exit | |
28 | fi | |
29 | done | |
c2806d43 AM |
30 | diff -urNp -x '*.orig' linux-4.4/scripts/mod/modpost.c linux-4.4/scripts/mod/modpost.c |
31 | --- linux-4.4/scripts/mod/modpost.c 2021-02-24 17:41:15.860679986 +0100 | |
32 | +++ linux-4.4/scripts/mod/modpost.c 2021-02-24 17:41:27.804397388 +0100 | |
33 | @@ -19,7 +19,8 @@ | |
34 | #include <stdbool.h> | |
35 | #include <errno.h> | |
36 | #include "modpost.h" | |
37 | -#include "../../include/generated/autoconf.h" | |
38 | +// PLD architectures don't use CONFIG_SYMBOL_PREFIX | |
39 | +//#include "../../include/generated/autoconf.h" | |
40 | #include "../../include/linux/license.h" | |
41 | #include "../../include/linux/export.h" | |
464edd60 | 42 |