[OpenPower-Firmware] [PATCH 2/2] Initscript to load ipoib module

Klaus Heinrich Kiwi klaus at linux.vnet.ibm.com
Thu May 14 10:35:33 AEST 2020



On 4/16/2020 5:42 PM, Daniel M. Weeks wrote:
> +################################################################################
> +#
> +# ipoib
> +#
> +################################################################################
> +
> +#IPOIB_VERSION = 0
> +#IPOIB_SOURCE = libmlx5-$(IPOIB_VERSION).tar.gz
> +#IPOIB_SITE ?= file://$(HOME)
If your package doesn't need any sources (i.e., it is self contained 
within the op-build tree) you can define "PACKAGE_SOURCE =" and 
"PACKAGE_SIZE =" and buildroot shouldn't complain if they're both 
defined, but empty.

> +IPOIB_DEPENDENCIES = libmlx5
> +
> +define IPOIB_INSTALL_INIT_SYSV
> +	$(INSTALL) -D -m 0755 $(BR2_EXTERNAL_OP_BUILD_PATH)/custom/package/ipoib/S99ipoib \
> +		$(TARGET_DIR)/etc/init.d/S99ipoib
> +endef
> +
> +$(eval $(generic-package))
> 

-- 
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>


More information about the OpenPower-Firmware mailing list