| OLD | NEW |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 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 ############################################################################## | 5 ############################################################################## |
| 6 # Helper script for NaCl toolchain development workflow. | 6 # Helper script for NaCl toolchain development workflow. |
| 7 # | 7 # |
| 8 # Buildbots: | 8 # Buildbots: |
| 9 # - Sync needed sources at pinned revision and build newlib-based toolchain: | 9 # - Sync needed sources at pinned revision and build newlib-based toolchain: |
| 10 # make buildbot-build-with-newlib TOOLCHAINLOC=<where-to-install-the-toolcha
in> | 10 # make buildbot-build-with-newlib TOOLCHAINLOC=<where-to-install-the-toolcha
in> |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 NEWLIB_CFLAGS = -O2 -D_I386MACH_ALLOW_HW_INTERRUPTS -mtls-use-call | 560 NEWLIB_CFLAGS = -O2 -D_I386MACH_ALLOW_HW_INTERRUPTS -mtls-use-call |
| 561 | 561 |
| 562 BUILD/stamp-$(CROSSARCH)-newlib: | SRC/newlib BUILD newlib-libc-script | 562 BUILD/stamp-$(CROSSARCH)-newlib: | SRC/newlib BUILD newlib-libc-script |
| 563 rm -rf BUILD/build-newlib-$(CROSSARCH) | 563 rm -rf BUILD/build-newlib-$(CROSSARCH) |
| 564 mkdir BUILD/build-newlib-$(CROSSARCH) | 564 mkdir BUILD/build-newlib-$(CROSSARCH) |
| 565 PATH=$(BUILDPATH) && export PATH && \ | 565 PATH=$(BUILDPATH) && export PATH && \ |
| 566 cd BUILD/build-newlib-$(CROSSARCH) && \ | 566 cd BUILD/build-newlib-$(CROSSARCH) && \ |
| 567 ../../SRC/newlib/configure \ | 567 ../../SRC/newlib/configure \ |
| 568 --disable-libgloss \ | 568 --disable-libgloss \ |
| 569 --enable-newlib-iconv \ | 569 --enable-newlib-iconv \ |
| 570 » » --enable-newlib-iconv-from-encodings=UTF-8,UTF-16,UCS-4 \ | 570 » » --enable-newlib-iconv-from-encodings=UTF-8,UTF-16LE,UCS-4L
E,UTF-16,UCS-4 \ |
| 571 » » --enable-newlib-iconv-to-encodings=UTF-8,UTF-16,UCS-4 \ | 571 » » --enable-newlib-iconv-to-encodings=UTF-8,UTF-16LE,UCS-4LE,
UTF-16,UCS-4 \ |
| 572 --enable-newlib-io-long-long \ | 572 --enable-newlib-io-long-long \ |
| 573 --enable-newlib-io-long-double \ | 573 --enable-newlib-io-long-double \ |
| 574 --enable-newlib-io-c99-formats \ | 574 --enable-newlib-io-c99-formats \ |
| 575 --enable-newlib-mb \ | 575 --enable-newlib-mb \ |
| 576 --prefix=$(PREFIX) \ | 576 --prefix=$(PREFIX) \ |
| 577 CFLAGS="$(USER_CFLAGS)" \ | 577 CFLAGS="$(USER_CFLAGS)" \ |
| 578 CFLAGS_FOR_TARGET='$(NEWLIB_CFLAGS)' \ | 578 CFLAGS_FOR_TARGET='$(NEWLIB_CFLAGS)' \ |
| 579 CXXFLAGS_FOR_TARGET='$(NEWLIB_CFLAGS)' \ | 579 CXXFLAGS_FOR_TARGET='$(NEWLIB_CFLAGS)' \ |
| 580 --target=$(CROSSARCH) && \ | 580 --target=$(CROSSARCH) && \ |
| 581 $(MAKE) && \ | 581 $(MAKE) && \ |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 | 1113 |
| 1114 | 1114 |
| 1115 ################################################################## | 1115 ################################################################## |
| 1116 # Remove the BUILD directory. | 1116 # Remove the BUILD directory. |
| 1117 # Library builds are maintained by scons. | 1117 # Library builds are maintained by scons. |
| 1118 ################################################################## | 1118 ################################################################## |
| 1119 | 1119 |
| 1120 .PHONY: clean | 1120 .PHONY: clean |
| 1121 clean: | 1121 clean: |
| 1122 rm -rf BUILD/* | 1122 rm -rf BUILD/* |
| OLD | NEW |