/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/colord/colord/ |
H A D | 0001-Run-native-cd_idt8-cd_create_profile.patch | 2 From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 5 MIME-Version: 1.0 6 Content-Type: text/plain; charset=UTF-8 7 Content-Transfer-Encoding: 8bit 9 Upstream-Status: Inappropriate [OE specific] 11 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 12 --- 13 data/cmf/meson.build | 2 +- 14 data/illuminant/meson.build | 2 +- 15 data/profiles/meson.build | 2 +- [all …]
|
/openbmc/linux/scripts/ |
H A D | Makefile.gcc-plugins | 1 # SPDX-License-Identifier: GPL-2.0 3 gcc-plugin-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) += latent_entropy_plugin.so 4 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) \ 5 += -DLATENT_ENTROPY_PLUGIN 7 …DISABLE_LATENT_ENTROPY_PLUGIN += -fplugin-arg-latent_entropy_plugin-disable -ULATENT_ENTROPY_PLUGIN 11 gcc-plugin-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) += structleak_plugin.so 12 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE) \ 13 += -fplugin-arg-structleak_plugin-verbose 14 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) \ 15 += -fplugin-arg-structleak_plugin-byref [all …]
|
/openbmc/qemu/tests/docker/dockerfiles/ |
H A D | debian-toolchain.docker | 2 # Docker toolchain cross-compiler 4 # This dockerfile is used for building a cross-compiler toolchain. 5 # The script for building the toolchain is supplied via extra-files. 7 FROM docker.io/library/debian:11-slim 9 # Install build utilities for building gcc and glibc. 10 # ??? The build-dep isn't working, missing a number of 11 # minimal build dependiencies, e.g. libmpc. 13 RUN sed 's/^deb /deb-src /' </etc/apt/sources.list >/etc/apt/sources.list.d/deb-src.list 16 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 18 apt install -y --no-install-recommends \ [all …]
|
H A D | debian-hexagon-cross.docker | 2 # Docker Hexagon cross-compiler target 5 # needs to be able to build QEMU itself in CI we include its 6 # build-deps. 8 FROM docker.io/library/debian:11-slim 10 # Duplicate deb line as deb-src 11 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 12 RUN apt-get update && \ 13 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 15 # Install common build utilities 16 apt-get install -y --no-install-recommends \ [all …]
|
H A D | debian-loongarch-cross.docker | 2 # Docker cross-compiler target 5 # https://github.com/loongson/build-tools/releases 7 FROM docker.io/library/debian:11-slim 9 # Duplicate deb line as deb-src 10 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 13 apt-get update && \ 14 apt-get install -y eatmydata && \ 15 eatmydata apt-get dist-upgrade -y && \ 16 apt build-dep -yy qemu 18 RUN apt-get update && \ [all …]
|
H A D | debian-all-test-cross.docker | 2 # Docker all cross-compiler target (tests only) 5 # build environments which can cross build QEMU this just installs the 7 # to build and run linux-user tests on GitLab 9 FROM docker.io/library/debian:12-slim 11 # Duplicate deb line as deb-src 12 RUN sed -in "s/Types: deb/Types: deb deb-src/g" /etc/apt/sources.list.d/debian.sources 15 apt-get update && \ 16 apt-get install -y eatmydata && \ 17 eatmydata apt-get dist-upgrade -y && \ 18 apt build-dep -yy qemu [all …]
|
H A D | debian-legacy-test-cross.docker | 1 # Docker legacy cross-compiler target (tests and minimal qemu) 6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412 7 # sh4-linux-user: binaries don't run with bookworm compiler 9 # As we are targeting check-tcg here we only need minimal qemu 12 FROM docker.io/library/debian:11-slim 14 # Duplicate deb line as deb-src 15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 18 apt-get update && \ 19 apt-get install -y eatmydata && \ 20 eatmydata apt-get dist-upgrade -y && \ [all …]
|
H A D | debian-tricore-cross.docker | 2 # Docker TriCore cross-compiler target 8 # Copyright (c) 2018 Philippe Mathieu-Daudé 10 # SPDX-License-Identifier: GPL-2.0-or-later 12 FROM docker.io/library/debian:11-slim 14 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> 17 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 18 DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy \ 21 ca-certificates \ 28 libglib2.0-dev \ 29 libpixman-1-dev \ [all …]
|
/openbmc/qemu/scripts/tracetool/ |
H A D | __init__.py | 1 # -*- coding: utf-8 -*- 4 Machinery for generating tracing-related intermediate files. 8 __copyright__ = "Copyright 2012-2017, Lluís Vilanova <vilanova@ac.upc.edu>" 112 ---------- 117 for arg in args: 118 if isinstance(arg, Arguments): 119 self._args.extend(arg._args) 121 self._args.append(arg) 128 def build(arg_str): member in Arguments 129 """Build and Arguments instance from an argument string. [all …]
|
/openbmc/u-boot/tools/buildman/ |
H A D | control.py | 1 # SPDX-License-Identifier: GPL-2.0+ 33 count = (count + options.step - 1) / options.step 57 builder: The builder that will be used to build the commits 70 print 'Build directory: %s' % builder.base_dir 77 for arg in why_selected: 78 if arg != 'all': 79 print arg, ': %d boards' % len(why_selected[arg]) 81 print ' %s' % ' '.join(why_selected[arg]) 82 print ('Total boards to build for each commit: %d\n' % 92 (which is assumed to hold the U-Boot source) we may end up deleting the [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0002-add-fallback-parse_printf_format-implementation.patch | 6 Upstream-Status: Inappropriate [musl specific] 8 Signed-off-by: Emil Renner Berthing <systemd@esmil.dk> 9 Signed-off-by: Khem Raj <raj.khem@gmail.com> 10 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 12 Signed-off-by: Scott Murray <scott.murray@konsulko.com> 13 --- 14 meson.build | 1 + 15 src/basic/meson.build | 5 + 16 src/basic/parse-printf-format.c | 273 +++++++++++++++++++++++ 17 src/basic/parse-printf-format.h | 57 +++++ [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0004-add-fallback-parse_printf_format-implementation.patch | 6 Upstream-Status: Inappropriate [musl specific] 8 Signed-off-by: Emil Renner Berthing <systemd@esmil.dk> 9 Signed-off-by: Khem Raj <raj.khem@gmail.com> 10 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 12 Signed-off-by: Scott Murray <scott.murray@konsulko.com> 13 --- 14 meson.build | 1 + 15 src/basic/meson.build | 5 + 16 src/basic/parse-printf-format.c | 273 +++++++++++++++++++++++ 17 src/basic/parse-printf-format.h | 57 +++++ [all …]
|
/openbmc/docs/testing/ |
H A D | run-test-docker.md | 6 ## Build Docker Image 18 3. Clone openbmc-build-scripts repository. 20 `git clone https://github.com/openbmc/openbmc-build-scripts` 22 4. Change directory to openbmc-build-scripts. 24 `cd openbmc-build-scripts` 26 5. Build the Docker image required to execute the robot tests (it may take close 28 "openbmc/ubuntu-robot-qemu". You can check images using "docker images" 31 `./scripts/build-qemu-robot-docker.sh` 33 …###### _Note: When your Docker is behind a proxy, add the following parameters to the build comman… 36 --build-arg http_proxy=<IP>:<PORT> --build-arg https_proxy=<IP>:<PORT> [all …]
|
/openbmc/linux/init/ |
H A D | version.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/build-salt.h> 12 #include <linux/elfnote-lto.h> 20 static int __init early_hostname(char *arg) in early_hostname() argument 23 size_t maxlen = bufsize - 1; in early_hostname() 26 arglen = strlcpy(init_uts_ns.name.nodename, arg, bufsize); in early_hostname() 44 * init_uts_ns and linux_banner contain the build version and timestamp, 45 * which are really fixed at the very last step of build process. 52 #include "version-timestamp.c"
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | build-qemu-robot-docker.sh | 1 #!/bin/bash -xe 3 # Build the required docker image to run QEMU and Robot test cases 16 # default is openbmc/ubuntu-robot-qemu 17 # param2: <optional, the distro to build a docker image against> 19 set -uo pipefail 21 http_proxy=${http_proxy:-} 23 DOCKER_IMG_NAME=${1:-"openbmc/ubuntu-robot-qemu"} 24 DISTRO=${2:-"ubuntu:jammy"} 25 UBUNTU_MIRROR=${UBUNTU_MIRROR:-""} 26 PIP_MIRROR=${PIP_MIRROR:-""} [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | cmdline.py | 1 # SPDX-License-Identifier: GPL-2.0+ 5 # Command-line parser for binman 11 """Parse the binman command-line arguments 16 Tuple (options, args) with the command-line options and arugments. 21 parser.add_option('-a', '--entry-arg', type='string', action='append', 22 help='Set argument value arg=value') 23 parser.add_option('-b', '--board', type='string', 24 help='Board name to build') 25 parser.add_option('-B', '--build-dir', type='string', default='b', 26 help='Directory containing the build output') [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | buildall-qemu | 4 # SPDX-License-Identifier: GPL-2.0-only 6 # buildall-qemu: a tool for automating build testing of recipes 7 # TODO: Add support for selecting which qemu architectures to build 15 …echo "Executes a build of a given target for selected LIBCs. With no options, default to both libc… 17 echo "-l, --libc Specify one of \"glibc\" or \"musl\"" 23 # Get path to oe-core directory. Since oe-init-build-env prepends $PATH with 25 SCRIPTS_PATH="$(echo "$PATH" | cut -d ":" -f 1)" 29 …ET_LIST=$(find "$OE_CORE_PATH"/meta/conf/machine -maxdepth 1 -type f | grep qemu | sed 's|.*/||' |… 32 if [ -n "$2" ] 41 START_TIME=$(date "+%Y-%m-%d_%H:%M:%S") [all …]
|
/openbmc/qemu/tests/docker/ |
H A D | Makefile.include | 3 .PHONY: docker docker-help docker-test docker-clean docker-image docker-qemu-src 9 HOST_ARCH = $(shell uname -m) 10 USER = $(if $(NOUSER),,$(shell id -un)) 11 UID = $(if $(NOUSER),,$(shell id -u)) 15 DOCKER_DEFAULT_REGISTRY := registry.gitlab.com/qemu-project/qemu 19 RUNC ?= $(if $(shell command -v docker), docker, podman) 20 DOCKER_SCRIPT=$(SRC_PATH)/tests/docker/docker.py --engine $(RUNC) 22 CUR_TIME := $(shell date +%Y-%m-%d-%H.%M.%S.$$$$) 23 DOCKER_SRC_COPY := $(BUILD_DIR)/docker-src.$(CUR_TIME) 29 $(call quiet-command, cp "$(SRC_ARCHIVE)" $@/qemu.tar, \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/ |
H A D | 0001-mdadm.h-Undefine-dprintf-before-redefining.patch | 12 ./mdadm.h:1562:9: error: 'dprintf' macro redefined [-Werror,-Wmacro-redefined] 14 /mnt/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/bits/stdio2.h:145:12: note: … 16 Signed-off-by: Khem Raj <raj.khem@gmail.com> 17 Upstream-Status: Pending 18 --- 22 diff --git a/mdadm.h b/mdadm.h 24 --- a/mdadm.h 26 @@ -1869,11 +1869,13 @@ static inline sighandler_t signal_s(int sig, sighandler_t handler) 31 #define dprintf(fmt, arg...) \ 32 fprintf(stderr, "%s: %s: "fmt, Name, __func__, ##arg) [all …]
|
/openbmc/u-boot/scripts/ |
H A D | Kbuild.include | 14 dot-target = $(dir $@).$(notdir $@) 17 # The temporary file to save gcc -MD generated dependencies must not 19 depfile = $(subst $(comma),_,$(dot-target).d) 50 # - If no file exist it is created 51 # - If the content differ the new file is used 52 # - If they are equal no change, and no timestamp update 53 # - stdin is piped in from the first prerequisite ($<) so one has 56 $(Q)set -e; \ 58 mkdir -p $(dir $@); \ 60 if [ -r $@ ] && cmp -s $@ $@.tmp; then \ [all …]
|
/openbmc/qemu/tests/avocado/avocado_qemu/ |
H A D | __init__.py | 9 # later. See the COPYING file in the top-level directory. 28 #: The QEMU build root directory. It may also be the source directory 31 #: and build tree, it will not be accurate. 39 @skipUnless(*has_cmd('sudo -n', ('sudo', '-n', 'true'))) 50 exitcode = -1 65 @skipUnless(*has_cmds(('cmd1', ('cmd1', '--some-parameter')), 95 def pick_default_qemu_bin(bin_prefix='qemu-system-', arch=None): 118 os.path.join(BUILD_DIR, "build", qemu_bin_name), 252 self.cancel("No QEMU binary defined or found in the build tree") 273 super().setUp('qemu-system-') [all …]
|
/openbmc/openbmc/meta-raspberrypi/.github/workflows/docker-images/yocto-builder/ |
H A D | Dockerfile | 1 # SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com> 3 # SPDX-License-Identifier: MIT 7 ARG DEBIAN_FRONTEND="noninteractive" 8 RUN apt-get update -qq 9 RUN apt-get install -y eatmydata 11 # Yocto/OE build host dependencies 14 RUN eatmydata apt-get install -qq -y \ 15 gawk wget git diffstat unzip texinfo gcc build-essential chrpath \ 16 socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \ 17 iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-transform.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Transform a qemu-cmd file to allow reuse. 6 # Usage: kvm-transform.sh bzImage console.log jitter_dir seconds [ bootargs ] < qemu-cmd-in > qemu-… 15 # The original qemu-cmd file is provided on standard input. 16 # The transformed qemu-cmd file is on standard output. 24 T=`mktemp -d /tmp/kvm-transform.sh.XXXXXXXXXX` 25 trap 'rm -rf $T' 0 2 28 if test -z "$image" 34 if test -z "$consolelog" 40 if test -z "$jitter_dir" || ! test -d "$jitter_dir" [all …]
|
/openbmc/linux/fs/verity/ |
H A D | enable.c | 1 // SPDX-License-Identifier: GPL-2.0 34 if (WARN_ON_ONCE(next->is_root_hash && next->filled != 0)) in hash_one_block() 35 return -EINVAL; in hash_one_block() 37 /* Zero-pad the block if it's shorter than the block size. */ in hash_one_block() 38 memset(&cur->data[cur->filled], 0, params->block_size - cur->filled); in hash_one_block() 40 err = fsverity_hash_block(params, inode, cur->data, in hash_one_block() 41 &next->data[next->filled]); in hash_one_block() 44 next->filled += params->digest_size; in hash_one_block() 45 cur->filled = 0; in hash_one_block() 53 u64 pos = (u64)index << params->log_blocksize; in write_merkle_tree_block() [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_dynevent.c | 1 // SPDX-License-Identifier: GPL-2.0 27 if (WARN_ON_ONCE(!(dyn_call->flags & TRACE_EVENT_FL_DYNAMIC))) in trace_event_dyn_try_get_ref() 33 atomic_inc(&dyn_call->refcnt); in trace_event_dyn_try_get_ref() 43 if (WARN_ON_ONCE(!(call->flags & TRACE_EVENT_FL_DYNAMIC))) in trace_event_dyn_put_ref() 46 if (WARN_ON_ONCE(atomic_read(&call->refcnt) <= 0)) { in trace_event_dyn_put_ref() 47 atomic_set(&call->refcnt, 0); in trace_event_dyn_put_ref() 51 atomic_dec(&call->refcnt); in trace_event_dyn_put_ref() 56 return atomic_read(&call->refcnt) != 0; in trace_event_dyn_busy() 61 if (!ops || !ops->create || !ops->show || !ops->is_busy || in dyn_event_register() 62 !ops->free || !ops->match) in dyn_event_register() [all …]
|