From 7504ee92cd18ecfd48ca4e91860a6ba42217b795 Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Tue, 18 Apr 2017 09:22:49 +0200 Subject: [PATCH] whyred: Enforce common device & vendor tree presence A compiled build has no chance of booting without the common device setup and the prebuilt binaries, so fail the build if those are not present. Change-Id: Iadd43e887d426732e549969ab8deb14194ca818d --- BoardConfig.mk | 4 ++-- device.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 18b30837..142dc2ce 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -23,7 +23,7 @@ # # Inherit from sdm660-common --include device/xiaomi/sdm660-common/BoardConfigCommon.mk +include device/xiaomi/sdm660-common/BoardConfigCommon.mk DEVICE_PATH := device/xiaomi/whyred @@ -56,4 +56,4 @@ TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom VENDOR_SECURITY_PATCH := 2018-11-01 # Inherit the proprietary files --include vendor/xiaomi/whyred/BoardConfigVendor.mk +include vendor/xiaomi/whyred/BoardConfigVendor.mk diff --git a/device.mk b/device.mk index 2bb7b938..1783087b 100644 --- a/device.mk +++ b/device.mk @@ -78,5 +78,5 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ WhyredWifiOverlay -# Inherit proprietary files -$(call inherit-product-if-exists, vendor/xiaomi/whyred/whyred-vendor.mk) +# Inherit the proprietary files +$(call inherit-product, vendor/xiaomi/whyred/whyred-vendor.mk)