Add aaa-12 A 修改makefile
RCA: SOL: 修改人:zhangliang 检视人:zhangliang
This commit is contained in:
parent
b918d4b55f
commit
8297a314a2
13
Makefile
13
Makefile
|
@ -28,9 +28,9 @@ MAKE_FLAGS += -j$(shell cat /proc/cpuinfo | grep processor | wc -l)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY : demo conntrack netlink trace
|
.PHONY : demo conntrack netlink trace openrpc
|
||||||
|
|
||||||
all: demo conntrack netlink trace
|
all: demo conntrack netlink trace openrpc
|
||||||
|
|
||||||
ifeq ($(OPT), install)
|
ifeq ($(OPT), install)
|
||||||
#$(shell `find ../release -name "*.zip" -delete`)
|
#$(shell `find ../release -name "*.zip" -delete`)
|
||||||
|
@ -111,3 +111,12 @@ else
|
||||||
$(MLOG)make all $(MAKE_FLAGS) -C Platform/build -f user.trace.test.Makefile MLOG=$(MLOG) DISABLE_WARRING=$(DIS_BUILD_WARRING) MAKE_TARGET=trace-test
|
$(MLOG)make all $(MAKE_FLAGS) -C Platform/build -f user.trace.test.Makefile MLOG=$(MLOG) DISABLE_WARRING=$(DIS_BUILD_WARRING) MAKE_TARGET=trace-test
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
openrpc:
|
||||||
|
ifeq ($(OPT), clean)
|
||||||
|
$(MLOG)make $(MAKE_FLAGS) -C Platform/build -f user.openrpc.Makefile cleanall MLOG=$(MLOG) MAKE_TARGET=openrpc
|
||||||
|
else ifeq ($(OPT), install)
|
||||||
|
$(MLOG)make $(MAKE_FLAGS) -C Platform/build -f user.openrpc.Makefile install DIR=$(DIR) MLOG=$(MLOG) MAKE_TARGET=openrpc
|
||||||
|
else
|
||||||
|
$(MLOG)make all $(MAKE_FLAGS) -C Platform/build -f user.openrpc.Makefile MLOG=$(MLOG) DISABLE_WARRING=$(DIS_BUILD_WARRING) MAKE_TARGET=openrpc
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# target name, the target name must have the same name of c source file
|
# target name, the target name must have the same name of c source file
|
||||||
TARGET_NAME=test-trace
|
TARGET_NAME=openrpc
|
||||||
|
|
||||||
# target
|
# target
|
||||||
# for linux module driver: KO
|
# for linux module driver: KO
|
||||||
|
@ -43,8 +43,8 @@ PLAT_LINUX_LDFLAGS := $(PLAT_ARM64_LDFLAGS)
|
||||||
|
|
||||||
|
|
||||||
#gcc libs
|
#gcc libs
|
||||||
ARM64_LIBS := -lpthread -lev -lm
|
ARM64_LIBS := -lpthread -lm
|
||||||
LINUX_LIBS := -lpthread -lev -lm
|
LINUX_LIBS := -lpthread -lm
|
||||||
|
|
||||||
ifeq ($(PLAT_ARM64), TRUE)
|
ifeq ($(PLAT_ARM64), TRUE)
|
||||||
DEPEND_LIB +=
|
DEPEND_LIB +=
|
||||||
|
@ -52,7 +52,7 @@ USER_CLEAN_ITEMS +=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLAT_LINUX), TRUE)
|
ifeq ($(PLAT_LINUX), TRUE)
|
||||||
DEPEND_LIB +=
|
DEPEND_LIB += ../thirdparty/x86_64/libev.so
|
||||||
USER_CLEAN_ITEMS +=
|
USER_CLEAN_ITEMS +=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue