Home
last modified time | relevance | path

Searched +full:build +full:- +full:rules (Results 1 – 25 of 180) sorted by relevance

12345678

/linux-5.10/tools/testing/selftests/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
11 TARGETS += cpu-hotplug
12 TARGETS += drivers/dma-buf
34 TARGETS += memory-hotplug
60 TARGETS += tc-testing
75 TARGETS_HOTPLUG = cpu-hotplug
76 TARGETS_HOTPLUG += memory-hotplug
81 TMP := $(filter-out $(SKIP_TARGETS), $(TARGETS))
91 # Clear LDFLAGS and MAKEFLAGS when implicit rules are missing. This provides
92 # implicit rules to sub-test Makefiles which avoids build failures in test
[all …]
Dlib.mk1 # This mimics the top-level Makefile. We do it explicitly here so that this
13 # The following are built by lib.mk common compile rules.
15 # custom build rule and prevent common build rule use.
32 # Invoke headers install with --no-builtin-rules to avoid circular
34 # make inherits builtin-rules which will use the rule generate
36 # "Circular Makefile.o <- prepare dependency dropped."
39 # invokes them as sub-makes and --no-builtin-rules is not necessary,
43 # when test Makefile is run directly with "make -C".
44 # When local build is done, headers are installed in the default
50 $(MAKE) --no-builtin-rules ARCH=$(ARCH) -C $(top_srcdir) headers_install
[all …]
/linux-5.10/tools/build/Documentation/
DBuild.txt1 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-5.10/security/integrity/ima/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
60 Disabling this option will disregard LSM based policy rules.
71 limited to 255 characters. The 'ima-ng' measurement list
78 bool "ima-ng (default)"
80 bool "ima-sig"
87 default "ima-ng" if IMA_NG_TEMPLATE
88 default "ima-sig" if IMA_SIG_TEMPLATE
135 IMA policy can now be updated multiple times. The new rules get
136 appended to the original policy. Have in mind that the rules are
149 This option allows the root user to see the current policy rules.
[all …]
/linux-5.10/scripts/package/
Dmkdebian7 set -e
10 grep -q "^$1=y" include/config/auto.conf
15 echo -n "$2"
16 elif [ $# -ge 3 ]; then
17 echo -n "$3"
22 if [ -n "$KBUILD_DEBARCH" ] ; then
74 if [ -z "$debarch" ]; then
75 debarch=$(dpkg-architecture -qDEB_HOST_ARCH)
89 if [ -n "$KDEB_PKGVERSION" ]; then
91 revision=${packageversion##*-}
[all …]
/linux-5.10/tools/build/
DMakefile.build1 # SPDX-License-Identifier: GPL-2.0
3 # Main build makefile.
9 # Copyright (C) Linus Torvalds <torvalds@linux-foundation.org>, 2015
23 ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
27 build-dir := $(srctree)/tools/build
29 # Define $(fixdep) for dep-cmd function
31 fixdep := $(build-dir)/fixdep
37 include $(build-dir)/Build.include
40 -include $(OUTPUT).config-detected
42 # Init all relevant variables used in build files so
[all …]
/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
DKconfig1 # 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.
27 Build support for the Innova family of network cards by Mellanox
31 sandbox-specific client drivers.
40 Ethernet support in Mellanox Technologies ConnectX-4 NIC.
47 Mellanox MLX5 ethernet hardware-accelerated receive flow steering support,
57 flow rules to direct traffic into arbitrary rx queue via ethtool set/get_rxnfc
65 Mellanox Technologies Ethernet Multi-Physical Function Switch (MPFS)
66 support in ConnectX NIC. MPFs is required for when multi-PF configuration
[all …]
/linux-5.10/Documentation/kbuild/
Dmakefiles.rst12 --- 3.1 Goal definitions
13 --- 3.2 Built-in object goals - obj-y
14 --- 3.3 Loadable module goals - obj-m
15 --- 3.4 Objects which export symbols
16 --- 3.5 Library file goals - lib-y
17 --- 3.6 Descending down in directories
18 --- 3.7 Compilation flags
19 --- 3.8 <deleted>
20 --- 3.9 Dependency tracking
21 --- 3.10 Special Rules
[all …]
/linux-5.10/arch/s390/kernel/vdso64/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
9 obj-vdso64 = vdso_user_wrapper.o note.o getcpu.o
10 obj-cvdso64 = vdso64_generic.o
11 CFLAGS_REMOVE_vdso64_generic.o = -pg $(CC_FLAGS_FTRACE) $(CC_FLAGS_EXPOLINE)
13 # Build rules
15 targets := $(obj-vdso64) $(obj-cvdso64) vdso64.so vdso64.so.dbg
16 obj-vdso64 := $(addprefix $(obj)/, $(obj-vdso64))
17 obj-cvdso64 := $(addprefix $(obj)/, $(obj-cvdso64))
19 KBUILD_AFLAGS += -DBUILD_VDSO
20 KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING
[all …]
/linux-5.10/tools/testing/selftests/vm/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 uname_M := $(shell uname -m 2>/dev/null || echo not)
4 MACHINE ?= $(shell echo $(uname_M) | sed -e 's/aarch64.*/arm64/')
6 # Without this, failed build products remain, with up-to-date timestamps,
11 # Avoid accidental wrong builds, due to built-in rules working just a little
12 # bit too well--but not quite as well as required for our situation here.
14 # In other words, "make userfaultfd" is supposed to fail to build at all,
16 # However, the built-in rules, if not suppressed, will pick up CFLAGS and the
17 # initial LDLIBS (but not the target-specific LDLIBS, because those are only
21 MAKEFLAGS += --no-builtin-rules
[all …]
/linux-5.10/Documentation/networking/
Dregulatory.rst1 .. 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-5.10/arch/powerpc/kernel/vdso32/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
5 obj-vdso32 = sigtramp.o gettimeofday.o datapage.o cacheflush.o note.o getcpu.o
7 # Build rules
17 CC32FLAGS += -m32
20 targets := $(obj-vdso32) vdso32.so vdso32.so.dbg
21 obj-vdso32 := $(addprefix $(obj)/, $(obj-vdso32))
27 ccflags-y := -shared -fno-common -fno-builtin -nostdlib \
28 -Wl,-soname=linux-vdso32.so.1 -Wl,--hash-style=both
29 asflags-y := -D__VDSO32__ -s
31 obj-y += vdso32_wrapper.o
[all …]
/linux-5.10/arch/nds32/kernel/vdso/
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
9 obj-vdso := note.o datapage.o sigreturn.o gettimeofday.o
11 # Build rules
12 targets := $(obj-vdso) vdso.so vdso.so.dbg
13 obj-vdso := $(addprefix $(obj)/, $(obj-vdso))
15 ccflags-y := -shared -fno-common -fno-builtin -nostdlib -fPIC -Wl,-shared -g \
16 -Wl,-soname=linux-vdso.so.1 -Wl,--hash-style=sysv
22 obj-y += vdso.o
24 CPPFLAGS_vdso.lds += -P -C -U$(ARCH)
30 $(obj)/vdso.so.dbg: $(obj)/vdso.lds $(obj-vdso) FORCE
[all …]
/linux-5.10/arch/arm64/kvm/hyp/nvhe/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for Kernel-based Virtual Machine module, HYP/nVHE part
6 asflags-y := -D__KVM_NVHE_HYPERVISOR__
7 ccflags-y := -D__KVM_NVHE_HYPERVISOR__
9 obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o hyp-init.o host.o hyp-main.o
10 obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \
11 ../fpsimd.o ../hyp-entry.o
14 ## Build rules for compiling nVHE hyp code
19 hyp-obj := $(patsubst %.o,%.nvhe.o,$(obj-y))
20 obj-y := kvm_nvhe.o
[all …]
/linux-5.10/Documentation/powerpc/
Dbooting.rst1 .. SPDX-License-Identifier: GPL-2.0
4 ------------------
8 was decided to enforce some strict rules regarding the kernel entry and
9 bootloader <-> kernel interfaces, in order to avoid the degeneration that had
11 to the kernel. The legacy iSeries platform breaks those rules as it predates
14 merged architecture for ppc32 and ppc64, new 32-bit platforms and 32-bit
15 platforms which move into arch/powerpc will be required to use these rules as
19 of a device-tree whose format is defined after Open Firmware specification.
21 doesn't require the device-tree to represent every device in the system and only
47 bindings to powerpc. Only the 32-bit client interface
[all …]
/linux-5.10/arch/arm/vdso/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
10 obj-vdso := vgettimeofday.o datapage.o note.o
12 # Build rules
13 targets := $(obj-vdso) vdso.so vdso.so.dbg vdso.so.raw vdso.lds
14 obj-vdso := $(addprefix $(obj)/, $(obj-vdso))
16 ccflags-y := -fPIC -fno-common -fno-builtin -fno-stack-protector
17 ccflags-y += -DDISABLE_BRANCH_PROFILING -DBUILD_VDSO32
19 ldflags-$(CONFIG_CPU_ENDIAN_BE8) := --be8
20 ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \
21 -z max-page-size=4096 -nostdlib -shared $(ldflags-y) \
[all …]
/linux-5.10/tools/iio/
DMakefile1 # 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/events.h $@
31 ln -sf $(CURDIR)/../../include/uapi/linux/iio/types.h $@
35 IIO_UTILS_IN := $(OUTPUT)iio_utils-in.o
[all …]
/linux-5.10/tools/perf/
DMakefile1 # 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 || egrep -c '^processor|^CPU[0-9]' /proc/cpuinfo) 2>/de…
38 FULL_O := $(shell cd $(PWD); readlink -f $(O) || echo $(O))
[all …]
DMakefile.perf1 # SPDX-License-Identifier: GPL-2.0-only
16 # Define ARCH as name of target architecture if you want cross-builds.
18 # Define CROSS_COMPILE as prefix name of compiler if you want cross-builds.
27 # Define PYTHON_CONFIG to point to the python-config binary if
28 # the default `$(PYTHON)-config' is not correct.
34 # Define LDFLAGS=-static to build a static binary.
36 # Define EXTRA_CFLAGS=-m64 or EXTRA_CFLAGS=-m32 as appropriate for cross-builds.
38 # Define EXCLUDE_EXTLIBS=-lmylib to exclude libmylib from the auto-generated
43 # Define NO_DWARF if you do not want debug-info analysis feature at all.
55 # Define NO_LIBELF if you do not want libelf dependency (e.g. cross-builds)
[all …]
/linux-5.10/tools/hv/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for Hyper-V tools
14 # Do not use make's built-in rules
15 # (this improves performance and avoids hard-to-debug behaviour);
16 MAKEFLAGS += -r
18 override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include
28 include $(srctree)/tools/build/Makefile.include
30 HV_KVP_DAEMON_IN := $(OUTPUT)hv_kvp_daemon-in.o
32 $(Q)$(MAKE) $(build)=hv_kvp_daemon
34 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
[all …]
/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/
DREADME1 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-5.10/Documentation/dev-tools/
Dkselftest.rst15 On some systems, hot-plug tests could hang forever waiting for cpu and
16 memory to be ready to be offlined. A special hot-plug target is created
17 to run the full range of hot-plug tests. In default mode, hot-plug tests run
18 in safe mode with a limited scope. In limited mode, cpu-hotplug test is
29 To build the tests::
31 $ make -C tools/testing/selftests
35 $ make -C tools/testing/selftests run_tests
37 To build and run the tests with a single command, use::
49 To build, save output files in a separate directory with O= ::
53 To build, save output files in a separate directory with KBUILD_OUTPUT ::
[all …]
/linux-5.10/tools/usb/
DMakefile1 # 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-5.10/tools/gpio/
DMakefile1 # 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-5.10/arch/x86/kernel/fpu/
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Build rules for the FPU support code:
6 obj-y += init.o bugs.o core.o regset.o signal.o xstate.o

12345678