mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-11-01 13:03:55 +08:00
[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
This commit is contained in:
13
build/linux/arm/arm.linux.cross.cmake
Normal file
13
build/linux/arm/arm.linux.cross.cmake
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
cmake_minimum_required( VERSION 2.6.3 )
|
||||
|
||||
SET(CMAKE_SYSTEM_NAME Linux)
|
||||
SET(CMAKE_C_COMPILER "arm-linux-gcc")
|
||||
SET(CMAKE_CXX_COMPILER "arm-linux-g++")
|
||||
set(ANDROID true)
|
||||
set(ARMLINUX true)
|
||||
add_definitions(-fPIC)
|
||||
add_definitions(-DANDROID)
|
||||
add_definitions(-DARMLINUX)
|
||||
include_directories(osal)
|
||||
|
||||
6
build/linux/arm/make-arm-Makefiles.bash
Normal file
6
build/linux/arm/make-arm-Makefiles.bash
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Run this from within a bash shell
|
||||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=debug \
|
||||
-DCMAKE_TOOLCHAIN_FILE=./arm.linux.cross.cmake \
|
||||
-DCMAKE_RKPLATFORM_ENABLE=ON \
|
||||
../../../ && ccmake ../../../
|
||||
3
build/linux/x86_64/make-Makefiles.bash
Normal file
3
build/linux/x86_64/make-Makefiles.bash
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Run this from within a bash shell
|
||||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=debug -DCMAKE_RKPLATFORM_ENABLE=ON ../../../ && ccmake ../../../
|
||||
Reference in New Issue
Block a user