From: Thomas De Schampheleire Date: Mon, 14 Jul 2014 11:50:25 +0000 (+0200) Subject: pkg-utils: kconfig helpers: add basic usage documentation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=358bf954452c095e5f782187ad7579e42d903df3;p=buildroot.git pkg-utils: kconfig helpers: add basic usage documentation Signed-off-by: Thomas De Schampheleire Acked-by: "Yann E. MORIN" Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 59a5ab2cc2..e802864445 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -33,17 +33,17 @@ $(eval $(call caseconvert-helper,LOWERCASE,$(join $(addsuffix :,$([TO])),$([FROM # package, and more. # -define KCONFIG_ENABLE_OPT +define KCONFIG_ENABLE_OPT # (option, file) $(SED) "/\\<$(1)\\>/d" $(2) echo "$(1)=y" >> $(2) endef -define KCONFIG_SET_OPT +define KCONFIG_SET_OPT # (option, value, file) $(SED) "/\\<$(1)\\>/d" $(3) echo "$(1)=$(2)" >> $(3) endef -define KCONFIG_DISABLE_OPT +define KCONFIG_DISABLE_OPT # (option, file) $(SED) "/\\<$(1)\\>/d" $(2) echo "# $(1) is not set" >> $(2) endef