X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=build%2Fcommon%2Frg.mak;fp=build%2Fcommon%2Frg.mak;h=0000000000000000000000000000000000000000;hb=3235ecfc7414aa0b72d0ad50db63ae8b5626045b;hp=4d0094cd7991a89a61865710b3727b2a8642b44e;hpb=997e3f26d55352586a1d4d0c46c41a98452af88a;p=o-du%2Fl2.git diff --git a/build/common/rg.mak b/build/common/rg.mak deleted file mode 100644 index 4d0094cd7..000000000 --- a/build/common/rg.mak +++ /dev/null @@ -1,71 +0,0 @@ -################################################################################ -# Copyright (c) [2017-2019] [Radisys] # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); # -# you may not use this file except in compliance with the License. # -# You may obtain a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -################################################################################ - -##-------------------------------------------------------------# -#Makefile for product RG - script generated. -#-------------------------------------------------------------# -include ../common/rsys_fancy.mak -include ../common/env.mak -COLOR=$(COLOR_GREEN) - -SRC_DIR=$(ROOT_DIR)/src/5gnrmac - -# prepare the list of common header files -HDR_FILES+=$(wildcard $(CM_DIR)/env*.[hx]) -HDR_FILES+=$(wildcard $(CM_DIR)/gen*.[hx]) -HDR_FILES+=$(wildcard $(CM_DIR)/ssi*.[hx]) -HDR_FILES+=$(wildcard $(CM_DIR)/cm*.[hx]) -HDR_FILES+=$(wildcard $(CM_DIR)/crg.[hx]) -HDR_FILES+=$(wildcard $(CM_DIR)/lrg*.[hx]) -HDR_FILES+=$(wildcard $(CM_DIR)/rgr.[hx]) -HDR_FILES+=$(wildcard $(CM_DIR)/rgm.[hx]) - -# Add the product specific header files -HDR_FILES+= $(wildcard $(SRC_DIR)/*.[hx]) - -#prepare the list of source files -C_SRCS=$(wildcard $(SRC_DIR)/*.c) -C_SRCS:=$(filter-out $(SRC_DIR)/rg_sch%, $(C_SRCS)) - -#prepare the list of object files and RLOG related files -C_OBJS=$(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.o,$(C_SRCS)) - -#-------------------------------------------------------------# -#User macros (to be modified) -#-------------------------------------------------------------# -# Including RG_PHASE2_SCHED for supporting more than one schedulers -# supported by mac -# TODO: make it define for LTEMAC_MIMO and remove it from envopt.h -MOD_FLAGS=-DRGM_LC -DRGM_LWLC -USM -URG_DEBUG -DxRG_PHASE2_SCHED -DxRGR_V1 \ - -DRG_UL_DELTA=2 -ULTEMAC_DLUE_TMGOPTMZ -UTENB_SPLIT_ARCH -DRG -ULTEMAC_MIMO - -lib:$(LIB_DIR)/librg.a -include $(COM_BUILD_DIR)/compile.mak - -#-------------------------------------------------------------# -#Linker macros -#-------------------------------------------------------------# -$(LIB_DIR)/librg.a:$(C_OBJS) - @echo -e "Creating Archive $(COLOR) $@ $(REVERT_COLOR)" - $(Q)ar -cr $(LIB_DIR)/librg.a $(C_OBJS) - -#-------------------------------------------------------------# -#Clean macros -#-------------------------------------------------------------# -clean: - @echo -e "$(COLOR_RED)Cleaing MAC$(REVERT_COLOR)" - $(Q)\rm -f $(LIB_DIR)/librg.a $(C_OBJS) -