/linux/tools/build/Documentation/ |
H A D | Build.txt | 1 Build Framework 4 The perf build framework was adopted from the kernel build system, hence the 7 Basically the user provides set of 'Build' files that list objects and 8 directories to nest for specific target to be build. 10 Unlike the kernel we don't have a single build object 'obj-y' list that where 11 we setup source objects, but we support more. This allows one 'Build' file to 12 carry a sources list for multiple build objects. 15 Build framework makefiles 16 ------------------------- 18 The build framework consists of 2 Makefiles: [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 Core driver for low level functionality of the ConnectX-4 and 18 Connect-IB cards by Mellanox Technologies. 24 Build support for the Innova family of network cards by Mellanox 28 sandbox-specific client drivers. 37 Ethernet support in Mellanox Technologies ConnectX-4 NIC. 44 Mellanox MLX5 ethernet hardware-accelerated receive flow steering support, 54 flow rules to direct traffic into arbitrary rx queue via ethtool set/get_rxnfc 62 Mellanox Technologies Ethernet Multi-Physical Function Switch (MPFS) 63 support in ConnectX NIC. MPFs is required for when multi-PF configuration [all …]
|
/linux/scripts/package/debian/ |
H A D | rules | 1 #!/usr/bin/make -f 2 # SPDX-License-Identifier: GPL-2.0-only 4 # in case debian/rules is executed directly 7 include debian/rules.vars 9 ifneq (,$(filter-out parallel=1,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))) 11 MAKEFLAGS += -j$(NUMJOBS) 24 revision = $(shell dpkg-parsechangelo 70 build: build-arch build-indep global() target [all...] |
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | kconfig.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 11 | at build time via kernel Kconfig flags. 20 | ports to Bridge and offloading rules for traffic between such ports. 34 | built-in into mlx5_core.ko. 39 …g (DCB) Support <https://enterprise-support.nvidia.com/s/article/howto-auto-config-pfc-and-ets-on-… 53 | Flow-based classifiers, such as those registered through 54 | `tc-flower(8)`, are processed by the device, rather than the 61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering. 62 | https://enterprise-support.nvidia.com/s/article/howto-configure-arfs-on-connectx-4 67 | Enables :ref:`IPSec XFRM cryptography-offload acceleration <xfrm_device>`. [all …]
|
/linux/security/integrity/ima/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 61 Disabling this option will disregard LSM based policy rules. 71 limited to 255 characters. The 'ima-ng' measurement list 77 bool "ima-ng (default)" 79 bool "ima-sig" 84 default "ima-ng" if IMA_NG_TEMPLATE 85 default "ima-si [all...] |
/linux/security/ipe/ |
H A D | eval.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved. 24 #define INO_BLOCK_DEV(ino) ((ino)->i_sb->s_bdev) 26 #define FILE_SUPERBLOCK(f) ((f)->f_path.mnt->mnt_sb) 29 * build_ipe_sb_ctx() - Build initramfs field of an ipe evaluation context. 35 ctx->initramfs = ipe_sb(FILE_SUPERBLOCK(file))->initramfs; in build_ipe_sb_ctx() 40 * build_ipe_bdev_ctx() - Build ipe_bdev field of an evaluation context. 47 ctx->ipe_bdev = ipe_bdev(INO_BLOCK_DEV(ino)); in build_ipe_bdev_ctx() 60 ctx->ipe_inode = ipe_inode(ctx->ino); in build_ipe_inode_blob_ctx() 70 * build_ipe_inode_ctx() - Build inode fields of an evaluation context. [all …]
|
/linux/tools/testing/selftests/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 TARGETS += amd-pstate 15 TARGETS += cpu-hotplug 19 TARGETS += dmabuf-heaps 20 TARGETS += drivers/dma-buf 38 TARGETS += filesystems/mount-notify 60 TARGETS += memory-hotplug 110 TARGETS += tc-testing 133 TARGETS_HOTPLUG = cpu-hotplug 134 TARGETS_HOTPLUG += memory-hotplug [all …]
|
/linux/scripts/package/ |
H A D | mkdebian | 7 set -eu 10 grep -q "^$1=y" include/config/auto.conf 15 echo -n "$2" 16 elif [ $# -ge 3 ]; then 17 echo -n "$3" 83 if [ -z "$debarch" ]; then 84 debarch=$(dpkg-architecture -qDEB_HOST_ARCH) 96 # Create debian/source/ if it is a source package build 99 mkdir -p debian/source 104 echo "diff-ignore" [all …]
|
/linux/Documentation/kbuild/ |
H A D | makefiles.rst | 15 scripts/Makefile.* common rules etc. for all kbuild Makefiles. 29 architecture-specific information to the top Makefile. 33 .config file to construct various file lists used by kbuild to build 34 any built-in or modular targets. 36 scripts/Makefile.* contains all the definitions/rules etc. that 37 are used to build the kernel based on the kbuild makefiles. 44 *Users* are people who build kernels. These people type commands such as 59 *Kbuild developers* are people who work on the kernel build system itself. 80 ---------------- 90 obj-y += foo.o [all …]
|
H A D | gendwarfksyms.rst | 18 ----- 23 Usage: gendwarfksyms [options] elf-object-file ... < symbol-list 26 -d, --debug Print debugging information 27 --dump-dies Dump DWARF DIE contents 28 --dump-die-map Print debugging information about die_map changes 29 --dump-types Dump type strings 30 --dump-versions Dump expanded type strings used for symbol versions 31 -s, --stable Support kABI stability features 32 -T, --symtypes file Write a symtypes file 33 -h, --help Print this message [all …]
|
/linux/scripts/ |
H A D | remove-stale-files | 3 set -e 6 # .gitignore and cleaning rules in the Makefile. This is the right thing 9 # causing build issues. 11 # Also, 'git status' shows such stale build artifacts as untracked files. 15 # So, when you (re)move generated files, please move the cleaning rules from 24 rm -f scripts/selinux/genheaders/genheaders 26 rm -f *.spec 28 rm -f lib/test_fortify.log
|
/linux/Documentation/networking/ |
H A D | regulatory.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 --------------------------------------- 23 ------------------------------------------- 26 database file (regulatory.db) containing all the regulatory rules. It 27 will then use that database when it needs to look up the rules for a 31 --------------------------------------------------------------- 34 a userspace agent build it and send it via nl80211. Only 38 is CRDA - central regulatory domain agent. Its documented here: 49 # Example file, should be put in /etc/udev/rules.d/regulatory.rules 55 -------------------------------- [all …]
|
/linux/tools/testing/selftests/mm/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 12 uname_M := $(shell uname -m 2>/dev/null || echo not) 14 uname_M := $(shell echo $(CROSS_COMPILE) | grep -o '^[a-z0-9]\+') 16 ARCH ?= $(shell echo $(uname_M) | sed -e 's/aarch64.*/arm64/' -e 's/ppc64.*/powerpc/') 19 # Without this, failed build products remain, with up-to-date timestamps, 24 # Avoid accidental wrong builds, due to built-in rules working just a little 25 # bit too well--but not quite as well as required for our situation here. 27 # In other words, "make $SOME_TEST" is supposed to fail to build at all, 29 # However, the built-in rules, if not suppressed, will pick up CFLAGS and the 30 # initial LDLIBS (but not the target-specific LDLIBS, because those are only [all …]
|
/linux/Documentation/userspace-api/ |
H A D | landlock.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net> 3 .. Copyright © 2019-2020 ANSSI 4 .. Copyright © 2021-2022 Microsoft Corporation 16 new security layers in addition to the existing system-wide access-controls. 23 ``dmesg | grep landlock || journalctl -kb -g landlock`` . 29 Landlock rules 33 perform. A set of rules is aggregated in a ruleset, which can then restrict 36 The two existing types of rules are: 38 Filesystem rules [all …]
|
/linux/arch/riscv/kernel/compat_vdso/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 7 compat_vdso-syms = rt_sigreturn 8 compat_vdso-syms += getcpu 9 compat_vdso-syms += flush_icache 17 COMPAT_CC_FLAGS := -march=rv32g -mabi=ilp32 19 COMPAT_CC_FLAGS := -march=rv32imafd -mabi=ilp32 21 COMPAT_LD_FLAGS := -melf32lriscv 23 # Disable attributes, as they're useless and break the build. 24 COMPAT_CC_FLAGS += $(call cc-option,-mno-riscv-attribute) 25 COMPAT_CC_FLAGS += $(call as-option,-Wa$(comma)-mno-arch-attr) [all …]
|
/linux/tools/perf/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 # with a -j option to do parallel builds 6 # If you want to invoke the perf build in some non-standard way then 7 # you can use the 'make -f Makefile.perf' method to invoke it. 11 # Clear out the built-in rules GNU make defines by default (such as .o targets), 17 # We don't want to pass along options like -j: 22 # Do a parallel build with multiple jobs, based on the number of CPUs online 23 # in this system: 'make -j8' on a 8-CPU system, etc. 28 …JOBS := $(shell (getconf _NPROCESSORS_ONLN || grep -E -c '^processor|^CPU[0-9]' /proc/cpuinfo) 2>/… 38 FULL_O := $(shell cd $(PWD); readlink -f $(O) || echo $(O)) [all …]
|
/linux/tools/usb/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 12 # Do not use make's built-in rules 13 # (this improves performance and avoids hard-to-debug behaviour); 14 MAKEFLAGS += -r 16 override CFLAGS += -O2 -Wall -Wextra -g -D_GNU_SOURCE -I$(OUTPUT)include -I$(srctree)/tools/include 17 override LDFLAGS += -lpthread 19 ALL_TARGETS := testusb ffs-test 25 include $(srctree)/tools/build/Makefile.include 27 TESTUSB_IN := $(OUTPUT)testusb-in.o 29 $(Q)$(MAKE) $(build)=testusb [all …]
|
/linux/tools/gpio/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 7 # isn't set and when invoked from selftests build, where srctree 15 # Do not use make's built-in rules 16 # (this improves performance and avoids hard-to-debug behaviour); 17 MAKEFLAGS += -r 19 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 21 ALL_TARGETS := lsgpio gpio-hammer gpio-event-mon gpio-watch 27 include $(srctree)/tools/build/Makefile.include 33 mkdir -p $(OUTPUT)include/linux 2>&1 || true 34 ln -sf $(CURDIR)/../../include/uapi/linux/gpio.h $@ [all …]
|
/linux/tools/iio/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 11 # Do not use make's built-in rules 12 # (this improves performance and avoids hard-to-debug behaviour); 13 MAKEFLAGS += -r 15 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 23 include $(srctree)/tools/build/Makefile.include 29 mkdir -p $(OUTPUT)include/linux/iio 2>&1 || true 30 ln -sf $(CURDIR)/../../include/uapi/linux/iio/buffer.h $@ 31 ln -sf $(CURDIR)/../../include/uapi/linux/iio/events.h $@ 32 ln -sf $(CURDIR)/../../include/uapi/linux/iio/types.h $@ [all …]
|
/linux/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | README | 1 Test the nx-gzip function: 5 /dev/crypto/nx-gzip 7 sudo chmod go+rw /dev/crypto/nx-gzip 10 /etc/udev/rules.d/99-nx-gzip.rules 13 To manually build and run: 14 $ gcc -O3 -I./include -o gzfht_test gzfht_test.c gzip_vas.c 15 $ gcc -O3 -I./include -o gunz_test gunz_test.c gzip_vas.c 40 Note that the code here are intended for testing the nx-gzip hardware function. 45 https://github.com/libnxz/power-gzip
|
/linux/tools/hv/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 # Makefile for Hyper-V tools 5 ARCH := $(shell uname -m 2>/dev/null) 15 # Do not use make's built-in rules 16 # (this improves performance and avoids hard-to-debug behaviour); 17 MAKEFLAGS += -r 19 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 20 override CFLAGS += -Wno-address-of-packed-member 33 include $(srctree)/tools/build/Makefile.include 35 HV_KVP_DAEMON_IN := $(OUTPUT)hv_kvp_daemon-in.o [all …]
|
/linux/arch/powerpc/kernel/vdso/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 8 obj-vdso32 = sigtramp32-32.o gettimeofday-32.o datapage-32.o cacheflush-32.o note-32.o getcpu-32.o 9 obj-vdso64 = sigtramp64-64.o gettimeofday-64.o datapage-64.o cacheflush-64.o note-64.o getcpu-64.o 11 obj-vdso32 += getrandom-32.o vgetrandom-chacha-32.o 12 obj-vdso64 += getrandom-64.o vgetrandom-chacha-64.o 14 ifneq ($(c-gettimeofday-y),) 15 CFLAGS_vgettimeofday-32.o += -include $(c-gettimeofday-y) 17 # by accident when the VDSO was hand-written asm code, but may not be now that the VDSO is 20 CFLAGS_vgettimeofday-64.o += -include $(c-gettimeofday-y) $(call cc-option, -ffixed-r30) 23 ifneq ($(c-getrandom-y),) [all …]
|
/linux/tools/counter/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 11 # Do not use make's built-in rules 12 # (this improves performance and avoids hard-to-debug behaviour); 13 MAKEFLAGS += -r 15 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include \ 16 -I$(srctree)/tools/include 24 include $(srctree)/tools/build/Makefile.include 30 mkdir -p $(OUTPUT)include/linux 2>&1 || true 31 ln -sf $(CURDIR)/../../include/uapi/linux/counter.h $@ 37 $(Q)$(MAKE) $(build)=counter_example [all …]
|
/linux/tools/spi/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 11 # Do not use make's built-in rules 12 # (this improves performance and avoids hard-to-debug behaviour); 13 MAKEFLAGS += -r 15 CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include 23 include $(srctree)/tools/build/Makefile.include 29 mkdir -p $(OUTPUT)include/linux/spi 2>&1 || true 30 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spidev.h $@ 31 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spi.h $@ 38 SPIDEV_TEST_IN := $(OUTPUT)spidev_test-in.o [all …]
|
/linux/tools/build/tests/ |
H A D | run.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 make -C ex V=1 clean > ex.out 2>&1 6 make -C ex V=1 >> ex.out 2>&1 8 if [ ! -x ./ex/ex ]; then 10 exit -1 13 make -C ex V=1 clean > /dev/null 2>&1 14 rm -f ex.out 18 make -C ex V=1 clean > ex.out 2>&1 20 # use -rR to disable make's builtin rules 21 make -rR -C ex V=1 ex.o >> ex.out 2>&1 [all …]
|