Merge "Strip whitespace from INTERNAL_VENDOR_RAMDISK_FRAGMENTS" am: 71c7048593 am: 88b910385f am: fbfd3e96ef

Original change: https://android-review.googlesource.com/c/platform/build/+/1671806

Change-Id: Ibb619873cf0d9efa517d484d1a3fedc3d6284fd4
This commit is contained in:
Yo Chiang 2021-04-12 05:57:26 +00:00 committed by Automerger Merge Worker
commit 6aa3381900

View file

@ -236,6 +236,10 @@ $(foreach vendor_ramdisk_fragment,$(BOARD_VENDOR_RAMDISK_FRAGMENTS), \
)
INTERNAL_VENDOR_RAMDISK_FRAGMENTS += $(BOARD_VENDOR_RAMDISK_FRAGMENTS)
# Strip the list in case of any whitespace.
INTERNAL_VENDOR_RAMDISK_FRAGMENTS := \
$(strip $(INTERNAL_VENDOR_RAMDISK_FRAGMENTS))
# Assign --ramdisk_name for each vendor ramdisk fragment.
$(foreach vendor_ramdisk_fragment,$(INTERNAL_VENDOR_RAMDISK_FRAGMENTS), \
$(if $(filter --ramdisk_name,$(BOARD_VENDOR_RAMDISK_FRAGMENT.$(vendor_ramdisk_fragment).MKBOOTIMG_ARGS)), \