Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: examples/systems/bochs/nacl-bochs.sh

Issue 14172016: Enable glibc shared library support for zlib. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « examples/graphics/xaos/nacl-xaos.sh ('k') | examples/systems/dosbox/nacl-dosbox.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/systems/bochs/nacl-bochs.sh
diff --git a/examples/systems/bochs/nacl-bochs.sh b/examples/systems/bochs/nacl-bochs.sh
index ada8dca5affe5e9beaa3bfc8c0d8e5ffa309ff27..9b6cb18bb48051d06b1824620a7bfd04f3bb0244 100755
--- a/examples/systems/bochs/nacl-bochs.sh
+++ b/examples/systems/bochs/nacl-bochs.sh
@@ -2,23 +2,16 @@
# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-#
-# nacl-bochs.sh
-#
-# usage: nacl-bochs.sh
-#
-# this script downloads, patches, and builds bochs for Native Client.
-#
+source pkg_info
+source ../../../build_tools/common.sh
# Linux disk image
readonly LINUX_IMG_URL=http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/bochs-linux-img.tar.gz
readonly LINUX_IMG_NAME=linux-img
-source pkg_info
-source ../../../build_tools/common.sh
-
BOCHS_EXAMPLE_DIR=${NACL_SRC}/examples/systems/bochs
+EXECUTABLES=bochs
CustomConfigureStep() {
Banner "Configuring ${PACKAGE_NAME}"
@@ -75,9 +68,9 @@ CustomConfigureStep() {
export LIBS="$LIBS -Wl,--end-group"
ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
- Remove ${PACKAGE_NAME}-build
- MakeDir ${PACKAGE_NAME}-build
- cd ${PACKAGE_NAME}-build
+ Remove build-nacl
+ MakeDir build-nacl
+ cd build-nacl
../configure \
--host=nacl \
--disable-shared \
@@ -104,7 +97,7 @@ CustomExtractStep(){
CustomInstallStep(){
BOCHS_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
- BOCHS_BUILD=${BOCHS_DIR}/${PACKAGE_NAME}-build
+ BOCHS_BUILD=${BOCHS_DIR}/build-nacl
ChangeDir ${BOCHS_DIR}
mkdir -p img/usr/local/share/bochs/
@@ -205,9 +198,8 @@ CustomPackageInstall() {
CustomPatchStep
CustomConfigureStep
DefaultBuildStep
- if [ ${NACL_ARCH} = "pnacl" ] ; then
- DefaultTranslateStep ${PACKAGE_NAME} ${PACKAGE_NAME}-build/bochs
- fi
+ DefaultTranslateStep
+ DefaultValidateStep
CustomInstallStep
DefaultCleanUpStep
}
« no previous file with comments | « examples/graphics/xaos/nacl-xaos.sh ('k') | examples/systems/dosbox/nacl-dosbox.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698