Add the package for precondition
authorjh0522.choi <jh0522.choi@samsung.com>
Thu, 10 Oct 2013 12:26:53 +0000 (21:26 +0900)
committerjh0522.choi <jh0522.choi@samsung.com>
Thu, 10 Oct 2013 12:26:53 +0000 (21:26 +0900)
CMakeLists.txt
util/gen_priv_pkg_spec.sh

index 63a4397..ef4410d 100755 (executable)
@@ -31,12 +31,12 @@ SET (${this_target}_SOURCE_FILES
        src/TsTcInfo.cpp
        src/TestUtils.cpp
        )
-       
+
 ## SET EXTRA COMPILER FLAGS
 IF("${ARCH}" MATCHES "arm")
-SET(EXTRA_CFLAGS  "${EXTRA_CFLAGS} -fPIE -Wall -pthread -g3 -Wl,-rpath,/opt/apps/2s4jm6firv/data/armlib")
+SET(EXTRA_CFLAGS  "${EXTRA_CFLAGS} -fPIE -Wall -pthread -g3 -Wl,-rpath,/opt/apps/2s4jm6firv/data/armlib -Wl,-rpath,/opt/apps/1s3jm5firv/data/armlib")
 ELSE("${ARCH}" MATCHES "arm")
-SET(EXTRA_CFLAGS  "${EXTRA_CFLAGS} -fPIE -Wall -pthread -g3 -Wl,-rpath,/opt/apps/2s4jm6firv/data/x86lib")
+SET(EXTRA_CFLAGS  "${EXTRA_CFLAGS} -fPIE -Wall -pthread -g3 -Wl,-rpath,/opt/apps/2s4jm6firv/data/x86lib -Wl,-rpath,/opt/apps/1s3jm5firv/data/x86lib")
 ENDIF("${ARCH}" MATCHES "arm")
 
 ## SET C COMPILER FLAGS
@@ -57,7 +57,7 @@ TARGET_LINK_LIBRARIES(${this_target} -Xlinker --allow-shlib-undefined -Xlinker -
 
 ADD_CUSTOM_COMMAND(TARGET ${this_target}
     POST_BUILD
-               COMMAND ${CMAKE_COMMAND} -E copy ${EXECUTABLE_OUTPUT_PATH}/${this_target}${CMAKE_EXECUTABLE_SUFFIX} ${EXECUTABLE_OUTPUT_PATH}/debug/${this_target}${CMAKE_EXECUTABLE_SUFFIX} 
+               COMMAND ${CMAKE_COMMAND} -E copy ${EXECUTABLE_OUTPUT_PATH}/${this_target}${CMAKE_EXECUTABLE_SUFFIX} ${EXECUTABLE_OUTPUT_PATH}/debug/${this_target}${CMAKE_EXECUTABLE_SUFFIX}
                COMMAND ${CMAKE_STRIP} --strip-unneeded --remove-section .comment ${EXECUTABLE_OUTPUT_PATH}/${this_target}${CMAKE_EXECUTABLE_SUFFIX}
     COMMENT "strip ${this_target}"
 )
index 1fcf5a3..655116e 100755 (executable)
@@ -189,6 +189,10 @@ create_basic_tpk "FtApp-all-priv"
 set_hwacc_off
 create_basic_tpk "FtApp-hwon-all-priv"
 
+sed  -i 's/2s4jm6firv/1s3jm5firv/g' $SRC_PATH/info/manifest.xml
+create_basic_tpk "FtAppPrecondition-hwon-all-priv"
+sed  -i 's/1s3jm5firv/2s4jm6firv/g' $SRC_PATH/info/manifest.xml
+
 sed -i "${automationprivcmd}${endcmd}" $SRC_PATH/info/manifest.xml
 sed -i "${powerprivcmd}${endcmd}" $SRC_PATH/info/manifest.xml
 sed -i "${settingprivcmd}${endcmd}" $SRC_PATH/info/manifest.xml