OLD | NEW |
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # NOTE: This build doesn't work in parallel. | 5 # NOTE: This build doesn't work in parallel. |
6 OS_JOBS=1 | 6 OS_JOBS=1 |
7 | 7 |
8 # This build relies on certain host binaries. | 8 # This build relies on certain host binaries. |
9 HOST_BUILD_DIR=${WORK_DIR}/build-nacl-host | 9 HOST_BUILD_DIR=${WORK_DIR}/build_host |
10 HOST_INSTALL_DIR=${WORK_DIR}/install-nacl-host | 10 HOST_INSTALL_DIR=${WORK_DIR}/install_host |
11 | 11 |
12 EXECUTABLES="gforth-ditc${NACL_EXEEXT}" | 12 EXECUTABLES="gforth-ditc${NACL_EXEEXT}" |
13 MAKE_TARGETS="${EXECUTABLES}" | 13 MAKE_TARGETS="${EXECUTABLES}" |
14 | 14 |
15 BuildHostGforth() { | 15 BuildHostGforth() { |
16 MakeDir ${HOST_BUILD_DIR} | 16 MakeDir ${HOST_BUILD_DIR} |
17 ChangeDir ${HOST_BUILD_DIR} | 17 ChangeDir ${HOST_BUILD_DIR} |
18 CC="gcc -m32" \ | 18 CC="gcc -m32" \ |
19 LogExecute ${SRC_DIR}/configure --prefix=${HOST_INSTALL_DIR} | 19 LogExecute ${SRC_DIR}/configure --prefix=${HOST_INSTALL_DIR} |
20 LogExecute make -j${OS_JOBS} | 20 LogExecute make -j${OS_JOBS} |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 LogExecute python ${TOOLS_DIR}/create_term.py gforth.nmf | 72 LogExecute python ${TOOLS_DIR}/create_term.py gforth.nmf |
73 | 73 |
74 InstallNaClTerm ${PUBLISH_DIR} | 74 InstallNaClTerm ${PUBLISH_DIR} |
75 | 75 |
76 cp ${START_DIR}/gforth.js ${PUBLISH_DIR}/ | 76 cp ${START_DIR}/gforth.js ${PUBLISH_DIR}/ |
77 | 77 |
78 ChangeDir ${PUBLISH_DIR} | 78 ChangeDir ${PUBLISH_DIR} |
79 Remove gforth.zip | 79 Remove gforth.zip |
80 LogExecute zip -r gforth.zip . | 80 LogExecute zip -r gforth.zip . |
81 } | 81 } |
OLD | NEW |