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

Commit cbdfc3a5 authored by Yo Chiang's avatar Yo Chiang Committed by Gerrit Code Review
Browse files

Merge "Error if $(LOCAL_PATH) is empty"

parents 76279b10 60052f3a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -27,6 +27,11 @@ endif
## Common instructions for a generic module.
###########################################################

LOCAL_PATH := $(strip $(LOCAL_PATH))
ifeq ($(LOCAL_PATH),)
  $(error LOCAL_PATH is not defined)
endif

LOCAL_MODULE := $(strip $(LOCAL_MODULE))
ifeq ($(LOCAL_MODULE),)
  $(error $(LOCAL_PATH): LOCAL_MODULE is not defined)