build: fixed dest dir of emulator binary on DIBS
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 5 Aug 2015 07:22:22 +0000 (16:22 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 5 Aug 2015 07:51:03 +0000 (16:51 +0900)
Change-Id: I4a9d55ceee3bf9f15426827bb0f1c59c040cd21d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/Makefile

index a43f101d1da86d5ae81711ab4ce7364c1663f4fe..2e4d4f42a92b08a398f4eec0168c3d4f317bf922 100755 (executable)
@@ -291,7 +291,7 @@ install_dibs: all_dibs
        @for target in $(TARGET_DIRS); do \
        arch=$$(echo $$target | cut -f1 -d"-") ;\
        src_bin="../../$${arch}-softmmu/qemu-system-$${arch}$(EXESUF)" ;\
-       dest_bin="$(EMUL_DIR)/bin/emulator-$${arch}$(EXESUF)" ;\
+       dest_bin="$(DIBS_X86_DIR)/bin/emulator-$${arch}$(EXESUF)" ;\
        case $${arch} in \
        x86_64) \
                echo "Copying $${src_bin} to $${dest_bin}" ;\
@@ -407,7 +407,7 @@ ifdef CONFIG_DARWIN
        for target in $(TARGET_DIRS); do \
        case "$$target" in \
        x86_64-softmmu) \
-               BIN_ARR=( emulator-x86 ); \
+               BIN_ARR=( emulator-x86_64 ); \
                for bin in $${BIN_ARR[@]}; do \
                        LIB_ARR=( $$(otool -L $(DIBS_X86_DIR)/bin/$$bin | awk '/\opt\/local\/lib/ { split($$1, lib, "/"); print lib[5]}') ); \
                        for lib in $${LIB_ARR[@]}; do \