From c2666e664fa24cfc4d4cbb2fb5b50a2de2f2ca7d Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 10 Jun 2015 16:18:58 -0700 Subject: [PATCH] androidbp: Add LOCAL_MODULE_MAKEFILE We're hardcoding LOCAL_PATH instead of using the my-dir macro. LOCAL_MODULE_MAKEFILE is the other variable set up by this macro, used to ensure that changes to the makefile rebuilds the objects defined in the makefile. Change-Id: I994b72ab9053d5a057eb3e35a8710038800432eb --- androidbp/cmd/androidbp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/androidbp/cmd/androidbp.go b/androidbp/cmd/androidbp.go index 7889588ef..d99041897 100644 --- a/androidbp/cmd/androidbp.go +++ b/androidbp/cmd/androidbp.go @@ -346,6 +346,7 @@ func (w *androidMkWriter) handleLocalPath() error { } w.WriteString("LOCAL_PATH := " + rel + "\n") + w.WriteString("LOCAL_MODULE_MAKEFILE := $(lastword $(MAKEFILE_LIST))\n\n") return nil }