Commit Graph

13 Commits

Author SHA1 Message Date
xueman.ruan
1766466864 chore[script]: add rebuild and clean for build
Change-Id: I73b2d2e9ed11c5aef8c773323b2ab8c5f08b0dc3
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
2024-01-05 16:03:27 +08:00
xueman.ruan
a4b66352f1 fix[script]: fix shift clear input parameter error
Change-Id: Ia48238e47d110fd049788b3d2abd86d5f69aa0b0
Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
2023-11-02 17:08:16 +08:00
Herman Chen
ea54baa35a [script]: Add opt clear
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I8a6719fad436f90942bc2ab67572873aacf0b260
2023-10-26 10:37:18 +08:00
Herman Chen
78a6ca648e [cmake]: Adapt to Android 14 requirement
1. Android 14 required to use libc++ instead of libstdc++
2. Add ndk search path and options for ndk switch.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I07595fc0290daaaf6518eca18d7b318be89fc6ae
2023-06-25 10:08:43 +08:00
Johnson Ding
643d2116f8 [build]: support NDK-17 and above
Change-Id: I59bb0a1ad06a3e6d2a2b51610c528ade61e9c5d3
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2021-01-13 11:23:55 +08:00
Johnson Ding
06a6014817 [build]: Update Android build script
1. Detect NDK path and version
2. Enable cmake multithread compiling if version > 3.12
3. Support specifying args to build script

Change-Id: I2179aeb5460de6b8d39a867ba3a4200c51b61be7
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2019-12-19 10:43:41 +08:00
Herman Chen
208f0004a5 [build]: Add path detection for different ndk
Support r10d and r16b first.

Change-Id: I289813c26b79ad4a1b038fc07f8375832fe78162
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-10-10 18:04:21 +08:00
Herman Chen
0a7e306cd1 [cmake]: Add make path detection
Higher cmaker version require CMAKE_MAKE_PROGRAM parameter.

Change-Id: I4ed9f4ef1592f5683ec0f9a3679840bf6dfb0d2d
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-08-21 09:35:28 +08:00
sliver.chen
73b7fc36fd [cmake]: fix cmake syntax error about macro HAVE_DRM
It is obvious,just a clerical error.

Change-Id: Iee22c422ff1786d513afd4f8b3d7fee502a9c89b
Signed-off-by: sliver.chen <sliver.chen@rock-chips.com>
2018-01-15 18:19:15 +08:00
Herman Chen
5d6e5c857a [cmake]: Default enable drm on Android
Due to more platform using 4.4 kernel with drm we default enable
drm support on Android platform.

Change-Id: I4690d3d5f65a471b797d2474426836e6e357cf66
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-12-22 08:56:27 +08:00
Herman Chen
b186d04390 [cmake]: Change to shorter RKPLATFORM macro
Change Android and Linux branches to use RKPLATFORM macro.
RKPLATFORM is shorter and it is not a cmake variable.

Change-Id: I09a6fe72e7dacedbb4b2b8e1a66b6f7ca625f019
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-12-19 19:46:36 +08:00
Ding Wei
785b0f220d [cmake]: Partly merged Android and Linux branch
Use libmpp.so / libvpu.so on Android.
Use librockchip_mpp.so / librockchip_vpu.so

In early stage we use libmpp.so / libvpu.so on Android. later we found
it is better to use vendor name as library prefix. So we fix the name
rule on Linux platform.

But due to historical reason we can not change all sdk to use the same
name. So we choose to use this ugly method to define the name according
to different target platform.

Also we add version to library but Android has binary name issue so we
have to disable version on Android platform.

Change-Id: I785c3bc740f345e473f2d81c5cd2a4e32a1bf0bc
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-12-18 15:15:07 +08:00
ChenHengming
82e7dbe57a [android]: separate different arch script to different directory
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1093 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-25 06:51:09 +00:00