mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-09-26 21:15:53 +08:00
fix[cmake]: Remove HAVE_DRM option
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I6ce230a7e85472acca5feafc9ad84effb222f57a
This commit is contained in:
@@ -23,6 +23,5 @@ fi
|
||||
# generate Makefile
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_TOOLCHAIN_FILE=./arm.linux.cross.cmake \
|
||||
-DHAVE_DRM=ON \
|
||||
-G "Unix Makefiles" \
|
||||
${MPP_TOP}
|
||||
|
1
debian/rules
vendored
1
debian/rules
vendored
@@ -29,5 +29,4 @@ endif
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DHAVE_DRM=ON \
|
||||
-DARM_MIX_32_64=ON
|
||||
|
@@ -10,20 +10,12 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_REENTRANT -D_GNU_SOURCE")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||||
|
||||
if (HAVE_DRM)
|
||||
add_definitions(-DHAVE_DRM)
|
||||
set(DRM_FILES allocator/allocator_drm.c)
|
||||
message(STATUS "compile with drm support")
|
||||
else()
|
||||
message(STATUS "compile without drm support")
|
||||
endif()
|
||||
|
||||
set(MPP_ALLOCATOR
|
||||
allocator/allocator_std.c
|
||||
allocator/allocator_ion.c
|
||||
allocator/allocator_ext_dma.c
|
||||
allocator/allocator_dma_heap.c
|
||||
${DRM_FILES}
|
||||
allocator/allocator_drm.c
|
||||
)
|
||||
|
||||
set(MPP_DRIVER
|
||||
|
Reference in New Issue
Block a user