| /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 16 Core driver for low level functionality of the ConnectX-4 and 17 Connect-IB cards by Mellanox Technologies. 23 Build support for the Innova family of network cards by Mellanox 27 sandbox-specific client drivers. 36 Ethernet support in Mellanox Technologies ConnectX-4 NIC. 43 Mellanox MLX5 ethernet hardware-accelerated receive flow steering support, 53 flow rules to direct traffic into arbitrary rx queue via ethtool set/get_rxnfc 61 Mellanox Technologies Ethernet Multi-Physical Function Switch (MPFS) 62 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/arch/riscv/kernel/vdso_cfi/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 2 # RISC-V VDSO CFI Makefile 5 # setting VDSO_CFI_BUILD triggers build for vdso differently 11 # Copy all .S and .c files from vdso directory to vdso_cfi object build directory 23 # Include the main VDSO Makefile which contains all the build rules and sources 27 # Clean rules - remove the copied source files 28 clean-files += $(notdir $(vdso_c_sources)) $(notdir $(vdso_S_sources))
|
| /linux/tools/testing/selftests/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 5 TARGETS += amd-pstate 16 TARGETS += cpu-hotplug 21 TARGETS += dmabuf-heaps 22 TARGETS += drivers/dma-buf 45 TARGETS += filesystems/mount-notify 75 TARGETS += memory-hotplug 127 TARGETS += tc-testing 151 TARGETS_HOTPLUG = cpu-hotplug 152 TARGETS_HOTPLUG += memory-hotplug [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/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/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/security/integrity/ima/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 65 Disabling this option will disregard LSM based policy rules. 75 limited to 255 characters. The 'ima-ng' measurement list 81 bool "ima-ng (default)" 83 bool "ima-sig" 88 default "ima-ng" if IMA_NG_TEMPLATE 89 default "ima-sig" if IMA_SIG_TEMPLATE 133 IMA policy can now be updated multiple times. The new rules get 134 appended to the original policy. Have in mind that the rules are 146 This option allows the root user to see the current policy rules. [all …]
|
| /linux/tools/build/ |
| H A D | Makefile.build | 1 # SPDX-License-Identifier: GPL-2.0 3 # Main build makefile. 9 # Copyright (C) Linus Torvalds <torvalds@linux-foundation.org>, 2015 15 build-dir := $(srctree)/tools/build 17 # Define $(fixdep) for dep-cmd function 19 fixdep := $(build-dir)/fixdep 25 include $(build-dir)/Build.include 28 -include $(OUTPUT).config-detected 30 # Init all relevant variables used in build files so 33 subdir-y := [all …]
|
| /linux/ |
| H A D | README | 8 ----------- 10 * Report a bug: See Documentation/admin-guide/reporting-issues.rst 12 * Build the kernel: See Documentation/admin-guide/quickly-build-trimmed-linux.rst 16 ----------------------- 21 * Code of Conduct: Documentation/process/code-of-conduct.rst 41 * AI Coding Assistant: LLMs and AI-powered development tools 48 -------------------- 52 * Getting Started: Documentation/process/development-process.rst 53 * Your First Patch: Documentation/process/submitting-patches.rst 54 * Coding Style: Documentation/process/coding-style.rst [all …]
|
| /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/perf/pmu-events/ |
| H A D | Build | 1 EMPTY_PMU_EVENTS_C = pmu-events/empty-pmu-events.c 2 # pmu-events.c will be generated by jevents.py or copied from EMPTY_PMU_EVENTS_C 3 PMU_EVENTS_C = $(OUTPUT)pmu-events/pmu-events.c 4 PMU_EVENTS_STRING_C = $(OUTPUT)pmu-events/pmu-events-string.c 6 pmu-event [all...] |
| /linux/Documentation/kbuild/ |
| H A D | gendwarfksyms.rst | 18 ------------ 26 sudo pacman --needed -S libelf zlib 30 sudo apt install libelf-dev libdw-dev zlib1g-dev 34 sudo dnf install elfutils-libelf-devel elfutils-devel zlib-devel 38 sudo zypper install libelf-devel libdw-devel zlib-devel 41 ----- 46 Usage: gendwarfksyms [options] elf-object-file ... < symbol-list 49 -d, --debug Print debugging information 50 --dump-dies Dump DWARF DIE contents 51 --dump-die-map Print debugging information about die_map changes [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/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/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/arch/arm64/kernel/vdso/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 12 obj-vdso := vgettimeofday.o note.o sigreturn.o vgetrandom.o vgetrandom-chacha.o 14 # Build rules 15 targets := $(obj-vdso) vdso.so vdso.so.dbg 16 obj-vdso := $(addprefix $(obj)/, $(obj-vdso)) 18 btildflags-$(CONFIG_ARM64_BTI_KERNEL) += -z force-bti 20 # -Bsymbolic has been added for consistency with arm, the compat vDSO and 23 # preparation in build-time C")). 24 ldflags-y := -shared -soname=linux-vdso.so.1 \ 25 -Bsymbolic --build-id=sha1 -n $(btildflags-y) [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/arm/vdso/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 8 obj-vdso := vgettimeofday.o note.o 10 # Build rules 11 targets := $(obj-vdso) vdso.so vdso.so.dbg vdso.so.raw vdso.lds 12 obj-vdso := $(addprefix $(obj)/, $(obj-vdso)) 14 ccflags-y := -fPIC -fno-common -fno-builtin -fno-stack-protector 15 ccflags-y += -DDISABLE_BRANCH_PROFILING -DBUILD_VDSO32 17 ldflags-$(CONFIG_CPU_ENDIAN_BE8) := --be8 18 ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \ 19 -z max-page-size=4096 -shared $(ldflags-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 …]
|