diff options
Diffstat (limited to 'core/notice_files.mk')
-rw-r--r-- | core/notice_files.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/notice_files.mk b/core/notice_files.mk index fd76d51..74beb49 100644 --- a/core/notice_files.mk +++ b/core/notice_files.mk @@ -2,9 +2,9 @@ ## Track NOTICE files ########################################################### -notice_file:=$(shell find $(LOCAL_PATH) -maxdepth 1 -name NOTICE) +notice_file:=$(strip $(wildcard $(LOCAL_PATH)/NOTICE)) -ifneq ($(strip $(notice_file)),) +ifdef notice_file # This relies on the name of the directory in PRODUCT_OUT matching where # it's installed on the target - i.e. system, data, etc. This does |