exynos9610-common: Cleanup dead targets
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 23 Nov 2020 19:46:29 +0000 (14:46 -0500)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 9 May 2021 20:40:11 +0000 (22:40 +0200)
build/make/core/main.mk:1136: warning:  device/motorola/hannah/lineage_hannah.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
android.hardware.neuralnetworks@1.2-service-sample-all
wpa_supplicant.conf
build/make/core/main.mk:1136: error: Build failed.
15:35:26 ckati failed with: exit status 1

To do this yourself, put the following line into
lineage_$TARGET.mk:

`$(call enforce-product-packages-exist,)`

Note that the above flag must be in the product
makefile to work.

Change-Id: I0e4d93f4c3be077d49befa1f547d11d623ca74d5

common.mk

index f345d0eaa71ebb3d6222f07f610011d283493ee4..1e096770435fadf5022a0b7dc4b6ee502718e542 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -226,10 +226,6 @@ PRODUCT_COPY_FILES += \
     $(COMMON_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
     $(COMMON_PATH)/configs/nfc/libnfc-sec-vendor.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-sec-vendor.conf
 
-# Neuralnetworks
-PRODUCT_PACKAGES += \
-    android.hardware.neuralnetworks@1.2-service-sample-all
-
 # OMX
 PRODUCT_PACKAGES += \
     android.hardware.media.omx@1.0-service \
@@ -353,8 +349,7 @@ PRODUCT_PACKAGES += \
 PRODUCT_PACKAGES += \
     android.hardware.wifi@1.0-service \
     hostapd \
-    wpa_supplicant \
-    wpa_supplicant.conf
+    wpa_supplicant
 
 PRODUCT_COPY_FILES += \
     $(COMMON_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \