Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85518ace authored by Greg Kaiser's avatar Greg Kaiser
Browse files

Add project specific definitions.mk files

Just like we do with build/tasks/*.mk, we also look for project
specific definitions.mk files.

Test: TreeHugger
Bug: 243024627
Change-Id: I7f07546582eb02bba245a1f927a11efc1ddc3c6f
parent 34570d33
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3836,6 +3836,10 @@ endef
-include $(TOPDIR)vendor/*/build/core/definitions.mk
-include $(TOPDIR)device/*/build/core/definitions.mk
-include $(TOPDIR)product/*/build/core/definitions.mk
# Also the project-specific definitions.mk file
-include $(TOPDIR)vendor/*/*/build/core/definitions.mk
-include $(TOPDIR)device/*/*/build/core/definitions.mk
-include $(TOPDIR)product/*/*/build/core/definitions.mk

# broken:
#	$(foreach file,$^,$(if $(findstring,.a,$(suffix $file)),-l$(file),$(file)))