X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=build%2Fodu%2Fmakefile;h=8b78b857905759c8c47d2411f4e70833871fbd45;hb=bb267bb17ec2897af706e7307790d3b1e5b3ea8d;hp=871e650875e2437161356ad75a6e290dd2d316e9;hpb=6728f585748724cc547847596e2f300d83b3ffce;p=o-du%2Fl2.git diff --git a/build/odu/makefile b/build/odu/makefile index 871e65087..8b78b8579 100644 --- a/build/odu/makefile +++ b/build/odu/makefile @@ -74,7 +74,7 @@ endif # macro for output file name and makefile name # -PLTFRM_FLAGS= -UMSPD -DODU -DINTEL_FAPI -UODU_MEMORY_DEBUG_LOG -DDEBUG_ASN_PRINT -UDEBUG_PRINT -DERROR_PRINT -USTART_DL_UL_DATA -UNR_DRX -UCALL_FLOW_DEBUG_LOG -UODU_SLOT_IND_DEBUG_LOG +PLTFRM_FLAGS=-UMSPD -DODU -DINTEL_FAPI -UODU_MEMORY_DEBUG_LOG -DDEBUG_ASN_PRINT -UDEBUG_PRINT -DERROR_PRINT -USTART_DL_UL_DATA -UNR_DRX -UCALL_FLOW_DEBUG_LOG -UODU_SLOT_IND_DEBUG_LOG ifeq ($(MODE),TDD) PLTFRM_FLAGS += -DNR_TDD @@ -86,8 +86,11 @@ endif ifeq ($(NODE),TEST_STUB) PLTFRM_FLAGS+=-DODU_TEST_STUB endif +ifdef PHY + PLTFRM_FLAGS+=-DTHREAD_AFFINITY +endif ifeq ($(PHY), INTEL_L1) - PLTFRM_FLAGS+=-DSS_USE_WLS_MEM -DINTEL_WLS_MEM -DDEBUG_MODE -DINTEL_L1_V20_03_ONWARDS + PLTFRM_FLAGS+=-DSS_USE_WLS_MEM -DINTEL_WLS_MEM -DDEBUG_MODE -DINTEL_L1_V20_03_ONWARDS -DINTEL_THREAD_AFFINITY ifeq ($(PHY_MODE),TIMER) PLTFRM_FLAGS+=-DINTEL_TIMER_MODE endif @@ -109,10 +112,7 @@ export BUILD export I_OPTS # Add to the linker options the platform specific components -L_OPTS+=-lnsl -lrt -lm -lpthread -lsctp -ifdef XML_BASED_CONFIG -L_OPTS+=-lxml2 -endif +L_OPTS+=-lnsl -lrt -lm -lpthread -lsctp -lxml2 ifeq ($(PHY), INTEL_L1) L_OPTS+=-L/root/Intel-L1-20.11.1/phy/wls_lib/ -lwls \