[IMPROVE] Add target-circle support 98/69598/2
authorDmitry Kovalenko <d.kovalenko@samsung.com>
Mon, 16 May 2016 05:20:58 +0000 (08:20 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Mon, 16 May 2016 06:32:19 +0000 (09:32 +0300)
Change-Id: I7d3f91c74a6359871df7334f4ef481de2b24df60

packaging/swap-modules.spec

index edebc26..1d088ab 100755 (executable)
@@ -23,13 +23,20 @@ BuildRequires: kernel-devel-3.10-sc7730
     %define kernel_path /boot/kernel/devel/kernel-devel-tizen_tm1
   %else
 
-    %if "%{TIZEN_PRODUCT_TV}" == "1"
-BuildRequires: tztv-hawk-kmodules-devel
+    %if "%{_repository}" == "target-circle"
+BuildRequires: kernel-devel-3.4-exynos3250
       %define build_arch arm
-      %define kernel_path /usr/include/kernel_header/debug
+      %define kernel_path /boot/kernel/devel/kernel-devel-tizen_wc1
     %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