From 9c461365de59aef1ab4f6535f82956865f0e9f50 Mon Sep 17 00:00:00 2001 From: Yi-Yo Chiang Date: Sun, 4 Apr 2021 03:26:18 +0800 Subject: [PATCH] Fix Makefile formatting Add indent to if-block so my text editor stop complaining. Test: Presubmit Change-Id: Ie3f4dbd114d894453bf46a91b47d5d0450e5e1e7 --- core/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/Makefile b/core/Makefile index 7975d3a66..108769004 100644 --- a/core/Makefile +++ b/core/Makefile @@ -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) >> $@;)