From 955df26f20f43e4a02c29459ef133d62d3fe2631 Mon Sep 17 00:00:00 2001 From: tglozar Date: Tue, 21 Sep 2021 14:13:51 +0000 Subject: [PATCH] * patch linux to fix simplefb linking error --- .../base/linux/simplefb-simpledrm-dependency.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/base/linux/simplefb-simpledrm-dependency.patch diff --git a/package/base/linux/simplefb-simpledrm-dependency.patch b/package/base/linux/simplefb-simpledrm-dependency.patch new file mode 100644 index 0000000000..0833b13031 --- /dev/null +++ b/package/base/linux/simplefb-simpledrm-dependency.patch @@ -0,0 +1,27 @@ +# --- T2-COPYRIGHT-NOTE-BEGIN --- +# T2 SDE: package/*/linux/simplefb-simpledrm-dependency.patch +# Copyright (C) 2021 The T2 SDE Project +# +# This Copyright note is generated by scripts/Create-CopyPatch, +# more information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- T2-COPYRIGHT-NOTE-END --- + +--- linux-next-20210716.orig/drivers/video/fbdev/Kconfig ++++ linux-next-20210716/drivers/video/fbdev/Kconfig +@@ -2192,7 +2192,7 @@ config FB_HYPERV + + config FB_SIMPLE + bool "Simple framebuffer support" +- depends on (FB = y) && !DRM_SIMPLEDRM ++ depends on (FB = y) && DRM_SIMPLEDRM=n + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + -- 2.11.4.GIT