From cd90d55d120f639a7fefb745cb1c3a89ea6d3417 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 27 Sep 2024 15:55:26 +0800 Subject: [PATCH] makefile change --- include/Makefile.rules | 12 ++++++------ plat/isdn/Makefile | 2 +- plat/{make_plat => mkplat.sh} | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) rename plat/{make_plat => mkplat.sh} (94%) diff --git a/include/Makefile.rules b/include/Makefile.rules index 5f652cc..7a82089 100644 --- a/include/Makefile.rules +++ b/include/Makefile.rules @@ -258,7 +258,7 @@ clean: ## indent Makefile.indent ## ##-------------------------------------- -include Makefile.indent +include $(MAKE_INCLUDE)/Makefile.indent indent: @chmod 777 $(SRC_FULL_PATH) @@ -272,7 +272,7 @@ indent: ## splint makefile.splint ## ##-------------------------------------- -include Makefile.splint +include $(MAKE_INCLUDE)/Makefile.splint SPLINT_FLAG_SWITCH ?= off @@ -291,7 +291,7 @@ endif ## doc Makefile.doxygen ## ##-------------------------------------- -include Makefile.doxygen +include $(MAKE_INCLUDE)/Makefile.doxygen doc: @chmod 777 $(SRC_FULL_PATH) @@ -305,21 +305,21 @@ doc: ## backup Makefile.backup ## ##-------------------------------------- -include Makefile.backup +include $(MAKE_INCLUDE)/Makefile.backup ##-------------------------------------- ## ## cov Makefile.cov ## ##-------------------------------------- -include Makefile.cov +include $(MAKE_INCLUDE)/Makefile.cov ##-------------------------------------- ## ## usage Makefile.usage ## ##-------------------------------------- -include Makefile.usage +include $(MAKE_INCLUDE)/Makefile.usage ##-------------------------------------- ## diff --git a/plat/isdn/Makefile b/plat/isdn/Makefile index 6e3e378..582707c 100644 --- a/plat/isdn/Makefile +++ b/plat/isdn/Makefile @@ -86,7 +86,7 @@ POSTPROC_CMD = CCFLAG_SWITCH = off COVER_NEED = no COVER_REPORT_PATH = ./output -MAKE_INCLUDE = $(HOME)/ems.git/include +MAKE_INCLUDE = ../../include ##---------------------------------------------------------------------## diff --git a/plat/make_plat b/plat/mkplat.sh similarity index 94% rename from plat/make_plat rename to plat/mkplat.sh index 0ae92d4..c34a74e 100644 --- a/plat/make_plat +++ b/plat/mkplat.sh @@ -1,6 +1,6 @@ #!/bin/bash -projectDir=$(HOME)/ems.git +projectDir=`~/` platDir=$(projectDir)/plat platModuleList="8ecp aif bicc debug haepub iptrans isdn isup m2ua mgc mgcp mgc_v2 mtp3 pal public rtp sccp scf sip smpp snmp tcap xapp" for mod in $platModuleList; do