diff --git a/build/linux/aarch64/make-Makefiles.bash b/build/linux/aarch64/make-Makefiles.bash index de9e8da4..2571b093 100755 --- a/build/linux/aarch64/make-Makefiles.bash +++ b/build/linux/aarch64/make-Makefiles.bash @@ -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} diff --git a/debian/rules b/debian/rules index f8cb9987..1086f035 100755 --- a/debian/rules +++ b/debian/rules @@ -29,5 +29,4 @@ endif override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_BUILD_TYPE=Release \ - -DHAVE_DRM=ON \ -DARM_MIX_32_64=ON diff --git a/osal/CMakeLists.txt b/osal/CMakeLists.txt index e635b551..34cb1944 100644 --- a/osal/CMakeLists.txt +++ b/osal/CMakeLists.txt @@ -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