summaryrefslogtreecommitdiff
path: root/package/cryptodev-linux
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2012-07-18 17:19:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-07-18 17:36:38 +0200
commitb87ee00d197c64b5db38cffdc274e99b8454feb7 (patch)
tree815f733a6eafdc3c8f7c784a877afc42cf8989f0 /package/cryptodev-linux
parent09fdcb6e5bb6043e66fca16a92f1a9c72340d33c (diff)
import cryptodev-linux package
Diffstat (limited to 'package/cryptodev-linux')
-rw-r--r--package/cryptodev-linux/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/cryptodev-linux/Makefile b/package/cryptodev-linux/Makefile
new file mode 100644
index 000000000..97117bced
--- /dev/null
+++ b/package/cryptodev-linux/Makefile
@@ -0,0 +1,40 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= cryptodev-linux
+PKG_VERSION:= 1.4
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 7b0ac1c0a88d8fbe7316db02f21666e6
+PKG_DESCR:= cryptodev-linux kernel module
+PKG_SECTION:= crypto
+PKG_URL:= http://home.gna.org/cryptodev-linux/
+PKG_SITES:= http://download.gna.org/cryptodev-linux/
+
+include $(TOPDIR)/mk/package.mk
+include ${TOPDIR}/mk/kernel-vars.mk
+
+$(eval $(call PKG_template,CRYPTODEV_LINUX,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+do-build:
+ ${MAKE} -C "${WRKBUILD}" version.h
+ GCC_HONOUR_COPTS=0 LDFLAGS="" ${MAKE} ${KERNEL_MAKE_OPTS} \
+ M="${WRKBUILD}" modules
+ ${INSTALL_DIR} ${WRKINST}/usr/include/crypto
+ ${INSTALL_DATA} ${WRKBUILD}/crypto/cryptodev.h \
+ ${WRKINST}/usr/include/crypto/
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_CRYPTODEV_LINUX}/usr/include/crypto
+ ${INSTALL_DATA} ${WRKBUILD}/crypto/cryptodev.h \
+ ${IDIR_CRYPTODEV_LINUX}/usr/include/crypto/
+ GCC_HONOUR_COPTS=0 LDFLAGS="" ${MAKE} ${KERNEL_MAKE_OPTS} DEPMOD=false \
+ M="${WRKBUILD}" INSTALL_MOD_PATH=${IDIR_CRYPTODEV_LINUX} \
+ modules_install
+
+include ${TOPDIR}/mk/pkg-bottom.mk