summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--agl-basefiles/share/rpc_rule.mk4
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:' >> $@