diff options
author | Riku Nomoto <riku.nomoto@woven-planet.global> | 2021-01-08 16:11:55 +0900 |
---|---|---|
committer | Riku Nomoto <riku.nomoto@woven-planet.global> | 2021-01-08 16:11:55 +0900 |
commit | 71afcd09b0f210e7da5ae6adc1b914fa02d412ff (patch) | |
tree | b781dedd98826ab64b73669d22d0f25144d0f391 | |
parent | dd1c0ebcad53357f6451813c6a0e10ba6b164f27 (diff) |
Fixed make dependency definition
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
-rw-r--r-- | agl-basefiles/share/rpc_rule.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agl-basefiles/share/rpc_rule.mk b/agl-basefiles/share/rpc_rule.mk index f5db71d..84c238f 100644 --- a/agl-basefiles/share/rpc_rule.mk +++ b/agl-basefiles/share/rpc_rule.mk @@ -19,7 +19,7 @@ # #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) @@ -28,7 +28,7 @@ RPC_API_DEPS := $(rpc_api:%=%_api_stub.d) $(rpc_api:%=%_srvr_stub.d) .%.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:' >> $@ |