-include $(LOCAL_PATH)/system_prop.mk
# call Samsung LSI board support package
-ifneq ($(WITH_EXYNOS_BSP),)
$(call inherit-product, hardware/samsung_slsi/exynos5/exynos5.mk)
$(call inherit-product, hardware/samsung_slsi/exynos7580/exynos7580.mk)
-endif
# call the proprietary setup
$(call inherit-product, vendor/samsung/universal7580-common/universal7580-common-vendor.mk)
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \
"${KANG}" --section "${SECTION}"
-extract "${MY_DIR}/proprietary-files-bsp.txt" "${SRC}" \
- "${KANG}" --section "${SECTION}"
-
# Fix proprietary blobs
BLOB_ROOT="$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE_COMMON"/proprietary
patchelf --replace-needed libgui.so libsensor.so $BLOB_ROOT/bin/gpsd
+++ /dev/null
-# Graphics
-lib/hw/gralloc.exynos5.so
-lib/hw/hwcomposer.exynos5.so
-lib/hw/memtrack.exynos5.so
-lib/libcsc.so
-lib/libexynosdisplay.so
-lib/libexynosscaler.so
-lib/libexynosgscaler.so
-lib/libexynosutils.so
-lib/libexynosv4l2.so
-lib/libfimg.so
-lib/libhdmi.so
-lib/libhwcutils.so
-lib/libmpp.so
-
-# Mobicore
-bin/mcDriverDaemon
-lib/libMcClient.so
-lib/libMcRegistry.so
-
-# OMX
-lib/libExynosOMX_Core.so
-lib/libExynosOMX_Resourcemanager.so
-lib/libstagefrighthw.so
# The standard blobs
write_makefiles "${MY_DIR}/proprietary-files.txt" true
-# The BSP blobs - we put a conditional in case the BSP
-# is actually being built
-printf '\n%s\n' 'ifeq ($(WITH_EXYNOS_BSP),)' >> "$PRODUCTMK"
-printf '\n%s\n' 'ifeq ($(WITH_EXYNOS_BSP),)' >> "$ANDROIDMK"
-
-write_makefiles "$MY_DIR"/proprietary-files-bsp.txt
-
-printf '%s\n' 'endif' >> "$PRODUCTMK"
-printf '%s\n' 'endif' >> "$ANDROIDMK"
-
###################################################################################################
# CUSTOM PART START #
###################################################################################################