Skip to content

Install BCM libraries to separate dir (needed for OpenWrt 23.03)

Andreas Gnau requested to merge platform-openwrt-23.05 into devel

Install libraries into separate directory (usr/)/lib/broadcom. This is to enable a clean separation between BCM-SDK-built libraries and OpenWrt-built built libraries. This clear separation will avoid binary compatibility issues between the two worlds.

As a side-effect it will also enable future enhancements such as hardfloat or 64-bit user space on the IOWRT side, which is not supported in the BCM SDK.

Set the RUNPATH of all the binaries in the OpenWrt Makefile after stripping, because OpenWrt will remove the RUNPATH if during stripping, if is set it here during install time.

@iopsys-platform

Merge request reports