[Buildroot] [PATCH 2/4] ocf: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Oct 21 06:53:47 UTC 2011


Le Thu, 20 Oct 2011 14:48:51 -0300,
Gustavo Zacarias <gustavo at zacarias.com.ar> a écrit :

> +config BR2_PACKAGE_OCF
> +	bool "ocf"
> +	help
> +	  OCF-Linux is a Linux port of the OpenBSD/FreeBSD Cryptographic
> +	  Framework (OCF). This port aims to bring full asynchronous HW/SW
> +	  crypto acceleration to the Linux kernel and applications
> +	  running under Linux.
> +	  
> +	  http://ocf-linux.sourceforge.net/

Maybe mention here that there is a kernel-side part that must be
enabled for this to work, and that it can be enabled with
BR2_LINUX_KERNEL_EXT_OCF ?

> +define OCF_INSTALL_STAGING_CMDS
> +	$(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
> +		$(STAGING_DIR)/usr/include/crypto/cryptodev.h
> +endef
> +
> +define OCF_UNINSTALL_STAGING_CMDS
> +	rm -f $(STAGING_DIR)/usr/include/crypto/cryptodev.h
> +endef
> +
> +define OCF_INSTALL_TARGET_CMDS
> +	$(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \
> +		$(TARGET_DIR)/usr/include/crypto/cryptodev.h
> +endef
> +
> +define OCF_UNINSTALL_TARGET_CMDS
> +	rm -f $(TARGET_DIR)/usr/include/crypto/cryptodev.h
> +endef

So basically, it's just a header that needs to be installed?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list