make: add back hooks to vendor/omni
Change-Id: I84524de2e1be665498dc656d91f4e33dfc4e0fe2
make: dont add device/sample/etc/apns-full-conf in aosp_product
we have our own coming form vendor/omni/config/gsm.mk
Change-Id: I59fa41d15b2b11057d98488c18caa3cd0dd90d7e
diff --git a/core/config.mk b/core/config.mk
index 4bb9a42..93c4a50 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -440,6 +440,8 @@
# See envsetup.mk for a description of SCAN_EXCLUDE_DIRS
FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(SCAN_EXCLUDE_DIRS) .repo .git)
+include vendor/omni/config/BoardConfigOmni.mk
+
# The build system exposes several variables for where to find the kernel
# headers:
# TARGET_DEVICE_KERNEL_HEADERS is automatically created for the current
@@ -839,6 +841,8 @@
endif
# The default key if not set as LOCAL_CERTIFICATE
+include $(TOPDIR)vendor/omni/build/core/certs.mk
+
ifdef PRODUCT_DEFAULT_DEV_CERTIFICATE
DEFAULT_SYSTEM_DEV_CERTIFICATE := $(PRODUCT_DEFAULT_DEV_CERTIFICATE)
else
@@ -1258,6 +1262,9 @@
DEFAULT_DATA_OUT_MODULES := ltp $(ltp_packages)
.KATI_READONLY := DEFAULT_DATA_OUT_MODULES
+# Rules for QCOM targets
+include vendor/omni/build/core/qcom_target.mk
+
include $(BUILD_SYSTEM)/dumpvar.mk
ifdef BOARD_VNDK_VERSION