From a97d166121212f17b532e1e4dee4de077fe368ec Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 27 Nov 2020 13:00:26 -0500 Subject: [PATCH] zephyr: reference local Kconfig Reference Kconfig in zephyr module file which is evaluated by Zephyr directly. This will eliminate the need for including the SOF Kconfig directly. Signed-off-by: Anas Nashif --- zephyr/Kconfig | 3 +++ zephyr/module.yml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 zephyr/Kconfig diff --git a/zephyr/Kconfig b/zephyr/Kconfig new file mode 100644 index 000000000..f4fceb3e4 --- /dev/null +++ b/zephyr/Kconfig @@ -0,0 +1,3 @@ +if SOF +rsource "../Kconfig" +endif diff --git a/zephyr/module.yml b/zephyr/module.yml index 7ac5323a3..9c43bc6e5 100644 --- a/zephyr/module.yml +++ b/zephyr/module.yml @@ -1,2 +1,3 @@ build: - cmake: ./zephyr + cmake: ./zephyr + kconfig: ./zephyr/Kconfig