2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
15 PKG_SOURCE
:=loop-AES-v
$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
17 PKG_MD5SUM
:=bfc75a2bec78dbd5c8b5096bf06716d5
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/loop-AES-v
$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
23 define KernelPackage
/loop-aes
24 SUBMENU
:=Cryptographic API modules
25 DEPENDS
:=@
!PACKAGE_kmod-loop @
!LINUX_2_6_30
26 TITLE
:=loopback module with built-in AES
27 FILES
:=$(PKG_BUILD_DIR
)/loop.
$(LINUX_KMOD_SUFFIX
)
28 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
29 URL
:=http
://loop-aes.sourceforge.net
32 define KernelPackage
/loop-aes
/description
33 This package provides loadable Linux kernel module
(loop.o or loop.ko on
2.6
34 kernels
) that has AES cipher built-in. The AES cipher can be used to encrypt
35 local file systems and disk partitions.
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 ARCH
="$(LINUX_KARCH)" \
41 CROSS_COMPILE
="$(TARGET_CROSS)" \
44 LD
="$(TARGET_CROSS)ld" \
45 LINUX_SOURCE
="$(LINUX_DIR)" \
51 $(eval
$(call KernelPackage
,loop-aes
))