Merge "Fix Makefile formatting"

This commit is contained in:
Yo Chiang
2021-04-06 07:27:44 +00:00
committed by Gerrit Code Review

View File

@@ -1040,13 +1040,13 @@ ifdef INTERNAL_KERNEL_CMDLINE
endif
ifdef INTERNAL_BOOTCONFIG
ifneq (,$(findstring androidboot.hardware=, $(INTERNAL_BOOTCONFIG)))
$(error "androidboot.hardware" BOOTCONFIG parameter is not supported due to \
bootconfig limitations. Use "hardware" instead. INTERNAL_BOOTCONFIG: \
$(INTERNAL_BOOTCONFIG))
endif
INTERNAL_VENDOR_BOOTCONFIG_TARGET := $(PRODUCT_OUT)/vendor-bootconfig.img
$(INTERNAL_VENDOR_BOOTCONFIG_TARGET):
ifneq (,$(findstring androidboot.hardware=, $(INTERNAL_BOOTCONFIG)))
$(error "androidboot.hardware" BOOTCONFIG parameter is not supported due \
to bootconfig limitations. Use "hardware" instead. INTERNAL_BOOTCONFIG: \
$(INTERNAL_BOOTCONFIG))
endif
INTERNAL_VENDOR_BOOTCONFIG_TARGET := $(PRODUCT_OUT)/vendor-bootconfig.img
$(INTERNAL_VENDOR_BOOTCONFIG_TARGET):
rm -f $@
$(foreach param,$(INTERNAL_BOOTCONFIG), \
printf "%s\n" $(param) >> $@;)