Add loop-aes, and mark it 2.6 for now (did not test on brcm-2.4) (#2484)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9175 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1120328d15
commit
c7e54187eb
52
utils/loop-aes/Makefile
Normal file
52
utils/loop-aes/Makefile
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2007 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
# $Id: $
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
|
PKG_NAME:=loop-aes
|
||||||
|
PKG_VERSION:=3.2a
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=loop-AES-v$(PKG_VERSION).tar.bz2
|
||||||
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
||||||
|
PKG_MD5SUM:=d0b5b0f104ce0e1ee9e3ba9608f24ec4
|
||||||
|
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/loop-AES-v$(PKG_VERSION)
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define KernelPackage/loop-aes
|
||||||
|
SUBMENU:=Cryptographic API modules
|
||||||
|
DEPENDS:=@LINUX_2_6
|
||||||
|
TITLE:=loopback module with built-in AES
|
||||||
|
FILES:=$(PKG_BUILD_DIR)/loop.$(LINUX_KMOD_SUFFIX)
|
||||||
|
AUTOLOAD:=$(call AutoLoad,80,loop)
|
||||||
|
URL:=http://loop-aes.sourceforge.net
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/loop-aes/description
|
||||||
|
This package provides loadable Linux kernel module (loop.o or loop.ko on 2.6
|
||||||
|
kernels) that has AES cipher built-in. The AES cipher can be used to encrypt
|
||||||
|
local file systems and disk partitions.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
|
CC="$(TARGET_CC)" \
|
||||||
|
CPP="$(TARGET_CC)" \
|
||||||
|
LD="$(TARGET_CROSS)ld" \
|
||||||
|
LINUX_SOURCE="$(LINUX_DIR)" \
|
||||||
|
KR="$(LINUX_DIR)" \
|
||||||
|
MODINST="n" \
|
||||||
|
all
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,loop-aes))
|
Loading…
x
Reference in New Issue
Block a user