Print this page
1961 investigate stopping uniquifying CTF information
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/Makefile.targ
+++ new/usr/src/uts/Makefile.targ
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24 # This Makefiles contains the common targets and definitions for
25 25 # all kernels. It is to be included in the Makefiles for specific
26 26 # implementation architectures and processor architecture dependent
27 27 # modules: i.e.: all driving kernel Makefiles.
28 28 #
29 29
30 30 #
31 31 # Default rule for building the lint library directory:
32 32 #
33 33 $(LINT_LIB_DIR):
34 34 -@mkdir -p $@ 2> /dev/null
35 35
36 36 #
37 37 # All C objects depend on inline files. However, cc(1) doesn't generate
38 38 # the correct dependency info. Also, these Makefiles don't contain a
39 39 # separate list of C-derived object files (but it is light weight to
40 40 # let the assembler files think they depend upon this when they don't).
41 41 # Fortunately, the inline files won't change very often. So, for now,
42 42 # all objects depend on the inline files. Remove this when the inliner
43 43 # is fixed to drop correct dependency information.
44 44 #
↓ open down ↓ |
44 lines elided |
↑ open up ↑ |
45 45 $(OBJECTS): $(INLINES)
46 46
47 47 #
48 48 # Partially link .o files to generate the kmod. The fake dependency
49 49 # on modstubs simplifies things...
50 50 # ELFSIGN_MOD is defined in the individual KCF plug-in modules Makefiles,
51 51 # and will sign the ELF objects using elfsign(1).
52 52 #
53 53 $(BINARY): $(OBJECTS)
54 54 $(LD) -r $(LDFLAGS) -o $@ $(OBJECTS)
55 - $(CTFMERGE_UNIQUIFY_AGAINST_GENUNIX)
55 + $(CTFMERGE_MODULE)
56 56 $(POST_PROCESS)
57 57 $(ELFSIGN_MOD)
58 58
59 59 #
60 60 # This target checks each kmod for undefined entry points. It does not
61 61 # modify the kmod in any way.
62 62 #
63 63 $(MODULE).check: FRC
64 64 @BUILD_TYPE=DBG32 $(MAKE) $(MODULE).check.targ
65 65
66 66 $(MODULE).check.targ: $(BINARY) $(OBJECTS) $(EXTRA_CHECK_OBJS) $(UNIX_O) $(MODSTUBS_O) $(GENLIB)
67 67 $(LD) -o /dev/null $(OBJECTS) $(EXTRA_CHECK_OBJS) $(UNIX_O) $(MODSTUBS_O) $(GENLIB)
68 68
69 69 #
70 70 # Module lint library construction targets.
71 71 #
72 72 MOD_LINT_LIB = $(LINT_LIB_DIR)/llib-l$(LINT_MODULE).ln
73 73
74 74 $(MOD_LINT_LIB): $(LINT_LIB_DIR) $(LINTS)
75 75 @-$(ECHO) "\n$(OBJS_DIR)/$(MODULE): (library construction):"
76 76 @($(LINT) -o $(LINT_MODULE)-$(OBJS_DIR) \
77 77 $(LINTFLAGS) $(LINTS) $(LTAIL))
78 78 @$(MV) llib-l$(LINT_MODULE)-$(OBJS_DIR).ln $@
79 79
80 80 $(LINT_MODULE).lint: $(MOD_LINT_LIB) $(LINT_LIB) $(GEN_LINT_LIB)
81 81 @-$(ECHO) "\n$(OBJS_DIR)/$(LINT_MODULE): global crosschecks:"
82 82 @($(LINT) $(LINTFLAGS) $(MOD_LINT_LIB) \
83 83 $(LINT_LIB) $(GEN_LINT_LIB) $(LTAIL))
84 84
85 85 #
86 86 # Since assym.h is a derived file, the dependency must be explicit for
87 87 # all files including this file. (This is only actually required in the
88 88 # instance when the .nse_depinfo file does not exist.) It may seem that
89 89 # the lint targets should also have a similar dependency, but they don't
90 90 # since only C headers are included when #defined(lint) is true. The
91 91 # actual lists are defined in */Makefile.files.
92 92 #
93 93 $(ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/assym.h
94 94
95 95 #
96 96 # Everybody need to know how to create a modstubs.o built with the
97 97 # appropriate flags and located in the appropriate location.
98 98 #
99 99 $(MODSTUBS_O): $(MODSTUBS)
100 100 $(COMPILE.s) -o $@ $(MODSTUBS)
101 101
102 102 $(LINTS_DIR)/modstubs.ln: $(MODSTUBS)
103 103 @($(LHEAD) $(LINT.s) $(MODSTUBS) $(LTAIL))
104 104
105 105 #
106 106 # Build the source file which contains the kernel's utsname,
107 107 # with release, version and machine set as follows:
108 108 #
109 109 # release: contents of $(RELEASE) (Spaces replaced by '_')
110 110 # version: contents of $(PATCHID) (Spaces replaced by '_')
111 111 # machine: contents of $(UNAME_M)
112 112 #
113 113 # Build environment information is only contained in the comment section.
114 114 #
115 115
116 116 $(OBJS_DIR)/vers.o: $(OBJECTS)
117 117 $(COMPILE.c) -DUTS_RELEASE=\"`$(ECHO) $(RELEASE) | sed -e 's/ /_/g'`\" \
118 118 -DUTS_VERSION=\"`$(ECHO) $(PATCHID) | sed -e 's/ /_/g'`\" \
119 119 -DUTS_PLATFORM=\"$(UNAME_M)\" -o $@ $(SRC)/uts/common/os/vers.c
120 120 $(CTFCONVERT_O)
121 121 $(POST_PROCESS_O)
122 122
123 123 $(LINTS_DIR)/vers.ln: $(SRC)/uts/common/os/vers.c
124 124 @($(LHEAD) $(LINT.c) -DUTS_RELEASE=\"\" -DUTS_VERSION=\"\" \
125 125 -DUTS_PLATFORM=\"\" $(SRC)/uts/common/os/vers.c $(LTAIL))
126 126
127 127 #
128 128 # Installation targets and rules:
129 129 #
130 130 $(ROOT_MOD_DIR) $(USR_MOD_DIR):
131 131 -$(INS.dir)
132 132
133 133 $(ROOT_MOD_DIRS_32): $(ROOT_MOD_DIR)
134 134 -$(INS.dir)
135 135
136 136 $(USR_MOD_DIRS_32): $(USR_MOD_DIR)
137 137 -$(INS.dir)
138 138
139 139 $(ROOT_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) FRC
140 140 $(INS.file)
141 141
142 142 $(ROOT_CPU_DIR)/%: $(OBJS_DIR)/% $(ROOT_CPU_DIR) FRC
143 143 $(INS.file)
144 144
145 145 $(ROOT_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_DRV_DIR) FRC
146 146 $(INS.file)
147 147
148 148 $(ROOT_DTRACE_DIR)/%: $(OBJS_DIR)/% $(ROOT_DTRACE_DIR) FRC
149 149 $(INS.file)
150 150
151 151 $(ROOT_EXEC_DIR)/%: $(OBJS_DIR)/% $(ROOT_EXEC_DIR) FRC
152 152 $(INS.file)
153 153
154 154 $(ROOT_FS_DIR)/%: $(OBJS_DIR)/% $(ROOT_FS_DIR) FRC
155 155 $(INS.file)
156 156
157 157 $(ROOT_SCHED_DIR)/%: $(OBJS_DIR)/% $(ROOT_SCHED_DIR) FRC
158 158 $(INS.file)
159 159
160 160 $(ROOT_SOCK_DIR)/%: $(OBJS_DIR)/% $(ROOT_SOCK_DIR) FRC
161 161 $(INS.file)
162 162
163 163 $(ROOT_STRMOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_STRMOD_DIR) FRC
164 164 $(INS.file)
165 165
166 166 $(ROOT_IPP_DIR)/%: $(OBJS_DIR)/% $(ROOT_IPP_DIR) FRC
167 167 $(INS.file)
168 168
169 169 $(ROOT_SYS_DIR)/%: $(OBJS_DIR)/% $(ROOT_SYS_DIR) FRC
170 170 $(INS.file)
171 171
172 172 $(ROOT_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MISC_DIR) FRC
173 173 $(INS.file)
174 174
175 175 $(ROOT_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_DACF_DIR) FRC
176 176 $(INS.file)
177 177
178 178 $(ROOT_BRAND_DIR)/%: $(OBJS_DIR)/% $(ROOT_BRAND_DIR) FRC
179 179 $(INS.file)
180 180
181 181 $(ROOT_CRYPTO_DIR)/%: $(OBJS_DIR)/% $(ROOT_CRYPTO_DIR) FRC
182 182 $(INS.file)
183 183
184 184 $(ROOT_KGSS_DIR)/%: $(OBJS_DIR)/% $(ROOT_KGSS_DIR) FRC
185 185 $(INS.file)
186 186
187 187 $(ROOT_SCSI_VHCI_DIR)/%: $(OBJS_DIR)/% $(ROOT_SCSI_VHCI_DIR) FRC
188 188 $(INS.file)
189 189
190 190 $(ROOT_PMCS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_PMCS_FW_DIR) FRC
191 191 $(INS.file)
192 192
193 193 $(ROOT_QLC_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_QLC_FW_DIR) FRC
194 194 $(INS.file)
195 195
196 196 $(ROOT_EMLXS_FW_DIR)/%: $(OBJS_DIR)/% $(ROOT_EMLXS_FW_DIR) FRC
197 197 $(INS.file)
198 198
199 199 $(ROOT_MACH_DIR)/%: $(OBJS_DIR)/% $(ROOT_MACH_DIR) FRC
200 200 $(INS.file)
201 201
202 202 $(ROOT_FONT_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) $(ROOT_FONT_DIR) FRC
203 203 $(INS.file)
204 204
205 205 $(ROOT_MAC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MOD_DIR) $(ROOT_MAC_DIR) FRC
206 206 $(INS.file)
207 207
208 208 $(USR_DRV_DIR)/%: $(OBJS_DIR)/% $(USR_DRV_DIR) FRC
209 209 $(INS.file)
210 210
211 211 $(USR_EXEC_DIR)/%: $(OBJS_DIR)/% $(USR_EXEC_DIR) FRC
212 212 $(INS.file)
213 213
214 214 $(USR_FS_DIR)/%: $(OBJS_DIR)/% $(USR_FS_DIR) FRC
215 215 $(INS.file)
216 216
217 217 $(USR_SCHED_DIR)/%: $(OBJS_DIR)/% $(USR_SCHED_DIR) FRC
218 218 $(INS.file)
219 219
220 220 $(USR_SOCK_DIR)/%: $(OBJS_DIR)/% $(USR_SOCK_DIR) FRC
221 221 $(INS.file)
222 222
223 223 $(USR_STRMOD_DIR)/%: $(OBJS_DIR)/% $(USR_STRMOD_DIR) FRC
224 224 $(INS.file)
225 225
226 226 $(USR_SYS_DIR)/%: $(OBJS_DIR)/% $(USR_SYS_DIR) FRC
227 227 $(INS.file)
228 228
229 229 $(USR_MISC_DIR)/%: $(OBJS_DIR)/% $(USR_MISC_DIR) FRC
230 230 $(INS.file)
231 231
232 232 $(USR_DACF_DIR)/%: $(OBJS_DIR)/% $(USR_DACF_DIR) FRC
233 233 $(INS.file)
234 234
235 235 $(USR_PCBE_DIR)/%: $(OBJS_DIR)/% $(USR_PCBE_DIR) FRC
236 236 $(INS.file)
237 237
238 238 $(USR_DTRACE_DIR)/%: $(OBJS_DIR)/% $(USR_DTRACE_DIR) FRC
239 239 $(INS.file)
240 240
241 241 $(USR_BRAND_DIR)/%: $(OBJS_DIR)/% $(USR_BRAND_DIR) FRC
242 242 $(INS.file)
243 243
244 244 $(ROOT_KICONV_DIR)/%: $(OBJS_DIR)/% $(ROOT_KICONV_DIR) FRC
245 245 $(INS.file)
246 246
247 247 include $(SRC)/Makefile.psm.targ
248 248
249 249 #
250 250 # Target for 64b modules
251 251 #
252 252 $(ROOT_KERN_DIR_64):
253 253 -$(INS.dir)
254 254
255 255 $(ROOT_KERN_DIR_64)/%: $(OBJS_DIR)/% $(ROOT_KERN_DIR_64) FRC
256 256 $(INS.file)
257 257
258 258 %/$(SUBDIR64): %
259 259 -$(INS.dir)
260 260
261 261 #
262 262 # Targets for '.conf' file installation.
263 263 #
264 264 $(ROOT_CONFFILE): $(SRC_CONFFILE) $(ROOT_CONFFILE:%/$(CONFFILE)=%)
265 265 $(INS.conffile)
266 266
267 267 #
268 268 # Targets for creating links between common platforms. ROOT_PLAT_LINKS
269 269 # are are the /platform level while ROOT_PLAT_LINKS_2 are one level
270 270 # down (/platform/`uname -i`/{lib|sbin|kernel}.
271 271 #
272 272 $(ROOT_PLAT_LINKS):
273 273 $(INS.slink1)
274 274
275 275 $(ROOT_PLAT_LINKS_2):
276 276 $(INS.slink2)
277 277
278 278 $(USR_PLAT_LINKS):
279 279 $(INS.slink1)
280 280
281 281 $(USR_PLAT_LINKS_2):
282 282 $(INS.slink2)
283 283
284 284 #
285 285 # multiple builds support
286 286 #
287 287 def $(DEF_DEPS) := TARGET = def
288 288 all $(ALL_DEPS) := TARGET = all
289 289 clean $(CLEAN_DEPS) := TARGET = clean
290 290 clobber $(CLOBBER_DEPS) := TARGET = clobber
291 291 lint $(LINT_DEPS) := TARGET = lint
292 292 modlintlib $(MODLINTLIB_DEPS) := TARGET = modlintlib
293 293 modlist $(MODLIST_DEPS) := TARGET = modlist
294 294 modlist $(MODLIST_DEPS) := NO_STATE= -K $$MODSTATE$$$$
295 295 clean.lint $(CLEAN_LINT_DEPS) := TARGET = clean.lint
296 296 install $(INSTALL_DEPS) := TARGET = install
297 297 symcheck $(SYM_DEPS) := TARGET = symcheck
298 298
299 299 ALL_TARGS = def all clean clobber lint modlintlib \
300 300 clean.lint lintlib install symcheck
301 301
302 302 ALL_OBJ32 = $(ALL_TARGS:%=%.obj32)
303 303
304 304 $(ALL_OBJ32): FRC
305 305 @BUILD_TYPE=OBJ32 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ
306 306
307 307 ALL_DEBUG32 = $(ALL_TARGS:%=%.debug32)
308 308
309 309 $(ALL_DEBUG32): FRC
310 310 @BUILD_TYPE=DBG32 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ
311 311
312 312 ALL_OBJ64 = $(ALL_TARGS:%=%.obj64)
313 313
314 314 $(ALL_OBJ64): FRC
315 315 @BUILD_TYPE=OBJ64 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ
316 316
317 317 ALL_DEBUG64 = $(ALL_TARGS:%=%.debug64)
318 318
319 319 $(ALL_DEBUG64): FRC
320 320 @BUILD_TYPE=DBG64 VERSION='$(VERSION)' $(MAKE) $(NO_STATE) $(TARGET).targ
321 321
322 322 #
323 323 # Currently only the IP module needs symbol checking on obj64.
324 324 # Other modules have the same global-objs nm output for debug64 and obj64.
325 325 #
326 326 $(SISCHECK_DEPS): $(DEF_DEPS)
327 327 @TARG=`$(ECHO) $@ | $(CUT) -d'.' -f2`; \
328 328 MODSYMS=$(MODULE).symbols.$$TARG; \
329 329 if [ -f "$(MODULE).global-objs.$$TARG" ]; then \
330 330 $(GREP) -v '#' $(MODULE).global-objs.$$TARG |$(GREP) . | \
331 331 $(SORT) -u > $$MODSYMS.tmp; \
332 332 $(NM) $$TARG/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \
333 333 $(CUT) -d'|' -f8 |$(GREP) -v '^___const_' | \
334 334 $(GREP) -v '\.[0-9]*$$' |$(SORT) -u \
335 335 > $$MODSYMS.tmp.new; \
336 336 $(DIFF) $$MODSYMS.tmp $$MODSYMS.tmp.new > $$MODSYMS.diff || \
337 337 ($(ECHO) "warning: $(MODULE) symbol checking:" \
338 338 "global variable(s) introduced and/or removed."; \
339 339 $(CAT) $$MODSYMS.diff; exit 1) \
340 340 fi
341 341
342 342 $(SISCLEAN_DEPS):
343 343 -TARG=`$(ECHO) $@ | $(CUT) -d'.' -f2`; \
344 344 MODSYMS=$(MODULE).symbols.$$TARG; \
345 345 $(RM) $$MODSYMS.tmp $$MODSYMS.tmp.new $$MODSYMS.diff Nothing_to_remove
346 346
347 347
348 348 $(OBJS_DIR):
349 349 -@mkdir -p $@ 2> /dev/null
350 350
351 351 def.targ: $(OBJS_DIR) $(ALL_TARGET)
352 352
353 353 all.targ: $(OBJS_DIR) $(ALL_TARGET)
354 354
355 355 lint.targ: $(OBJS_DIR) $(LINT_TARGET)
356 356
357 357 modlintlib.targ: $(OBJS_DIR) $(MOD_LINT_LIB)
358 358
359 359 install.targ: $(OBJS_DIR) $(INSTALL_TARGET)
360 360
361 361 #
362 362 # Support for Install.sh.
363 363 #
364 364
365 365 modlist: $(MODLIST_DEPS)
366 366
367 367 # paths relative to $(ROOT).
368 368 RELMODULE = $(ROOTMODULE:$(ROOT)/%=%)
369 369 RELCONF = $(ROOT_CONFFILE:$(ROOT)/%=%)
370 370 RELLINK = $(ROOTLINK:$(ROOT)/%=%)
371 371 RELUNIX = $(UNIX32_LINK:$(ROOT)/%=%)
372 372 RELSOFTLINKS = $(ROOTSOFTLINKS:$(ROOT)/%=%)
373 373
374 374 MODSRC:sh= pwd
375 375
376 376 #
377 377 # Generate module information for Install.sh, i.e., specify what files
378 378 # Install.sh should include. Each line looks like
379 379 # <tag> <srcdir> <arg1> <arg2> ...
380 380 # where <tag> specifies the type of file, <srcdir> gives the source
381 381 # path (useful if there is an error), and <argN> is one or more
382 382 # additional bits of information that Install.sh needs (e.g., source
383 383 # directory, install directory, filtering tags). See Install.sh for
384 384 # details on the arguments for each tag type, especially the functions
385 385 # copymod, filtmod, and filtimpl.
386 386 #
387 387 # Changes to this target may require corresponding changes to
388 388 # Install.sh.
389 389 #
390 390 # Don't issue a MOD entry if it's not in the install list.
391 391 #
392 392
393 393 $(MODLIST_DEPS): FRC
394 394 @case $@ in \
395 395 *32) \
396 396 class=32; \
397 397 [ -n "$(RELMODULE)" ] && relmodule=`dirname $(RELMODULE)`;; \
398 398 *64) \
399 399 class=64; \
400 400 [ -n "$(RELMODULE)" ] && \
401 401 relmodule=`dirname $(RELMODULE)`/$(SUBDIR64);; \
402 402 esac; \
403 403 if [ -z "$(THISIMPL)" ]; then \
404 404 impl=all; \
405 405 else \
406 406 impl=$(THISIMPL); \
407 407 fi; \
408 408 if [ -n "$(ROOTMODULE)" -a -n "$(INSTALL_TARGET)" ]; then \
409 409 if [ -z "$(MODULE)" ]; then \
410 410 module=`basename $(ROOTMODULE)`; \
411 411 else \
412 412 module=$(MODULE); \
413 413 fi; \
414 414 tinstall="$(INSTALL_TARGET)"; \
415 415 for t in $$tinstall; do \
416 416 if [ "$(ROOTMODULE)" = $$t ]; then \
417 417 echo MOD $(MODSRC) $$module $$relmodule \
418 418 $$class $$impl; \
419 419 break; \
420 420 fi \
421 421 done \
422 422 fi; \
423 423 if [ -n "$(CONF_SRCDIR)" ]; then \
424 424 tinstall="$(INSTALL_TARGET)"; \
425 425 for t in $$tinstall; do \
426 426 if [ $(ROOT_CONFFILE) = $$t ]; then \
427 427 echo CONF $(MODSRC) $(RELCONF) \
428 428 $(MODSRC)/$(CONF_SRCDIR) $$impl $$module; \
429 429 break; \
430 430 fi \
431 431 done \
432 432 fi; \
433 433 if [ -n "$(ROOTLINK)" ]; then \
434 434 rellinks="$(RELLINK)"; \
435 435 for r in $$rellinks; do \
436 436 if [ $$class = 32 ]; then \
437 437 linkdir=`dirname $$r`; \
438 438 else \
439 439 linkdir=`dirname $$r`/$(SUBDIR64); \
440 440 fi; \
441 441 echo LINK $(MODSRC) $$relmodule $$module \
442 442 $$linkdir `basename $$r` $$impl; \
443 443 done \
444 444 fi; \
445 445 if [ -n "$(UNIX32_LINK)" ]; then \
446 446 echo SYMLINK $(MODSRC) $(SUBDIR64)/$(UNIX) \
447 447 `dirname $(RELUNIX)` unix $$impl $$module; \
448 448 fi; \
449 449 trelsoftlinks="$(RELSOFTLINKS)"; \
450 450 for t in $$trelsoftlinks; do \
451 451 if [ $$class = 32 ]; then \
452 452 linkdir=`dirname $$t`; \
453 453 else \
454 454 linkdir=`dirname $$t`/$(SUBDIR64); \
455 455 fi; \
456 456 linkname=`basename $$t`; \
457 457 echo SYMLINK $(MODSRC) $(MODULE) $$linkdir $$linkname \
458 458 $$impl $$module; \
459 459 done
460 460
461 461 #
462 462 # Cleanliness is next to ...
463 463 #
464 464 clean.targ:
465 465 -$(RM) $(CLEANFILES) Nothing_to_remove
466 466
467 467 clobber.targ:
468 468 -$(RM) $(CLOBBERFILES) Nothing_to_remove
469 469
470 470 clean.lint.targ:
471 471 -$(RM) $(CLEANLINTFILES) Nothing_to_remove
472 472
473 473 #
474 474 # Create fake lintlibs in the 64b dirs so
475 475 # global linting works
476 476 #
477 477 lint64:
478 478 @$(ECHO) $(MODULE) fake lints
479 479 @for dir in $(LINT64_DIRS); do \
480 480 if [ ! -d $$dir ]; then mkdir $$dir; fi \
481 481 done
482 482 @for file in $(LINT64_FILES); do \
483 483 if [ ! -f $$file ]; then touch $$file; fi \
484 484 done
485 485
486 486 #
487 487 # In some places we also need to create fake lintlibs for 32b
488 488 # dirs so global linting works
489 489 #
490 490 lint32:
491 491 @$(ECHO) $(MODULE) fake lints
492 492 @for dir in $(LINT32_DIRS); do \
493 493 if [ ! -d $$dir ]; then mkdir $$dir; fi \
494 494 done
495 495 @for file in $(LINT32_FILES); do \
496 496 if [ ! -f $$file ]; then touch $$file; fi \
497 497 done
498 498
499 499 FRC:
↓ open down ↓ |
434 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX