bcm_nexus: Make OEMCrypto static library available in STAGING_DIR
Due to issues with concurrent DRM on SAGE, we need to link Cast to the
static version of the non-SAGE OEMCrypto. See bug for details.
Bug: 32498949
Change-Id: I09610b2619fa16aa64f552a9fb8329dffa16d3a5
diff --git a/package/bcm_nexus/bcm_nexus.mk b/package/bcm_nexus/bcm_nexus.mk
index 54f4233..839f147 100644
--- a/package/bcm_nexus/bcm_nexus.mk
+++ b/package/bcm_nexus/bcm_nexus.mk
@@ -92,6 +92,7 @@
sed -i"" -e "s@$(@D)@/$(BCM_NEXUS_STAGING_PATH)@g" -e "s@std=c89@std=c99@g" $(@D)/bin/nexus.pc
$(INSTALL) -D $(@D)/bin/nexus.pc $(STAGING_DIR)/usr/lib/pkgconfig/nexus.pc
$(call BCM_NEXUS_INSTALL_LIBS,$(STAGING_DIR))
+ $(INSTALL) -D $(@D)/../BSEAV/lib/security/third_party/widevine/CENC21/oemcrypto/lib/$(BCM_ARCH)/nonsage/liboemcrypto.a $(STAGING_DIR)/usr/lib/liboemcrypto.a
endef
define BCM_NEXUS_INSTALL_TARGET_CMDS