From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sat, 11 May 2019 22:05:04 +0000 (+0200)
Subject: kernel: Fix build of omap target
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=655fff15718318af578b8e3d98dd056f5596bf12;p=openwrt%2Fstaging%2Flynxis.git

kernel: Fix build of omap target

CONFIG_HW_RANDOM_OMAP is not set to any value after kmod-random-omap was
removed, add the configuration option to the generic configuration.

Fixes: cd3b29853380 ("omap24xx: Remove unmaintained target")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---

diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14
index e6638ee686..9680c4c41e 100644
--- a/target/linux/generic/config-4.14
+++ b/target/linux/generic/config-4.14
@@ -1768,6 +1768,7 @@ CONFIG_HW_PERF_EVENTS=y
 # CONFIG_HW_RANDOM_GEODE is not set
 # CONFIG_HW_RANDOM_INTEL is not set
 # CONFIG_HW_RANDOM_IPROC_RNG200 is not set
+# CONFIG_HW_RANDOM_OMAP is not set
 # CONFIG_HW_RANDOM_OMAP3_ROM is not set
 # CONFIG_HW_RANDOM_PPC4XX is not set
 # CONFIG_HW_RANDOM_TIMERIOMEM is not set
diff --git a/target/linux/generic/config-4.19 b/target/linux/generic/config-4.19
index 6a0c355e59..f9a4b83944 100644
--- a/target/linux/generic/config-4.19
+++ b/target/linux/generic/config-4.19
@@ -1873,6 +1873,7 @@ CONFIG_HW_PERF_EVENTS=y
 # CONFIG_HW_RANDOM_GEODE is not set
 # CONFIG_HW_RANDOM_INTEL is not set
 # CONFIG_HW_RANDOM_IPROC_RNG200 is not set
+# CONFIG_HW_RANDOM_OMAP is not set
 # CONFIG_HW_RANDOM_OMAP3_ROM is not set
 # CONFIG_HW_RANDOM_PPC4XX is not set
 # CONFIG_HW_RANDOM_TIMERIOMEM is not set