From 3d7f852ac5afb09f0a9a0b5f441403a98bc0f410 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 4 Mar 2022 18:24:39 +0100 Subject: [PATCH] docs/manual: remove override in conditional Remove override of FOO_{CONF_OPTS,DEPENDENCIES} in conditional Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- docs/manual/adding-packages-kernel-module.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/adding-packages-kernel-module.txt b/docs/manual/adding-packages-kernel-module.txt index b609ecc90a..1d4251333d 100644 --- a/docs/manual/adding-packages-kernel-module.txt +++ b/docs/manual/adding-packages-kernel-module.txt @@ -70,11 +70,11 @@ Let's look at a more complex example: 14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED) 15: 16: ifeq ($(BR2_PACKAGE_LIBBAR),y) -17: FOO_DEPENDENCIES = libbar -18: FOO_CONF_OPTS = --enable-bar +17: FOO_DEPENDENCIES += libbar +18: FOO_CONF_OPTS += --enable-bar 19: FOO_MODULE_SUBDIRS += driver/bar 20: else -21: FOO_CONF_OPTS = --disable-bar +21: FOO_CONF_OPTS += --disable-bar 22: endif 23: 24: $(eval $(kernel-module))