Skip to content

Commit 537e423

Browse files
committed
update porting's cmake
1 parent 83690ed commit 537e423

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/porting/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ include_directories(
4343

4444
add_library(tvhal SHARED ${SRCS_COMMON} ${SOURCES_${NGL_CHIPSET}})
4545
add_library(tvhal_static STATIC ${SRCS_COMMON} ${SOURCES_${NGL_CHIPSET}})
46-
target_compile_definitions(tvhal PRIVATE LINK_SHARED=1)
4746

4847
target_link_libraries(tvhal ${HAL_EXTRA_DLIBS})
4948
target_link_libraries(tvhal_static ${HAL_EXTRA_LIBS})

src/porting/gx3213/ngl_misc.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ int nglSysInit(){
1818
GxCore_HwMallocInit();
1919
return 0;
2020
}
21-
#ifdef LINK_SHARED
22-
vbi_fetch_vt_flags(){}
23-
#endif
21+
22+
vbi_fetch_vt_flags(){
23+
NGLOG_INFO("DUMMY");
24+
}

0 commit comments

Comments
 (0)