build_image 중에 발생하는 에러를 우회하는 패치.
From aed4edf199d8b97b44f66908871f41fd9cfad538 Mon Sep 17 00:00:00 2001
From: JinGyeong Jeong <jjgjoojis@gmail.com>
Date: Sun, 17 May 2015 18:34:44 +0900
Subject: [PATCH] Fix build for raspberrypi.
Change-Id: I35dcb41e4bfad33d4dfb637a905d7251ea1d6c3e
---
build_library/dev_image_util.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build_library/dev_image_util.sh b/build_library/dev_image_util.sh
index ebf146f..cc723e9 100755
--- a/build_library/dev_image_util.sh
+++ b/build_library/dev_image_util.sh
@@ -39,7 +39,7 @@ install_dev_packages() {
sudo mkdir -p "${root_fs_dir}/usr/local/usr/lib/debug"
pbzip2 -dc --ignore-trailing-garbage=1 "${LIBC_PATH}" | \
sudo tar xpf - -C "${root_fs_dir}/usr/local/usr/lib/debug" \
- ./usr/lib/debug/usr/${CHOST} --strip-components=6
+ ./usr/${CHOST} --strip-components=6
# Since gdb only looks in /usr/lib/debug, symlink the /usr/local
# path so that it is found automatically.
sudo ln -s /usr/local/usr/lib/debug "${root_fs_dir}/usr/lib/debug"
--
2.1.2