[FIX] Build for Tizen TV. Spec changed 04/69004/2
authorDmitry Kovalenko <d.kovalenko@samsung.com>
Wed, 11 May 2016 05:23:41 +0000 (08:23 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Wed, 11 May 2016 05:25:30 +0000 (08:25 +0300)
Change-Id: Id75db8ed2a70940d5ff7dcb2f803f64112314123
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
packaging/swap-modules.spec

index 7faa36e..ffbb825 100755 (executable)
@@ -26,7 +26,13 @@ BuildRequires: arm-trats2-linux-kernel-devel
             %define build_arch arm
             %define kernel_path /usr/src/linux-kernel-build-3.10.60-arm-trats2
        %else
+            %if "%{TIZEN_PRODUCT_TV}" == "1"
+BuildRequires: tztv-hawk-kmodules-devel
+                %define build_arch arm
+                %define kernel_path /usr/include/kernel_header/debug
+           %else
 ExclusiveArch:
+            %endif
         %endif
     %endif
 %endif