Skip to content

Commit

Permalink
whyred: Enforce common device & vendor tree presence
Browse files Browse the repository at this point in the history
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
  • Loading branch information
raymanfx authored and SebaUbuntu committed Dec 28, 2020
1 parent 4698d31 commit 7504ee9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7504ee9

Please sign in to comment.