summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2022-06-23 14:50:18 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2022-06-23 07:43:37 +0000
commitc561682765319a4c5a0720919ef80e54d7199aac (patch)
tree2ccd70ba4266dd7e31030c72ef6f37feff4bec38
parent1f54fc5fb6158f9c60a3982e5da6ef09e94a9f30 (diff)
downloademulator-kernel-c561682765319a4c5a0720919ef80e54d7199aac.tar.gz
emulator-kernel-c561682765319a4c5a0720919ef80e54d7199aac.tar.bz2
emulator-kernel-c561682765319a4c5a0720919ef80e54d7199aac.zip
build: Set x86_64 kernel version with x86_64 instead of i386
From package/build.linux, it builds with build-x86.sh and then with build-x86_64.sh. The build-x86.sh changes extraversion as "-i386" from Makefile, so build-x86_64.sh also has same version. Set extraversion to "-x86_64" from build-x86_64.sh. Change-Id: I3b53a7be2ed5be1173e50ce56c43398031a9f195 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rwxr-xr-xbuild-x86_64.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-x86_64.sh b/build-x86_64.sh
index 39731f481202..f30a919015de 100755
--- a/build-x86_64.sh
+++ b/build-x86_64.sh
@@ -2,5 +2,6 @@
# Build x86 emulator kernel image
ARCH=x86_64 make tizen_emul_defconfig
+sed -i "s/^EXTRAVERSION.*/EXTRAVERSION = -x86_64/" Makefile
./scripts/config --set-str CONFIG_INITRAMFS_SOURCE ramfs/initramfs.x86_64 -e CONFIG_CRYPTO_AES_X86_64
ARCH=x86_64 CROSS_COMPILE='' make -j8