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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 ifeq ($(regexp), interpreted) | 115 ifeq ($(regexp), interpreted) |
116 GYPFLAGS += -Dv8_interpreted_regexp=1 | 116 GYPFLAGS += -Dv8_interpreted_regexp=1 |
117 endif | 117 endif |
118 # arm specific flags. | 118 # arm specific flags. |
119 # armv7=false/true | 119 # armv7=false/true |
120 ifeq ($(armv7), false) | 120 ifeq ($(armv7), false) |
121 GYPFLAGS += -Darmv7=0 | 121 GYPFLAGS += -Darmv7=0 |
122 else | 122 else |
123 ifeq ($(armv7), true) | 123 ifeq ($(armv7), true) |
124 GYPFLAGS += -Darmv7=1 | 124 GYPFLAGS += -Darmv7=1 |
125 else | |
126 GYPFLAGS += -Darmv7=default | |
127 endif | 125 endif |
128 endif | 126 endif |
129 # vfp2=off. Deprecated, use armfpu= | 127 # vfp2=off. Deprecated, use armfpu= |
130 # vfp3=off. Deprecated, use armfpu= | 128 # vfp3=off. Deprecated, use armfpu= |
131 ifeq ($(vfp3), off) | 129 ifeq ($(vfp3), off) |
132 GYPFLAGS += -Darm_fpu=vfp | 130 GYPFLAGS += -Darm_fpu=vfp |
133 endif | 131 endif |
134 # hardfp=on/off. Deprecated, use armfloatabi | 132 # hardfp=on/off. Deprecated, use armfloatabi |
135 ifeq ($(hardfp),on) | 133 ifeq ($(hardfp),on) |
136 GYPFLAGS += -Darm_float_abi=hard | 134 GYPFLAGS += -Darm_float_abi=hard |
(...skipping 22 matching lines...) Expand all Loading... |
159 endif | 157 endif |
160 else | 158 else |
161 GYPFLAGS += -Darm_float_abi=$(armfloatabi) | 159 GYPFLAGS += -Darm_float_abi=$(armfloatabi) |
162 endif | 160 endif |
163 # armthumb=on/off | 161 # armthumb=on/off |
164 ifeq ($(armthumb), off) | 162 ifeq ($(armthumb), off) |
165 GYPFLAGS += -Darm_thumb=0 | 163 GYPFLAGS += -Darm_thumb=0 |
166 else | 164 else |
167 ifeq ($(armthumb), on) | 165 ifeq ($(armthumb), on) |
168 GYPFLAGS += -Darm_thumb=1 | 166 GYPFLAGS += -Darm_thumb=1 |
169 else | |
170 GYPFLAGS += -Darm_thumb=default | |
171 endif | 167 endif |
172 endif | 168 endif |
173 # armtest=on | 169 # armtest=on |
174 # With this flag set, by default v8 will only use features implied | 170 # With this flag set, by default v8 will only use features implied |
175 # by the compiler (no probe). This is done by modifying the default | 171 # by the compiler (no probe). This is done by modifying the default |
176 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. | 172 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. |
177 # Modifying these flags when launching v8 will enable the probing for | 173 # Modifying these flags when launching v8 will enable the probing for |
178 # the specified values. | 174 # the specified values. |
179 # When using the simulator, this flag is implied. | 175 # When using the simulator, this flag is implied. |
180 ifeq ($(armtest), on) | 176 ifeq ($(armtest), on) |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 # Stores current GYPFLAGS in a file. | 346 # Stores current GYPFLAGS in a file. |
351 $(ENVFILE).new: | 347 $(ENVFILE).new: |
352 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 348 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
353 echo "CXX=$(CXX)" >> $(ENVFILE).new | 349 echo "CXX=$(CXX)" >> $(ENVFILE).new |
354 | 350 |
355 # Dependencies. | 351 # Dependencies. |
356 # Remember to keep these in sync with the DEPS file. | 352 # Remember to keep these in sync with the DEPS file. |
357 dependencies: | 353 dependencies: |
358 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 354 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
359 --revision 1501 | 355 --revision 1501 |
OLD | NEW |