diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-01 13:26:42 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-01 13:26:42 +0200 |
commit | 32d4f19aa5f05255c3d609048e1bf6ac4ffbfef4 (patch) | |
tree | a92c3310cd85ac00ed20e1ecac5dc4fdc5243fda /package/cryptinit/Makefile | |
parent | 38e356a749191c1832c9726b0b6cb913737af700 (diff) | |
parent | a3e0d02b1c8b618fdfc0454560f75e678e0d68c0 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/cryptinit/Makefile')
-rw-r--r-- | package/cryptinit/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/package/cryptinit/Makefile b/package/cryptinit/Makefile index bc9d4f122..6ee1ff5bb 100644 --- a/package/cryptinit/Makefile +++ b/package/cryptinit/Makefile @@ -8,13 +8,16 @@ PKG_VERSION:= 2.0 PKG_RELEASE:= 1 PKG_DESCR:= init for encrypted rootfilesystem PKG_SECTION:= base -PKG_DEPENDS:= cryptsetup opensc pcsc-lite +PKG_DEPENDS:= cryptsetup PKG_CFLINE_CRYPTINIT:= select BUSYBOX_STTY@ PKG_CFLINE_CRYPTINIT+= select BUSYBOX_SWITCH_ROOT@ -PKG_FLAVOURS_CRYPTINIT:=NO_GRUB +PKG_FLAVOURS_CRYPTINIT:=SC NO_GRUB PKGFD_NO_GRUB:= predefine root/swap partition (without grub) +PKGFD_SC:= with smartcard support +PKGFS_SC:= ccid openct opensc pcsc-lite +PKGFB_SC:= ccid openct opensc pcsc-lite PKG_FLAVOURS_STRING_CRYPTINIT:= ROOT SWAP PKGFD_ROOT:= root partition @@ -39,6 +42,10 @@ do-install: $(INSTALL_DIR) $(IDIR_CRYPTINIT)/sbin $(TARGET_CC) $(TARGET_CFLAGS) -Wall -o $(IDIR_CRYPTINIT)/sbin/p \ ./src/p.c +ifeq ($(ADK_PACKAGE_CRYPTINIT_SC),y) + $(INSTALL_BIN) ./src/cryptinitsc $(IDIR_CRYPTINIT)/cryptinit +else $(INSTALL_BIN) ./src/cryptinit $(IDIR_CRYPTINIT)/ +endif include ${TOPDIR}/mk/pkg-bottom.mk |