Allows debug builds to be enabled for GBS builds 38/71238/2
authorTom Robinson <tom.robinson@samsung.com>
Tue, 24 May 2016 14:58:01 +0000 (15:58 +0100)
committerTom Robinson <tom.robinson@samsung.com>
Tue, 24 May 2016 15:05:08 +0000 (08:05 -0700)
You can now enable a debug build of DALi via GBS by adding the following to your GBS build line:

--define "%enable_debug 1"

Details in README file.

Change-Id: Ibcbda7cd9840bf1c121eb272e0c64e8ea8d3c967

README
packaging/dali-adaptor.spec

diff --git a/README b/README
index 61b73c1..1024acc 100644 (file)
--- a/README
+++ b/README
@@ -2,6 +2,7 @@ T.O.C.
 ======
 
  1.   GBS Builds
+ 1.1. DEBUG Builds
  2.   Building for Ubuntu desktop
  2.1. Minimum Requirements
  2.2. Building the Repository
@@ -18,6 +19,11 @@ T.O.C.
 
  gbs build -A [TARGET_ARCH]
 
+1.1. DEBUG Builds
+-----------------
+
+ gbs build -A [TARGET_ARCH] --define "%enable_debug 1"
+
 
 2. Building for Ubuntu desktop
 ==============================
index d5f29a4..10fee02 100644 (file)
@@ -254,6 +254,9 @@ FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION
 %else
            --enable-efl=yes \
 %endif
+%if 0%{?enable_debug}
+           --enable-debug \
+%endif
            --enable-appfw=yes \
            --with-libuv=/usr/include/node/ \
            $configure_flags --libdir=%{_libdir}