Commit Graph

21 Commits

Author SHA1 Message Date
Herman Chen
95db60b3ad [cmake]: change build script for x86_64
Change-Id: I181d09afdd10eadbf78ba1e016990b606205e6eb
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2020-02-27 15:37:42 +08:00
syzby
451ae59386 [cmake]: Fix aarch linux cmake compile error
Change CMAKE_SYSTEM_PROCESSOR from armv8 to armv8-a

Change-Id: I4e0021a44b933813d336383b5363170ecf2b7027
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2019-09-05 17:17:49 +08:00
sliver.chen
552e2db07f [cmake]: linux aarch should define HAVE_DRM ON by default.
Just like in the android arm/aarch directory.

Change-Id: I27fd97835c92e23e0422cfdcd381c540b9af8fd9
Signed-off-by: sliver.chen <sliver.chen@rock-chips.com>
2018-02-08 09:20:09 +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
Randy Li
5fa4ff0d48 [osal]: match system implementation with compiler marco
It would make the build system more simple, and the cross
toolchains would do the rest to you.

Toolchains like buildroot default not enable the __gnu_linux__
marco in the pre-processor will surfure from the systsm unknown
problem. You should enable the marco in building toolchains
or have a look on those scripts in build directory.

Change-Id: I8f6af3391aa3d94d602ec8d84ba5e43839859169
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-05-04 14:29:29 +08:00
Herman Chen
76e5398633 [build]: Add build script for arm64
Change-Id: I4ed1b62ce5baeb21fd8e9fb0d804d48f8d065698
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-04-06 09:37:31 +08:00
Herman Chen
d3ccbde5b1 [cmake]: add toolchain detection for rk1108
Also add codec options

Change-Id: I14b159f6deedb3e325f9500d0c3060fac321e31a
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-09-13 15:10:31 +08:00
Herman Chen
30c6bd08c1 [cmake]: add codec option
Use mpp/codecs.cmake to enable/disable codecs in order to reduce library
size.
All decoder and encoder can be disbaled now. Default all open.

Change-Id: I3307460df12f2f3fc82898d823ab2da12002d6c6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-09-10 15:46:12 +08:00
Herman Chen
243568bd92 [cmake]: set linux/arm cmake script to Release
Change-Id: Id99284a22713276c42b6eedaca3b4cd8695686e2
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-09-09 14:30:29 +08:00
Herman Chen
673bc0eef4 [osal]: fix allocator error on x86_64
x86_64 is for simulation debug. It is just for working flow test.

Change-Id: I2d1cb50e52a104e58f6eaf3b27fd9dcf41b9ada6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2016-09-06 16:22:58 +08:00
ChenHengming
33f1b5491b [cmake]: add hardfp config to arm linux build script
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1205 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-17 10:14:49 +00:00
GaoZhili
10805b1b6b [bulid-linux-script]: modify
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1152 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-04 02:19:11 +00:00
ChenHengming
06807e8a33 [cmake]: fix script for arm-linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1148 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-03 06:43:01 +00:00
ChenHengming
e7e1abaca0 [cmake]: fix script for arm-linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1147 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-08-03 06:42:11 +00:00
ChenHengming
76af3c56e6 [linux]: add executable property to script
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1130 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-30 08:47:32 +00:00
ZhaoJun
d341178dbf [sofia-3gr-linux]: add missing makefile for linux-arm and linux-x86_64
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1117 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 06:32:27 +00:00
ZhaoJun
41f3fb8cc8 [sofia-3gr-linux]: add sofia-3gr makefile
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1114 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-28 03:43:15 +00:00
GaoZhili
897831f1f1 [build/linux]: add the compile script for arm-linux
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1080 6e48237b-75ef-9749-8fc9-41990f28c85a
2016-07-22 12:11:59 +00:00
ChenHengming
e3f2085f7a [build/linux]: add executable flag to make-Makefiles.bash
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@4 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-27 10:33:43 +00:00
ChenHengming
58ca309470 [osal]: add rk_log, rk_list, rk_thread to osal directory
linux test ok
window can not compile, need more check

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@3 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-27 10:22:37 +00:00