| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 TESTFLAGS += --no-presubmit | 92 TESTFLAGS += --no-presubmit |
| 93 endif | 93 endif |
| 94 # strictaliasing=off (workaround for GCC-4.5) | 94 # strictaliasing=off (workaround for GCC-4.5) |
| 95 ifeq ($(strictaliasing), off) | 95 ifeq ($(strictaliasing), off) |
| 96 GYPFLAGS += -Dv8_no_strict_aliasing=1 | 96 GYPFLAGS += -Dv8_no_strict_aliasing=1 |
| 97 endif | 97 endif |
| 98 # regexp=interpreted | 98 # regexp=interpreted |
| 99 ifeq ($(regexp), interpreted) | 99 ifeq ($(regexp), interpreted) |
| 100 GYPFLAGS += -Dv8_interpreted_regexp=1 | 100 GYPFLAGS += -Dv8_interpreted_regexp=1 |
| 101 endif | 101 endif |
| 102 # hardfp=on |
| 103 ifeq ($(hardfp), on) |
| 104 GYPFLAGS += -Dv8_use_arm_eabi_hardfloat=true |
| 105 endif |
| 102 | 106 |
| 103 # ----------------- available targets: -------------------- | 107 # ----------------- available targets: -------------------- |
| 104 # - "dependencies": pulls in external dependencies (currently: GYP) | 108 # - "dependencies": pulls in external dependencies (currently: GYP) |
| 105 # - any arch listed in ARCHES (see below) | 109 # - any arch listed in ARCHES (see below) |
| 106 # - any mode listed in MODES | 110 # - any mode listed in MODES |
| 107 # - every combination <arch>.<mode>, e.g. "ia32.release" | 111 # - every combination <arch>.<mode>, e.g. "ia32.release" |
| 108 # - "native": current host's architecture, release mode | 112 # - "native": current host's architecture, release mode |
| 109 # - any of the above with .check appended, e.g. "ia32.release.check" | 113 # - any of the above with .check appended, e.g. "ia32.release.check" |
| 110 # - "android": cross-compile for Android/ARM | 114 # - "android": cross-compile for Android/ARM |
| 111 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 115 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 266 |
| 263 # Stores current GYPFLAGS in a file. | 267 # Stores current GYPFLAGS in a file. |
| 264 $(ENVFILE).new: | 268 $(ENVFILE).new: |
| 265 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 269 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
| 266 echo "CXX=$(CXX)" >> $(ENVFILE).new | 270 echo "CXX=$(CXX)" >> $(ENVFILE).new |
| 267 | 271 |
| 268 # Dependencies. | 272 # Dependencies. |
| 269 dependencies: | 273 dependencies: |
| 270 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 274 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 271 --revision 1282 | 275 --revision 1282 |
| OLD | NEW |