~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/verification/rv/Makefile.rv

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/verification/rv/Makefile.rv (Architecture m68k) and /tools/verification/rv/Makefile.rv (Architecture i386)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2                                                     2 
  3 define allow-override                               3 define allow-override
  4   $(if $(or $(findstring environment,$(origin       4   $(if $(or $(findstring environment,$(origin $(1))),\
  5             $(findstring command line,$(origin      5             $(findstring command line,$(origin $(1)))),,\
  6     $(eval $(1) = $(2)))                            6     $(eval $(1) = $(2)))
  7 endef                                               7 endef
  8                                                     8 
  9 # Allow setting CC and AR, or setting CROSS_CO      9 # Allow setting CC and AR, or setting CROSS_COMPILE as a prefix.
 10 $(call allow-override,CC,$(CROSS_COMPILE)gcc)      10 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
 11 $(call allow-override,AR,$(CROSS_COMPILE)ar)       11 $(call allow-override,AR,$(CROSS_COMPILE)ar)
 12 $(call allow-override,STRIP,$(CROSS_COMPILE)st     12 $(call allow-override,STRIP,$(CROSS_COMPILE)strip)
 13 $(call allow-override,PKG_CONFIG,pkg-config)       13 $(call allow-override,PKG_CONFIG,pkg-config)
 14 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.     14 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/)
 15 $(call allow-override,LDCONFIG,ldconfig)           15 $(call allow-override,LDCONFIG,ldconfig)
 16 export CC AR STRIP PKG_CONFIG LD_SO_CONF_PATH      16 export CC AR STRIP PKG_CONFIG LD_SO_CONF_PATH LDCONFIG
 17                                                    17 
 18 FOPTS           :=-flto=auto -ffat-lto-objects     18 FOPTS           :=-flto=auto -ffat-lto-objects -fexceptions -fstack-protector-strong    \
 19                 -fasynchronous-unwind-tables -     19                 -fasynchronous-unwind-tables -fstack-clash-protection
 20 WOPTS           :=      -O -Wall -Werror=forma     20 WOPTS           :=      -O -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2        \
 21                 -Wp,-D_GLIBCXX_ASSERTIONS -Wno     21                 -Wp,-D_GLIBCXX_ASSERTIONS -Wno-maybe-uninitialized
 22                                                    22 
 23 ifeq ($(CC),clang)                                 23 ifeq ($(CC),clang)
 24   FOPTS         := $(filter-out -flto=auto -ff     24   FOPTS         := $(filter-out -flto=auto -ffat-lto-objects, $(FOPTS))
 25   WOPTS         := $(filter-out -Wno-maybe-uni     25   WOPTS         := $(filter-out -Wno-maybe-uninitialized, $(WOPTS))
 26 endif                                              26 endif
 27                                                    27 
 28 INCLUDE         := -Iinclude/                      28 INCLUDE         := -Iinclude/
 29 CFLAGS          := -g -DVERSION=\"$(VERSION)\"     29 CFLAGS          := -g -DVERSION=\"$(VERSION)\" $(FOPTS) $(WOPTS) $(EXTRA_CFLAGS) $(INCLUDE)
 30 LDFLAGS         := -ggdb $(EXTRA_LDFLAGS)          30 LDFLAGS         := -ggdb $(EXTRA_LDFLAGS)
 31                                                    31 
 32 INSTALL         := install                         32 INSTALL         := install
 33 MKDIR           := mkdir                           33 MKDIR           := mkdir
 34 STRIP           := strip                           34 STRIP           := strip
 35 BINDIR          := /usr/bin                        35 BINDIR          := /usr/bin
 36                                                    36 
 37 .PHONY: install                                    37 .PHONY: install
 38 install: doc_install                               38 install: doc_install
 39         $(Q)$(MKDIR) -p $(DESTDIR)$(BINDIR)        39         $(Q)$(MKDIR) -p $(DESTDIR)$(BINDIR)
 40         $(call QUIET_INSTALL,rv)$(INSTALL) $(O     40         $(call QUIET_INSTALL,rv)$(INSTALL) $(OUTPUT)rv -m 755 $(DESTDIR)$(BINDIR)
 41         $(Q)@$(STRIP) $(DESTDIR)$(BINDIR)/rv       41         $(Q)@$(STRIP) $(DESTDIR)$(BINDIR)/rv
 42                                                    42 
 43 .PHONY: doc doc_clean doc_install                  43 .PHONY: doc doc_clean doc_install
 44 doc:                                               44 doc:
 45         $(MAKE) -C $(DOCSRC)                       45         $(MAKE) -C $(DOCSRC)
 46                                                    46 
 47 doc_clean:                                         47 doc_clean:
 48         $(MAKE) -C $(DOCSRC) clean                 48         $(MAKE) -C $(DOCSRC) clean
 49                                                    49 
 50 doc_install:                                       50 doc_install:
 51         $(MAKE) -C $(DOCSRC) install               51         $(MAKE) -C $(DOCSRC) install
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php