diff options
author | Yong Wang <yong.y.wang@intel.com> | 2012-07-27 08:54:57 +0800 |
---|---|---|
committer | Yong Wang <yong.y.wang@intel.com> | 2012-07-27 08:54:57 +0800 |
commit | 2c19561428f8f68fb7d2ab9e8eee3da28f56e770 (patch) | |
tree | 27965faf4e4fc7d2c0e7cf2d4d36c9686ab9e99b | |
parent | fd09ab0f3889a43b745b83bf55aa3f063be00e01 (diff) | |
download | power-manager-1.0_post.tar.gz power-manager-1.0_post.tar.bz2 power-manager-1.0_post.zip |
Define X86 when building for IA1.0_post
In commit 67b79a X86 macro is defined to distinguish IA and ARM
at compile time so that different options could be passed to xset
to turn on display. However, X86 macro is not defined anywhere.
This patch defines X86 macro when building for IA.
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
-rw-r--r-- | packaging/power-manager.changes | 6 | ||||
-rw-r--r-- | packaging/power-manager.spec | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/power-manager.changes b/packaging/power-manager.changes index c9e3719..6713a1b 100644 --- a/packaging/power-manager.changes +++ b/packaging/power-manager.changes @@ -1,3 +1,9 @@ +* Fri Jul 27 2012 Yong Wang <yong.y.wang@intel.com> 20120724.1.flora@fe8ace2 +- Define X86 when building for IA. In commit 67b79a X86 macro is defined + to distinguish IA and ARM at compile time so that different options could + be passed to xset to turn on display. However, X86 macro is not defined + anywhere. This patch defines X86 macro when building for IA. + * Fri Jul 13 2012 Austin Zhang <austin.zhang@intel.com> - When power-manager was blocked due to check in-progress wakeup event in kernel, it would not be able to handle input event like power button, diff --git a/packaging/power-manager.spec b/packaging/power-manager.spec index 2c397e2..71ce855 100644 --- a/packaging/power-manager.spec +++ b/packaging/power-manager.spec @@ -28,6 +28,9 @@ Tizen Power manager %build cp %{SOURCE1001} . +%ifarch %ix86 +CFLAGS+=" -DX86" +%endif cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} make %{?_smp_mflags} |