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

Side by Side Diff: ports/gcc-avr/build.sh

Issue 1773403005: Fix binutils, gcc, gcc-avr in devenv (after roll). (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: fix Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « ports/binutils/build.sh ('k') | ports/gcc/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Native Client Authors. All rights reserved. 1 # Copyright 2015 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 HOST_BUILD_DIR=${WORK_DIR}/build_host 5 HOST_BUILD_DIR=${WORK_DIR}/build_host
6 HOST_BIN_INSTALL_DIR=${NACL_PACKAGES_BUILD}/binutils-2.25/install_host 6 HOST_BIN_INSTALL_DIR=${NACL_PACKAGES_BUILD}/binutils-2.25/install_host
7 7
8 AVR_LIBC_URL=http://storage.googleapis.com/webports/mirror/avr-libc-1.8.1.tar.bz 2 8 AVR_LIBC_URL=http://storage.googleapis.com/webports/mirror/avr-libc-1.8.1.tar.bz 2
9 AVR_LIBC_SHA=b56fe21b30341869aa768689b0f6a07d896b17fa 9 AVR_LIBC_SHA=b56fe21b30341869aa768689b0f6a07d896b17fa
10 AVR_LIBC_VERSION=avr-libc-1.8.1 10 AVR_LIBC_VERSION=avr-libc-1.8.1
11 11
12 EnableCliMain
12 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}" 13 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}"
13 export PATH="${PATH}:${NACL_PACKAGES_BUILD}/binutils-2.25/install_host/bin" 14 export PATH="${PATH}:${NACL_PACKAGES_BUILD}/binutils-2.25/install_host/bin"
14 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" 15 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe"
15 16
16 if [ "${NACL_LIBC}" = "newlib" ]; then 17 if [ "${NACL_LIBC}" = "newlib" ]; then
17 export EXTRA_INCLUDES=" -I${NACLPORTS_INCLUDE}/glibc-compat" 18 export EXTRA_INCLUDES=" -I${NACLPORTS_INCLUDE}/glibc-compat"
18 fi 19 fi
19 20
20 BuildHostGccAvr() { 21 BuildHostGccAvr() {
21 # Host avr-gcc already installed, skip install. 22 # Host avr-gcc already installed, skip install.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 92
92 # avr-libc needs to be in the same directory as the gcc-avr install 93 # avr-libc needs to be in the same directory as the gcc-avr install
93 cp -r ${WORK_DIR}/avr_libc_install/* ${INSTALL_DIR}/webports-dummydir 94 cp -r ${WORK_DIR}/avr_libc_install/* ${INSTALL_DIR}/webports-dummydir
94 } 95 }
95 96
96 InstallStep() { 97 InstallStep() {
97 DefaultInstallStep 98 DefaultInstallStep
98 AvrLibcDownload 99 AvrLibcDownload
99 AvrLibcExtractAndInstall 100 AvrLibcExtractAndInstall
100 } 101 }
OLDNEW
« no previous file with comments | « ports/binutils/build.sh ('k') | ports/gcc/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698