Patchwork binconfig-disabled: add a default value and comment for BINCONFIG

login
register
mail settings
Submitter Ross Burton
Date July 7, 2014, 2:22 p.m.
Message ID <1404742940-1438-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/75117/
State Accepted
Commit 5d179f6d28fdeb382188997d4c69eb482cc013d7
Headers show

Comments

Ross Burton - July 7, 2014, 2:22 p.m.
To avoid syntax errors when inheriting this class without setting BINCONFIG, add
a default value and a comment.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/binconfig-disabled.bbclass |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/classes/binconfig-disabled.bbclass b/meta/classes/binconfig-disabled.bbclass
index 1308358..27f904e 100644
--- a/meta/classes/binconfig-disabled.bbclass
+++ b/meta/classes/binconfig-disabled.bbclass
@@ -2,6 +2,9 @@ 
 # Class to disable binconfig files instead of installing them
 #
 
+# The list of scripts which should be disabled.
+BINCONFIG ?= ""
+
 FILES_${PN}-dev += "${bindir}/*-config"
 
 do_install_append () {