
The Open Programmable Acceleration Engine (OPAE) tools, and its required dependencies, are introduced in the stx-debian-tools-dev container, for the vRAN enablement with Intel hardware. The OPAE tools deliverables consist of the following packages, which are derived from the same source, but handled as individual packages. The OPAE Intel FGPA driver is not required in the container, because it is already supported in StarlingX kernel. - opae-sdk-1.3.7-5 - python3-opae.admin-1.0.3 - python3-opae.pacsign-1.0.4 - opae-intel-fpga-driver-2.0.1 When building OPAE from upstream source code, binaries are installed in bin directory, though privileged commands should be located in sbin. According to the upstream documentation, most OPAE commands need to be run in privileged mode, but the description is not always clear. Hence, in order to provide a consistent CLI interface in StarlingX, the OPAE binaries are installed in the proper standard directories. Test Plan: - Container image is built successfully on Debian (PASS) - OPAE packages are successfully installed (PASS) - Run time testing of the OPAE tools (WIP) Story: 2010138 Task: 46170 Depends-On: https://review.opendev.org/c/starlingx/tools/+/862743 Signed-off-by: Rogerio Ferraz <RogerioOliveira.Ferraz@windriver.com> Change-Id: I9430fb34362ee487b0de76b4dbef78331446f5f3
28 lines
770 B
Makefile
Executable File
28 lines
770 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# See debhelper(7) (uncomment to enable)
|
|
# output every command that modifies files on the build system.
|
|
#export DH_VERBOSE = 1
|
|
|
|
|
|
# see FEATURE AREAS in dpkg-buildflags(1)
|
|
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
# see ENVIRONMENT in dpkg-buildflags(1)
|
|
# package maintainers to append CFLAGS
|
|
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
|
# package maintainers to append LDFLAGS
|
|
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
|
|
|
|
%:
|
|
dh $@
|
|
|
|
|
|
# dh_make generated override targets
|
|
# This is example for Cmake (See https://bugs.debian.org/641051 )
|
|
#override_dh_auto_configure:
|
|
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_ASE=ON
|