Merge "Fix host-init-verifier regression"
This commit is contained in:
commit
8c116d8616
2 changed files with 8 additions and 8 deletions
|
@ -180,15 +180,8 @@ endif
|
|||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(filter init%rc,$(notdir $(LOCAL_INSTALLED_MODULE)))$(filter %/etc/init,$(dir $(LOCAL_INSTALLED_MODULE))),)
|
||||
$(eval $(call copy-init-script-file-checked,$(my_prebuilt_src_file),$(built_module)))
|
||||
else ifneq ($(LOCAL_PREBUILT_STRIP_COMMENTS),)
|
||||
$(built_module) : $(my_prebuilt_src_file)
|
||||
$(transform-prebuilt-to-target-strip-comments)
|
||||
else
|
||||
$(built_module) : $(my_prebuilt_src_file)
|
||||
$(transform-prebuilt-to-target)
|
||||
endif
|
||||
ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
|
||||
$(hide) chmod +x $@
|
||||
endif
|
||||
|
|
|
@ -25,7 +25,14 @@ endif
|
|||
|
||||
include $(BUILD_SYSTEM)/base_rules.mk
|
||||
|
||||
ifneq ($(filter init%rc,$(notdir $(LOCAL_INSTALLED_MODULE)))$(filter %/etc/init,$(dir $(LOCAL_INSTALLED_MODULE))),)
|
||||
$(eval $(call copy-init-script-file-checked,$(my_prebuilt_src_file),$(LOCAL_BUILT_MODULE)))
|
||||
else ifneq ($(LOCAL_PREBUILT_STRIP_COMMENTS),)
|
||||
$(LOCAL_BUILT_MODULE) : $(my_prebuilt_src_file)
|
||||
$(transform-prebuilt-to-target-strip-comments)
|
||||
else
|
||||
$(LOCAL_BUILT_MODULE) : $(my_prebuilt_src_file)
|
||||
$(transform-prebuilt-to-target)
|
||||
endif
|
||||
|
||||
built_module := $(LOCAL_BUILT_MODULE)
|
||||
built_module := $(LOCAL_BUILT_MODULE)
|
||||
|
|
Loading…
Reference in a new issue