/openbmc/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 …]
|
/openbmc/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 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 …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 srctree := $(patsubst %/,%,$(dir $(CURDIR))) 4 srctree := $(patsubst %/,%,$(dir $(srctree))) 9 define allow-override 15 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 16 $(call allow-override,LD,$(CROSS_COMPILE)ld) 28 MAKEFLAGS := --no-print-directory 29 build := -f $(srctree)/tools/build/Makefile.build dir=. obj macro 39 $(Q)find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.cmd' -delete -o -name '\.*.d' -delete 40 $(Q)rm -f $(OUTPUT)fixdep [all …]
|
/openbmc/phosphor-power/ |
H A D | README.md | 1 # phosphor-power 8 Actively-maintained applications: 10 - cold-redundancy: Application that makes power supplies work in Cold Redundancy 12 - [phosphor-power-sequencer](phosphor-power-sequencer/README.md): JSON-driven 15 - [phosphor-power-supply](phosphor-power-supply/README.md): Next generation 17 - [phosphor-regulators](phosphor-regulators/README.md): JSON-driven application 19 - tools/power-utils: Power supply utilities. 23 - power-sequencer: Original power sequencer monitoring application. 24 - power-supply: Original power supply monitoring application. 26 ## Build section in phosphor-power [all …]
|
/openbmc/openbmc/poky/meta/recipes-graphics/shaderc/files/ |
H A D | 0001-cmake-disable-building-external-dependencies.patch | 6 - add cmake option to disable the build of the third_party dependencies 7 - change the update_build_version.py to use pkg-config when third_party dependencies not found 9 Upstream-Status: Inappropriate [OE-core specific] 11 Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> 12 --- 13 CMakeLists.txt | 13 ++++++++++--- 14 utils/update_build_version.py | 22 +++++++++++++++------- 15 2 files changed, 25 insertions(+), 10 deletions(-) 17 diff --git a/CMakeLists.txt b/CMakeLists.txt 19 --- a/CMakeLists.txt [all …]
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | utility-tasks.bbclass | 4 # SPDX-License-Identifier: MIT 12 for t in bb.build.listtasks(d): 16 desc = "%s (setscene version)" % (d.getVarFlag(t[:-9], 'doc') or '') 27 T:task-clean = "${LOG_DIR}/cleanlogs/${PN}" 31 """clear the build and temp directories""" 32 dir = d.expand("${WORKDIR}") 33 bb.note("Removing " + dir) 34 oe.path.remove(dir) 36 dir = "%s.*" % d.getVar('STAMP') 37 bb.note("Removing " + dir) [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | help.py | 3 # SPDX-License-Identifier: GPL-2.0-only 35 pager.communicate(hlp.encode('utf-8')) 67 Dispatch to subcommand handler borrowed from combo-layer. 94 usage: wic [--version] | [--help] | [COMMAND [ARGS]] 102 overview wic overview - General overview of wic 103 plugins wic plugins - Overview and API 104 kickstart wic kickstart - wic kickstart reference 118 usage: wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] 119 [-e | --image-name] [-s, --skip-build-check] [-D, --debug] 120 [-r, --rootfs-dir] [-b, --bootimg-dir] [all …]
|
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ |
H A D | 0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch | 4 Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build 6 When Yocto build is performed, opencv searches for data dir using simple 7 'test' command, this fails because pkg-config provides an absolute 11 Upstream-Status: Inappropriate [OE-specific] 13 Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> 14 Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> 15 --- 16 gst-libs/gst/opencv/meson.build | 3 +++ 19 diff --git a/gst-libs/gst/opencv/meson.build b/gst-libs/gst/opencv/meson.build 21 --- a/gst-libs/gst/opencv/meson.build [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/cgdb/cgdb/ |
H A D | 0001-cgdb-Do-not-search-for-cgdb.txt-in-build-dir.patch | 3 Date: Wed, 24 May 2023 19:31:23 -0700 4 Subject: [PATCH] cgdb: Do not search for cgdb.txt in build dir 6 If we do cross builds it encodes the build time workdir here and it wont 7 be useful to look into this dir since cross-built cgdb may not run on 8 build host and build workdir will not exist on target 10 Upstream-Status: Inappropriate [Cross-compile specific] 11 Signed-off-by: Khem Raj <raj.khem@gmail.com> 12 --- 13 cgdb/interface.cpp | 5 ----- 14 1 file changed, 5 deletions(-) [all …]
|
/openbmc/linux/scripts/ |
H A D | Makefile.package | 1 # SPDX-License-Identifier: GPL-2.0-only 7 KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE)) 8 # Include only those top-level files that are needed by make, plus the GPL copy 25 tar -I $(KGZIP) -c $(RCS_TAR_IGNORE) -f $(2).tar.gz \ 26 --transform 's:^:$(2)/:S' $(TAR_CONTENT) $(3) 29 # --------------------------------------------------------------------------- 31 filechk_HEAD = git -C $(srctree) rev-parse --verify HEAD 2>/dev/null 33 .tmp_HEAD: check-git FORCE 36 PHONY += check-git 37 check-git: [all …]
|
H A D | Makefile.vdsoinst | 1 # SPDX-License-Identifier: GPL-2.0-only 12 install-dir := $(MODLIB)/vdso 17 dest := $(install-dir)/$$(or $$(word 2,$$(subst :,$(space),$(1))),$$(patsubst %.dbg,%,$$(notdir $(1… 23 # Some architectures create .build-id symlinks 25 link := $(install-dir)/.build-id/$$(shell $(READELF) -n $$(src) | sed -n 's@^.*Build ID: \(..\)\(.*… 37 cmd_install = mkdir -p $(dir $@); cp $< $@ 40 cmd_symlink = mkdir -p $(dir $@); ln -sf --relative $< $@
|
H A D | Kbuild.include | 1 # SPDX-License-Identifier: GPL-2.0 11 space_escape := _-_SPACE_-_ 20 # Usage: $(call test-lt, $(CONFIG_LLD_VERSION), 150000) 25 test-ge = $(intcmp $(strip $1)0, $(strip $2)0,,y,y) 26 test-gt = $(intcmp $(strip $1)0, $(strip $2)0,,,y) 28 test-ge = $(shell test $(strip $1)0 -ge $(strip $2)0 && echo y) 29 test-gt = $(shell test $(strip $1)0 -gt $(strip $2)0 && echo y) 31 test-le = $(call test-ge, $2, $1) 32 test-lt = $(call test-gt, $2, $1) 36 dot-target = $(dir $@).$(notdir $@) [all …]
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | build-perf-test-wrapper.sh | 3 # Build performance test script wrapper 7 # SPDX-License-Identifier: GPL-2.0-only 9 # This script is a simple wrapper around the actual build performance tester 10 # script. This script initializes the build environment, runs 11 # oe-build-perf-test and archives the results. 15 archive_dir=~/perf-results/archives 19 Usage: $script [-h] [-c COMMITISH] [-C GIT_REPO] 22 -h show this help and exit. 23 -a ARCHIVE_DIR archive results tarball here, give an empty string to 25 -c COMMITISH test (checkout) this commit, <branch>:<commit> can be [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/wxwidgets/wxwidgets/ |
H A D | 0005-wx-config-fix-libdir-for-multilib.patch | 4 Subject: [PATCH] wx-config: fix libdir for multilib 7 for multilib. Add an option '--baselib' for wx-config to support 11 Upstream-Status: Inappropriate [oe specific] 13 Signed-off-by: Kai Kang <kai.kang@windriver.com> 17 Signed-off-by: Kai Kang <kai.kang@windriver.com> 18 --- 19 build/cmake/config.cmake | 2 +- 20 wx-config.in | 6 ++++-- 21 2 files changed, 5 insertions(+), 3 deletions(-) 23 diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openlldp/files/ |
H A D | 0001-autotools-Add-include-path-to-generated-version.h.patch | 3 Date: Wed, 26 Feb 2020 15:54:51 -0800 6 When the build dir isn't the same as source dir it fails to compile 7 because the generated version.h from AC_CONFIG_FILES is always in build 8 dir. Include the path to it in AM_CPPFLAGS. 10 Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> 12 --- 13 Upstream-Status: Pending 18 diff --git a/Makefile.am b/Makefile.am 20 --- a/Makefile.am 22 @@ -14,6 +14,9 @@ endif [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/ |
H A D | heaptrack_1.2.0.bb | 7 LICENSE = "LGPL-2.1-only" 13 file://0001-libheaptrack-Replace-__pid_t-with-pid_t.patch \ 14 file://0002-heaptrack_inject-Include-dlfcn.h-for-dlopen-dlclose.patch \ 15 file://0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch \ 16 file://0004-backtrace-Always-include-stdint.h.patch \ 17 file://0001-track-Check-for-unw_set_caching_policy-before-using.patch \ 26 EXTRA_OECMAKE += "-DHEAPTRACK_BUILD_GUI=OFF" 39 … Change Dir: '/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.… 41 # Run Build Command(s): ninja -v cmTC_51d86 42 …build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot-native/u… [all …]
|
/openbmc/linux/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 12 # expect to learn how to build the kernel reading this file. 25 # We are using a recursive build, so we need to do a little thinking 28 # Most importantly: sub-Makefiles should only ever modify files in 30 # a file in another dir (which doesn't happen often, but it's often 31 # unavoidable when linking the built-in.a targets which finally 32 # turn into vmlinux), we will call a sub make in that other dir, and 33 # after that we are sure that everything which is in that other dir [all...] |
/openbmc/u-boot/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0+ 13 # expect to learn how to build the kernel reading this file. 15 # o Do not use make's built-in rules and variables 16 # (this increases performance and avoids hard-to-debug behaviour); 18 MAKEFLAGS += -rR --include-dir=$(CURDIR) 29 # We are using a recursive build, so we need to do a little thinking 32 # Most importantly: sub-Makefiles should only ever modify files in 34 # a file in another dir (which doesn't happen often, but it's often 35 # unavoidable when linking the built-in.o targets which finally 36 # turn into vmlinux), we will call a sub make in that other dir, and [all …]
|
/openbmc/openbmc/meta-security/classes/ |
H A D | aide-db-init.bbclass | 5 # the build cycle allowing for that set being skipped during boot 7 # after build. 9 # To have the aide db created during build 11 # INHERIT += "adie-init-db" 13 # These are the defaults as defined in aide-base.bbclass 17 # STAGING_AIDE_DIR = "${TMPDIR}/work-shared/${MACHINE}/aida" 31 inherit aide-base 34 for dir in ${AIDE_INCLUDE_DIRS}; do 35 echo "${IMAGE_ROOTFS}${dir} NORMAL" >> ${STAGING_AIDE_DIR}/aide.conf 37 for dir in ${AIDE_SKIP_DIRS}; do [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_build.sh | 2 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 -h|--help) 6 echo -e "$0 [-j <n>]" 7 echo -e "\tTest the different ways of building bpftool." 8 echo -e "" 9 echo -e "\tOptions:" 10 echo -e "\t\t-j <n>:\tPass -j flag to 'make'." 18 # build attempts from the top of kernel repository. 19 SCRIPT_REL_PATH=$(realpath --relative-to=$PWD $0) 23 if [ ! -e tools/bpf/bpftool/Makefile ]; then [all …]
|
/openbmc/linux/tools/perf/ |
H A D | Makefile.perf | 1 # 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. 53 # Define NO_LIBELF if you do not want libelf dependency (e.g. cross-builds) [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | wic | 5 # SPDX-License-Identifier: GPL-2.0-only 108 Command-line handling for image creation. The real work is done 112 raise WicError("Can't build rootfs as bitbake is not in the $PATH") 116 for val, opt in [(options.rootfs_dir, 'rootfs-dir'), 117 (options.bootimg_dir, 'bootimg-dir'), 118 (options.kernel_dir, 'kernel-dir'), 119 (options.native_sysroot, 'native-sysroot')]: 123 raise WicError("The following build artifacts are not specified: %s" % 135 raise WicError("Couldn't verify build environment, exiting") 144 argv.append("--debug") [all …]
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | wic | 5 # SPDX-License-Identifier: GPL-2.0-only 108 Command-line handling for image creation. The real work is done 112 raise WicError("Can't build rootfs as bitbake is not in the $PATH") 116 for val, opt in [(options.rootfs_dir, 'rootfs-dir'), 117 (options.bootimg_dir, 'bootimg-dir'), 118 (options.kernel_dir, 'kernel-dir'), 119 (options.native_sysroot, 'native-sysroot')]: 123 raise WicError("The following build artifacts are not specified: %s" % 135 raise WicError("Couldn't verify build environment, exiting") 144 argv.append("--debug") [all …]
|
/openbmc/docs/testing/ |
H A D | local-ci-build.md | 1 # Local CI Build 13 `sudo docker run hello-world`. 26 git clone https://github.com/openbmc/openbmc-build-scripts.git 29 ## Add a Read-Only Repo 33 clones and builds phosphor-hwmon directly. The upstream CI will try building 35 `format-code.sh` and check if the code is formatted properly if there is a 36 `.clang-format` file present in the target repository, or if there is a script 37 in the repo named `format-code.sh`. 41 git clone https://github.com/openbmc/phosphor-hwmon 42 WORKSPACE=$(pwd) UNIT_TEST_PKG=phosphor-hwmon \ [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/manual/ |
H A D | oe-core.json | 4 "@alias": "oe-core.bitbake.Test_bitbake_menuconfig", 21 "action": "source oe-init-build-env && cd build \n\n", 29 "action": "bitbake linux-yocto -c kernel_configme -f \n\n", 33 "action": "bitbake linux-yocto -c menuconfig \n\n", 37 …e the interface to navigate through the selections and \n enable option \"64-bit kernel\" \n\n", 42 …d_results": "Open file: \n \npoky/build//tmp/work/qemux86-poky-linux/linux-yocto/4.X.X+*/linux-qe… 50 "@alias": "oe-core.bitbake.test_bitbake_devshell", 67 "action": "source oe-init-build-env && cd build ", 71 "action": "bitbake matchbox-desktop ", 72 "expected_results": "Package was build correctly " [all …]
|