Removed RPC_APIDEF because to build rpc_apidef is defined
for rpc_library/tool.
And make-target for RPC_APIDEF is just defined in
service/other/rpc_library/tool/Makefile.
Signed-off-by: Riku Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I8dd870f8c919d85b9ce235f80858db64d7d6ddf0
#
#rpc_apidef directory path must be added
-RPC_APIDEF := $(OECORE_NATIVE_SYSROOT)/usr/bin/rpc_apidef
+RPC_APIDEF := rpc_apidef
RPC_API_RULES := $(RPC_API:%=.%.api.rule)
rpc_api := $(shell echo $(RPC_API) | tr A-Z a-z)
.%.api.rule:
@echo 'rpc_name:=$(shell echo $* | tr A-Z a-z)' > $@
- @echo '$$(rpc_name)_api.h $$(rpc_name)_api_stub.c $$(rpc_name)_srvr.h $$(rpc_name)_srvr_stub.c: $*.api $$(RPC_APIDEF)' >> $@
+ @echo '$$(rpc_name)_api.h $$(rpc_name)_api_stub.c $$(rpc_name)_srvr.h $$(rpc_name)_srvr_stub.c: $*.api' >> $@
@echo ' $$(RPC_APIDEF) $$(CPPFLAGS) $$(RPC_APIDEF_FLAGS) $$<' >> $@
@echo >> $@
@echo '$*.api:' >> $@