summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooyoung Ha <yoosah.ha@samsung.com>2016-07-14 16:58:20 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2016-07-19 14:15:30 +0900
commit5675dcd2fe4a233faaf46cc93a449c2153895cff (patch)
treef94dd8da620fc5b6985360f235b3cbfa07b97711
parent0a41c053707d649fb559e856a783ba9067698343 (diff)
downloademulator-kernel-5675dcd2fe4a233faaf46cc93a449c2153895cff.tar.gz
emulator-kernel-5675dcd2fe4a233faaf46cc93a449c2153895cff.tar.bz2
emulator-kernel-5675dcd2fe4a233faaf46cc93a449c2153895cff.zip
config: enable dm-crypt
Change-Id: Ib231b34fb20ff407e80cbe7ffd82e9850e9113e2 Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
-rw-r--r--arch/x86/configs/tizen_emul_defconfig25
-rwxr-xr-xbuild-i386.sh2
-rwxr-xr-xbuild-x86_64.sh2
3 files changed, 25 insertions, 4 deletions
diff --git a/arch/x86/configs/tizen_emul_defconfig b/arch/x86/configs/tizen_emul_defconfig
index 1cfe3372db47..2644db982cbb 100644
--- a/arch/x86/configs/tizen_emul_defconfig
+++ b/arch/x86/configs/tizen_emul_defconfig
@@ -1457,7 +1457,28 @@ CONFIG_PATA_MPIIX=y
# CONFIG_PATA_ACPI is not set
CONFIG_ATA_GENERIC=y
# CONFIG_PATA_LEGACY is not set
-# CONFIG_MD is not set
+CONFIG_MD=y
+# CONFIG_BLK_DEV_MD is not set
+# CONFIG_BCACHE is not set
+CONFIG_BLK_DEV_DM_BUILTIN=y
+CONFIG_BLK_DEV_DM=y
+# CONFIG_DM_MQ_DEFAULT is not set
+# CONFIG_DM_DEBUG is not set
+CONFIG_DM_CRYPT=y
+# CONFIG_DM_SNAPSHOT is not set
+# CONFIG_DM_THIN_PROVISIONING is not set
+# CONFIG_DM_CACHE is not set
+# CONFIG_DM_ERA is not set
+# CONFIG_DM_MIRROR is not set
+# CONFIG_DM_RAID is not set
+# CONFIG_DM_ZERO is not set
+# CONFIG_DM_MULTIPATH is not set
+# CONFIG_DM_DELAY is not set
+# CONFIG_DM_UEVENT is not set
+# CONFIG_DM_FLAKEY is not set
+# CONFIG_DM_VERITY is not set
+# CONFIG_DM_SWITCH is not set
+# CONFIG_DM_LOG_WRITES is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set
@@ -4148,7 +4169,7 @@ CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
-# CONFIG_CRYPTO_XTS is not set
+CONFIG_CRYPTO_XTS=y
# CONFIG_CRYPTO_KEYWRAP is not set
#
diff --git a/build-i386.sh b/build-i386.sh
index 6d2b4996e659..0224ce786a47 100755
--- a/build-i386.sh
+++ b/build-i386.sh
@@ -2,5 +2,5 @@
# Build x86 emulator kernel image
ARCH=i386 make tizen_emul_defconfig
-./scripts/config --set-str CONFIG_INITRAMFS_SOURCE ramfs/initramfs.i386
+./scripts/config --set-str CONFIG_INITRAMFS_SOURCE ramfs/initramfs.i386 -e CONFIG_CRYPTO_AES_586
ARCH=i386 CROSS_COMPILE='' make -j8
diff --git a/build-x86_64.sh b/build-x86_64.sh
index d1fe896b29fd..39731f481202 100755
--- a/build-x86_64.sh
+++ b/build-x86_64.sh
@@ -2,5 +2,5 @@
# Build x86 emulator kernel image
ARCH=x86_64 make tizen_emul_defconfig
-./scripts/config --set-str CONFIG_INITRAMFS_SOURCE ramfs/initramfs.x86_64
+./scripts/config --set-str CONFIG_INITRAMFS_SOURCE ramfs/initramfs.x86_64 -e CONFIG_CRYPTO_AES_X86_64
ARCH=x86_64 CROSS_COMPILE='' make -j8