X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=kernel-small_fixes.patch;h=7fdc8cdefd96e5e9e6391a6bd13730ba68622d0d;hb=cd7a4cd993fd096faee514fee7ef72486f9cf447;hp=d4b603499b05f64e51b96e527678c26a94700ef8;hpb=7381b1fc31348f6b8e4c80525439dc342d25362e;p=packages%2Fkernel.git diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch index d4b60349..7fdc8cde 100644 --- a/kernel-small_fixes.patch +++ b/kernel-small_fixes.patch @@ -1,28 +1,11 @@ ---- linux-2.6.33/scripts/mod/modpost.c~ 2010-02-24 19:52:17.000000000 +0100 -+++ linux-2.6.33/scripts/mod/modpost.c 2010-03-07 14:26:47.242168558 +0100 -@@ -15,7 +15,8 @@ - #include - #include - #include "modpost.h" --#include "../../include/generated/autoconf.h" -+// PLD architectures don't use CONFIG_SYMBOL_PREFIX -+//#include "../../include/generated/autoconf.h" - #include "../../include/linux/license.h" +--- linux-4.18/scripts/clang-version.sh~ 2018-08-12 22:41:04.000000000 +0200 ++++ linux-4.18/scripts/clang-version.sh 2018-08-12 23:52:07.650403870 +0200 +@@ -12,7 +12,7 @@ - /* Some toolchains use a `_' prefix for all user symbols. */ - ---- linux-3.0/scripts/kconfig/lxdialog/check-lxdialog.sh~ 2011-07-22 04:17:23.000000000 +0200 -+++ linux-3.0/scripts/kconfig/lxdialog/check-lxdialog.sh 2011-08-25 21:26:04.799150642 +0200 -@@ -9,6 +9,12 @@ - $cc -print-file-name=lib${lib}.${ext} | grep -q / - if [ $? -eq 0 ]; then - echo "-l${lib}" -+ for libt in tinfow tinfo ; do -+ $cc -print-file-name=lib${libt}.${ext} | grep -q / -+ if [ $? -eq 0 ]; then -+ echo "-l${libt}" -+ fi -+ done - exit - fi - done + compiler="$*" + +-if !( $compiler --version | grep -q clang) ; then ++if ! ( $compiler --version | grep -q clang) ; then + echo 0 + exit 1 + fi