[Title] modify build script for dibs to support new sdk directory.
authorKitae Kim <kt920.kim@samsung.com>
Wed, 18 Jul 2012 13:12:52 +0000 (22:12 +0900)
committerKitae Kim <kt920.kim@samsung.com>
Wed, 1 Aug 2012 07:24:38 +0000 (16:24 +0900)
[Type]
[Module] emulator-kernel / dibs
[Priority] normal
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

package/build.ubuntu-32
package/pkginfo.manifest

index 86dd5460a75520901b28879a4ac26ff384a3ce08..d414c0936fc650fcfec7dfbdcc5d0b9fde95e37d 100755 (executable)
@@ -18,7 +18,12 @@ build()
 # install
 install() 
 {
-       BIN_DIR=$SRCDIR/package/emulator-kernel-x86.package.${TARGET_OS}/data/tools/emulator/data/kernel
+    if [ "$BUILD_TARGET_OS" = "linux" ]
+    then
+               BIN_DIR=$SRCDIR/package/emulator-kernel-x86.package.linux/data/tools/emulator/data/kernel
+    else
+               BIN_DIR=$SRCDIR/package/emulator-kernel-x86.package.windows/data/tools/emulator/data/kernel
+    fi
        mkdir -p $BIN_DIR
 
        cp arch/x86/boot/bzImage $BIN_DIR/bzImage.x86
index 20f24c2fa9bff049ecebf4a7e975cb02d674fcf6..91315ad0d588f5026e40da89a106c17b9226699c 100644 (file)
@@ -1,13 +1,13 @@
-Package: emulator-kernel
-Version: 1.1.21
+Package: emulator-kernel-x86
+Version: 1.3.0
 OS: linux
 Build-host-os: linux
 Maintainer: Yeong-Kyoon, Lee <yeongkyoon.lee@samsung.com>
 Source: emulator-kernel
 Description: Tizen Emulator Kernel
 
-Package: emulator-kernel
-Version: 1.1.21
+Package: emulator-kernel-x86
+Version: 1.3.0
 OS: windows
 Build-host-os: linux
 Maintainer: Yeong-Kyoon, Lee <yeongkyoon.lee@samsung.com>