forked from openkylin/platform_build
Merge "Fix Makefile formatting" am: b5bff9a4d3
Original change: https://android-review.googlesource.com/c/platform/build/+/1664080 Change-Id: Idcc4ea15ac18e0fc7646fefa7579fd08c3b78729
This commit is contained in:
commit
a7a67e0358
|
@ -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) >> $@;)
|
||||
|
|
Loading…
Reference in New Issue