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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 GYPFLAGS += -Dv8_enable_gdbjit=1 | 84 GYPFLAGS += -Dv8_enable_gdbjit=1 |
85 endif | 85 endif |
86 # liveobjectlist=on | 86 # liveobjectlist=on |
87 ifeq ($(liveobjectlist), on) | 87 ifeq ($(liveobjectlist), on) |
88 GYPFLAGS += -Dv8_use_liveobjectlist=true | 88 GYPFLAGS += -Dv8_use_liveobjectlist=true |
89 endif | 89 endif |
90 # vfp2=off | 90 # vfp2=off |
91 ifeq ($(vfp2), off) | 91 ifeq ($(vfp2), off) |
92 GYPFLAGS += -Dv8_can_use_vfp2_instructions=false | 92 GYPFLAGS += -Dv8_can_use_vfp2_instructions=false |
93 else | 93 else |
94 GYPFLAGS += -Dv8_can_use_vfp2_instructions=true | 94 GYPFLAGS += -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 |
95 endif | 95 endif |
96 # vfp3=off | 96 # vfp3=off |
97 ifeq ($(vfp3), off) | 97 ifeq ($(vfp3), off) |
98 GYPFLAGS += -Dv8_can_use_vfp3_instructions=false | 98 GYPFLAGS += -Dv8_can_use_vfp3_instructions=false |
99 else | 99 else |
100 GYPFLAGS += -Dv8_can_use_vfp3_instructions=true | 100 GYPFLAGS += -Dv8_can_use_vfp3_instructions=true -Darm_fpu=vfpv3 |
101 endif | 101 endif |
102 # debuggersupport=off | 102 # debuggersupport=off |
103 ifeq ($(debuggersupport), off) | 103 ifeq ($(debuggersupport), off) |
104 GYPFLAGS += -Dv8_enable_debugger_support=0 | 104 GYPFLAGS += -Dv8_enable_debugger_support=0 |
105 endif | 105 endif |
106 # soname_version=1.2.3 | 106 # soname_version=1.2.3 |
107 ifdef soname_version | 107 ifdef soname_version |
108 GYPFLAGS += -Dsoname_version=$(soname_version) | 108 GYPFLAGS += -Dsoname_version=$(soname_version) |
109 endif | 109 endif |
110 # werror=no | 110 # werror=no |
111 ifeq ($(werror), no) | 111 ifeq ($(werror), no) |
112 GYPFLAGS += -Dwerror='' | 112 GYPFLAGS += -Dwerror='' |
113 endif | 113 endif |
114 # presubmit=no | 114 # presubmit=no |
115 ifeq ($(presubmit), no) | 115 ifeq ($(presubmit), no) |
116 TESTFLAGS += --no-presubmit | 116 TESTFLAGS += --no-presubmit |
117 endif | 117 endif |
118 # strictaliasing=off (workaround for GCC-4.5) | 118 # strictaliasing=off (workaround for GCC-4.5) |
119 ifeq ($(strictaliasing), off) | 119 ifeq ($(strictaliasing), off) |
120 GYPFLAGS += -Dv8_no_strict_aliasing=1 | 120 GYPFLAGS += -Dv8_no_strict_aliasing=1 |
121 endif | 121 endif |
122 # regexp=interpreted | 122 # regexp=interpreted |
123 ifeq ($(regexp), interpreted) | 123 ifeq ($(regexp), interpreted) |
124 GYPFLAGS += -Dv8_interpreted_regexp=1 | 124 GYPFLAGS += -Dv8_interpreted_regexp=1 |
125 endif | 125 endif |
126 # hardfp=on | 126 # hardfp=on |
127 ifeq ($(hardfp), on) | 127 ifeq ($(hardfp), on) |
128 GYPFLAGS += -Dv8_use_arm_eabi_hardfloat=true | 128 GYPFLAGS += -Dv8_use_arm_eabi_hardfloat=true |
129 endif | 129 endif |
| 130 # armv7=false |
| 131 ifeq ($(armv7), false) |
| 132 GYPFLAGS += -Darmv7=0 |
| 133 endif |
130 | 134 |
131 # ----------------- available targets: -------------------- | 135 # ----------------- available targets: -------------------- |
132 # - "dependencies": pulls in external dependencies (currently: GYP) | 136 # - "dependencies": pulls in external dependencies (currently: GYP) |
133 # - any arch listed in ARCHES (see below) | 137 # - any arch listed in ARCHES (see below) |
134 # - any mode listed in MODES | 138 # - any mode listed in MODES |
135 # - every combination <arch>.<mode>, e.g. "ia32.release" | 139 # - every combination <arch>.<mode>, e.g. "ia32.release" |
136 # - "native": current host's architecture, release mode | 140 # - "native": current host's architecture, release mode |
137 # - any of the above with .check appended, e.g. "ia32.release.check" | 141 # - any of the above with .check appended, e.g. "ia32.release.check" |
138 # - "android": cross-compile for Android/ARM | 142 # - "android": cross-compile for Android/ARM |
139 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 143 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 # Stores current GYPFLAGS in a file. | 297 # Stores current GYPFLAGS in a file. |
294 $(ENVFILE).new: | 298 $(ENVFILE).new: |
295 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 299 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
296 echo "CXX=$(CXX)" >> $(ENVFILE).new | 300 echo "CXX=$(CXX)" >> $(ENVFILE).new |
297 | 301 |
298 # Dependencies. | 302 # Dependencies. |
299 # Remember to keep these in sync with the DEPS file. | 303 # Remember to keep these in sync with the DEPS file. |
300 dependencies: | 304 dependencies: |
301 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 305 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
302 --revision 1501 | 306 --revision 1501 |
OLD | NEW |