Home
last modified time | relevance | path

Searched +full:- +full:- +full:extra +full:- +full:cflags (Results 1 – 25 of 121) sorted by relevance

12345

/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer/
H A D0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch7 --extra-cflags and --extra-ldflags.
9 Upstream-Status: Inappropriate [embedded specific]
10 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
12 ---
13 Makefile.ffmpeg | 5 ++++-
14 1 file changed, 4 insertions(+), 1 deletion(-)
18 --- git.orig/Makefile.ffmpeg
20 @@ -1,5 +1,7 @@
21CFLAGS=-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D…
23 +FFMPEG_EXTRA_CFLAGS?=-mfpu=vfp -mfloat-abi=$(FLOAT)
[all …]
H A D0001-Specify-cc-cxx-and-ld-variables-from-environment.patch3 Date: Wed, 12 Sep 2018 22:18:07 -0700
4 Subject: [PATCH] Specify --cc, --cxx and --ld variables from environment
6 This helps in compiling with non-gcc compilers
8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 ---
10 Upstream-Status: Pending
12 Makefile.ffmpeg | 22 ++++++++++++++--------
13 1 file changed, 14 insertions(+), 8 deletions(-)
17 --- git.orig/Makefile.ffmpeg
19 @@ -22,12 +22,15 @@ configure:
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/
H A Dacinclude.m41 dnl AX_KERNEL_OPTION(option, action-if-found, action-if-not-found)
4 SAVE_CFLAGS=$CFLAGS
5 CFLAGS="-I$KINC -O2 -D__KERNEL__"
12 CFLAGS=$SAVE_CFLAGS
18 if test ! -f $KINC/linux/autoconf.h; then
22 dnl --- Get Linux kernel version and compile parameters ---
26 dnl it's like this to handle mandrake's fubar version.h - bug #471448
27 eval KVERS=`gcc -I$KINC -E -dM $KINC/linux/version.h | grep -w UTS_RELEASE | awk '{print $[]3}'`
40 if test -f $KINC/linux/spinlock.h; then
41 EXTRA_CFLAGS_MODULE="$EXTRA_CFLAGS_MODULE -DHAVE_LINUX_SPINLOCK_HEADER"
[all …]
/openbmc/linux/drivers/media/usb/siano/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
2 obj-$(CONFIG_SMS_USB_DRV) += smsusb.o
4 ccflags-y += -I $(srctree)/drivers/media/common/siano
5 ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/aoetools/aoetools/
H A Dmakefile-add-ldflags.patch1 Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed.
3 Upstream-Status: Pending
5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
7 diff --git a/Makefile b/Makefile
9 --- a/Makefile
11 @@ -68,17 +68,17 @@ clean :
12 rm -f ${CONF_SCRIPTS} ${AOE_PING_OBJ} ${AOE_CFG_OBJ} ${SANCHECK_OBJ} ${PROGS}
15 - ${CC} ${CFLAGS} -o $@ ${AOE_PING_OBJ}
16 + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${AOE_PING_OBJ}
18 ${CC} ${CFLAGS} -o $@ -c $<
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/mcelog/mce-test/
H A Dmakefile-remove-ldflags.patch1 Remove the default CFLAGS and LDFLAGS in Makefile. Ensure the extra linker flags can be passed.
3 Upstream-Status: Inappropriate [embedded specific]
5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
7 diff --git a/cases/stress/hwpoison/Makefile b/cases/stress/hwpoison/Makefile
9 --- a/cases/stress/hwpoison/Makefile
11 @@ -1,8 +1,8 @@
12 -CFLAGS := -g -Wall
13 -LDFLAGS := -g
14 +#CFLAGS := -g -Wall
15 +#LDFLAGS := -g
[all …]
/openbmc/linux/drivers/media/usb/au0828/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 au0828-objs := au0828-core.o au0828-i2c.o au0828-cards.o au0828-dvb.o
5 au0828-objs += au0828-video.o au0828-vbi.o
9 au0828-objs += au0828-input.o
12 obj-$(CONFIG_VIDEO_AU0828) += au0828.o
14 ccflags-y += -I $(srctree)/drivers/media/tuners
15 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
17 ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
/openbmc/qemu/tests/docker/
H A Dtest-clang1 #!/bin/bash -e
12 # the top-level directory.
20 OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
21 OPTS="$OPTS --extra-cflags=-fsanitize=undefined \
22 --extra-cflags=-fno-sanitize=float-divide-by-zero"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/dfu-util/
H A Ddfu-util-native_0.11.bb1 require dfu-util_${PV}.bb
5 DEPENDS = "libusb1-native"
9 PACKAGECONFIG[static] = "CFLAGS='${CFLAGS} -pthread -static',,"
12 install -m 0755 src/dfu-util ${DEPLOYDIR}/dfu-util-${PV}
13 rm -f ${DEPLOYDIR}/dfu-util
14 ln -sf ./dfu-util-${PV} ${DEPLOYDIR}/dfu-util
21 # clear stamp-extra-info since MACHINE_ARCH is normally put there by
23 do_deploy[stamp-extra-info] = ""
/openbmc/linux/drivers/media/pci/cx23885/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 cx23885-objs := cx23885-cards.o cx23885-video.o cx23885-vbi.o \
3 cx23885-core.o cx23885-i2c.o cx23885-dvb.o cx23885-417.o \
4 cx23885-ioctl.o cx23885-ir.o cx23885-av.o cx23885-input.o \
5 cx23888-ir.o netup-init.o cimax2.o netup-eeprom.o \
6 cx23885-f300.o cx23885-alsa.o
8 obj-$(CONFIG_VIDEO_CX23885) += cx23885.o
9 obj-$(CONFIG_MEDIA_ALTERA_CI) += altera-ci.o
11 ccflags-y += -I $(srctree)/drivers/media/tuners
12 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0015-powerpc-Do-not-ask-compiler-for-finding-arch.patch3 Date: Fri, 7 Aug 2020 14:31:16 -0700
7 and moreover it uses its own -mcpu/-march options via cflags
9 Upstream-Status: Inappropriate [ OE-Specific]
11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 ---
13 sysdeps/powerpc/preconfigure | 5 +----
14 sysdeps/powerpc/preconfigure.ac | 5 +----
15 2 files changed, 2 insertions(+), 8 deletions(-)
17 diff --git a/sysdeps/powerpc/preconfigure b/sysdeps/powerpc/preconfigure
19 --- a/sysdeps/powerpc/preconfigure
[all …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
5 # things like ftrace and stack-protector are likely to cause trouble if left
9 # non-x86 reuses KBUILD_CFLAGS, x86 does not
10 cflags-y := $(KBUILD_CFLAGS)
12 cflags-$(CONFIG_X86_32) := -march=i386
13 cflags-$(CONFIG_X86_64) := -mcmodel=small
14 cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ \
15 -fPIC -fno-strict-aliasing -mno-red-zone \
16 -mno-mmx -mno-sse -fshort-wchar \
17 -Wno-pointer-sign \
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/agent-proxy/files/
H A D0001-Makefile-Add-LDFLAGS-variable.patch6 Add LDFLAGS variable to make sure the extra linkder
9 Upstream-Status: Pending
11 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
12 ---
13 Makefile | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
16 diff --git a/Makefile b/Makefile
18 --- a/Makefile
20 @@ -51,7 +51,7 @@ $(CROSS_COMPILE)agent-proxy: $(OBJS)
21 $(CC) -DAGENT_VER=$(AGENTVER) $(LINKFLAGS) $(CFLAGS) -o $(extpath)$@ $(OBJS) wsock32.lib
[all …]
/openbmc/qemu/scripts/oss-fuzz/
H A Dbuild.sh1 #!/bin/bash -e
3 # OSS-Fuzz build script. See:
4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh
7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles
10 # the COPYING file in the top-level directory.
17 # make -j$(nproc) all
21 # $CXX $CXXFLAGS -std=c++11 -Iinclude \
22 # /path/to/name_of_fuzzer.cc -o $OUT/name_of_fuzzer \
23 # -fsanitize=fuzzer /path/to/library.a
30 OSS_FUZZ_BUILD_DIR="./build-oss-fuzz/"
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/tsocks/tsocks/
H A Dmakefile-add-ldflags.patch1 Add LDFLAGS variable to Makefile.in, make sure the extra linker flags can be passed.
3 Upstream-Status: Pending
5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
7 diff --git a/Makefile.in b/Makefile.in
9 --- a/Makefile.in
11 @@ -50,7 +50,7 @@ ${SAVE}: ${SAVE}.c
12 ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c
15 - ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYN…
16 + ${SHCC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARS…
17 ln -sf ${SHLIB} ${LIB_NAME}.so
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/zeroconf/zeroconf/
H A Dmakefile-add-ldflags.patch1 Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed.
3 Upstream-Status: Pending
5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
7 diff --git a/Makefile b/Makefile
9 --- a/Makefile
11 @@ -18,7 +18,7 @@ clean:
15 - $(Q)$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
16 + $(Q)$(CC) $(CFLAGS) ${LDFLAGS} -o $@ $^ $(LIBS)
/openbmc/linux/arch/ia64/
H A DMakefile5 # architecture-specific flags and dependencies.
11 # Copyright (C) 1998-2004 by David Mosberger-Tang <davidm@hpl.hp.com>
16 NM := $(CROSS_COMPILE)nm -B
18 CHECKFLAGS += -D__ia64=1 -D__ia64__=1 -D_LP64 -D__LP64__
20 OBJCOPYFLAGS := --strip-all
21 LDFLAGS_vmlinux := -static
22 KBUILD_AFLAGS_KERNEL := -mconstant-gp
23 EXTRA := macro
25 cflags-y := -pipe $(EXTRA) -ffixed-r13 -mfixed-range=f12-f15,f32-f127 \
26 -frename-registers -fno-optimize-sibling-calls
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/tunctl/tunctl/
H A Dmakefile-add-ldflags.patch1 Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed.
3 Upstream-Status: Pending
5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
7 diff --git a/Makefile b/Makefile
9 --- a/Makefile
11 @@ -14,7 +14,7 @@ MAN_DIR ?= /usr/share/man/man$(MANS)
15 - $(CC) $(CFLAGS) -o $(BIN) $(BIN).c
16 + $(CC) $(CFLAGS) ${LDFLAGS} -o $(BIN) $(BIN).c
/openbmc/openbmc/poky/meta/recipes-graphics/glew/
H A Dglew_2.2.0.bb2 DESCRIPTION = "The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ e…
8 SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \
9 file://0001-Fix-build-race-in-Makefile.patch \
11 file://no-strip.patch"
17 UPSTREAM_CHECK_REGEX = "/glew/(?P<pver>(\d+[\.\-_]*)+)/"
23 PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', 'egl-gles2', d)}"
25 # The opengl and egl-XXX options are exclusive, enable only one.
26 …IG[opengl] = "SYSTEM='linux',,virtual/libx11 virtual/libgl libglu libxext libxi libxmu,,,egl-gles2"
27 PACKAGECONFIG[egl-gles2] = "SYSTEM='linux-egl' GLEW_NO_GLU='-DGLEW_NO_GLU' LDFLAGS.GL='-lEGL -lGLES…
29 CFLAGS += "-D_GNU_SOURCE"
[all …]
/openbmc/qemu/tests/tcg/
H A DMakefile.target1 # -*- Mode: makefile -*-
7 # ones we have cross-compilers for or docker images with
8 # cross-compilers.
11 # cross-compilers don't always have a large amount of libraries
17 # CC - the C compiler command
18 # EXTRA_CFLAGS - any extra CFLAGS
19 # BUILD_STATIC - are we building static binaries
23 # cross-compiler can only build dynamic libraries the user might need
24 # to make extra efforts to ensure ld.so can link at runtime when the
29 # We also expect to be in the tests build dir for the FOO-(linux-user|softmmu).
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
21 HOSTPKG_CONFIG := pkg-config
24 GENFLAGS := -DHAVE_GENHDR
27 BPF_GCC ?= $(shell command -v bpf-gcc;)
30 CFLAGS += -g -O0 -rdynamic -Wall -Werror $(GENFLAGS) $(SAN_CFLAGS) \
31 -I$(CURDIR) -I$(INCLUDE_DIR) -I$(GENDIR) -I$(LIBDIR) \
32 -I$(TOOLSINCDIR) -I$(APIDIR) -I$(OUTPUT)
34 LDLIBS += -lelf -lz -lrt -lpthread
38 CFLAGS += -Wno-unused-command-line-argument
42 ifneq ($(shell $(CLANG) --target=bpf -mcpu=help 2>&1 | grep 'v4'),)
[all …]
/openbmc/u-boot/scripts/dtc/pylibfdt/
H A Dsetup.py8 SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause
16 allows this script to be run stand-alone, e.g.:
18 ./pylibfdt/setup.py install [--prefix=...]
49 if line and line[-1] == '\\': # Deal with line continuation
50 prev_text += line[:-1]
70 This assumes that this script is being run from the top-level directory,
78 List of extra C preprocessor flags needed
82 swig_opts = ['-I%s' % basedir]
90 cflags = ['-I%s' % basedir, '-I%s/libfdt' % basedir]
92 return swig_opts, version, files, cflags, objdir
[all …]
/openbmc/linux/Documentation/kbuild/
H A Dmakefiles.rst29 architecture-specific information to the top Makefile.
34 any built-in or modular targets.
80 ----------------
90 obj-y += foo.o
95 If foo.o shall be built as a module, the variable obj-m is used.
100 obj-$(CONFIG_FOO) += foo.o
102 $(CONFIG_FOO) evaluates to either y (for built-in) or m (for module).
106 Built-in object goals - obj-y
107 -----------------------------
110 in the $(obj-y) lists. These lists depend on the kernel
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ipvsadm/ipvsadm/
H A Dmakefile-add-ldflags.patch4 Subject: [PATCH] Add LDFLAGS variable to Makefile, make sure the extra linker
7 Upstream-Status: Pending
9 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
13 Signed-off-by: Changqing Li <changqing.li@windriver.com>
14 ---
15 Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/Makefile b/Makefile
20 --- a/Makefile
22 @@ -86,7 +86,7 @@ libs:
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/bearssl/
H A Dbearssl_0.6.bb6 algorithm implementations are constant-time by default. \
13 * Be feature-rich and extensible. SSL/TLS has many defined cipher suites \
14 and extensions; BearSSL should implement most of them, and allow extra \
29 file://0002-test-test_x509.c-fix-potential-overflow-issue.patch \
34 # <..>/ld: build/obj/ghash_pclmul.o: warning: relocation against `br_ghash_pclmul' in read-only sec…
35 CFLAGS += "-fPIC"
37 EXTRA_OEMAKE += 'CC="${CC}" CFLAGS="${CFLAGS}" LDDLL="${CCLD} ${LDFLAGS}" LD="${CCLD}" LDFLAGS="${L…
39 LDDLLFLAGS="-shared -Wl,-soname,${SONAME}" \
46 install -d ${D}/${bindir} ${D}/${libdir} ${D}/${includedir}
47 install -m 0755 ${B}/build/brssl ${D}/${bindir}
[all …]

12345