summaryrefslogtreecommitdiff
path: root/Tizen:Common/_config
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-12-08 18:59:52 +0100
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-12-09 04:06:37 -0800
commit88c66b7f12941f3b70a63210853f9c6592642557 (patch)
tree188b03a62ca3474bf7d97be9265417f3accfa7a0 /Tizen:Common/_config
parentfc398be686076657113c306c5c550e178768f0e7 (diff)
downloadobs-88c66b7f12941f3b70a63210853f9c6592642557.tar.gz
obs-88c66b7f12941f3b70a63210853f9c6592642557.tar.bz2
obs-88c66b7f12941f3b70a63210853f9c6592642557.zip
Tizen:Common: fix error to undefine tizenscim option
Also add some documentation on how to set/unset option flags. Change-Id: Ie312f9537535a2ea5faf1d3a17111095ba34a8f4 Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Diffstat (limited to 'Tizen:Common/_config')
-rw-r--r--Tizen:Common/_config46
1 files changed, 42 insertions, 4 deletions
diff --git a/Tizen:Common/_config b/Tizen:Common/_config
index deb98ae..bed8646 100644
--- a/Tizen:Common/_config
+++ b/Tizen:Common/_config
@@ -166,6 +166,44 @@ Macros:
############################# misc config flags ################################
+########## USAGE ##########
+#
+# IMPORTANT: please follow the following rules when playing with flags
+# ********************************************************************
+#
+# In spec file, call %bcond_with macro at the beginning and test with %with:
+# -------------------------
+# | %bcond_with myfeature
+# | [...]
+# | %if %{with myfeature}
+# | [...]
+# | %endif
+# | [...]
+# -------------------------
+#
+# To activate an option, use:
+# -------------------------
+# | %define _with_myfeature 1
+# | Macros:
+# | %_with_myfeature 1
+# | :Macros
+# -------------------------
+#
+# To disable an option, DON'T set the values to 0, as the option would still be defined
+# but simply comment the lines: this will undefine the option.
+# -------------------------
+# | #%define _with_myfeature 1
+# | #Macros:
+# | #%_with_myfeature 1
+# | #:Macros
+# -------------------------
+#
+# More information here:
+# https://en.opensuse.org/openSUSE:Build_Service_prjconf#.25bcond
+#
+
+########## flags ##########
+
# This build macro controls the libdlog output. If enabled,
# libdlog writes to Systemd Journal. If disabled, libdlog writes to kernel Android
# logger FIFO. Affects: dlog.
@@ -204,10 +242,10 @@ Macros:
# Macro used for testing Input methods
# Used: qt*
# Owner: Philippe Coval <philippe.coval@open.eurogiciel.org>
-%define _with_tizenscim 0
-Macros:
-%_with_tizenscim 0
-:Macros
+#%define _with_tizenscim 1
+#Macros:
+#%_with_tizenscim 1
+#:Macros
# This build macro controls whether the OS uses
# legacy nfc-manager or neard enabled nfc-manager-neard. If enabled,