Skip to content
Snippets Groups Projects
Commit 192d45a4 authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

beep: Removed custom beep recipe

The beep recipe was backported to Dunfell. There is an upstream beep
recipe for Kirkstone, so we don't need our custom recipe anymore.
parent 9b4db258
No related branches found
No related tags found
1 merge request!418Integrate gitlab-ci/fix-gitlab-ci-integration and 6 more
SUMMARY = "beep allows you to have the PC speaker issue beeps and beep patterns"
DESCRIPTION = "beep allows you to have the PC speaker issue beeps and beep \
patterns with given frequencies, durations, and spacing."
HOMEPAGE = "https://github.com/spkr-beep/beep"
BUGTRACKER = "https://github.com/spkr-beep/beep/issues"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/spkr-beep/beep.git;protocol=https;branch=master \
file://0001-Do-not-use-Werror-as-it-fails-with-newer-clang-11.patch \
"
SRCREV = "8b85ddd09f73b9fd7caa5679298781a57af194ac"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = " \
COMPILER_gcc='${CC}' \
LINKER_gcc='${CC}' \
COMPILER_clang=no \
LINKER_clang=no \
"
EXTRA_OEMAKE:toolchain-clang = " \
COMPILER_clang='${CC}' \
LINKER_clang='${CC}' \
COMPILER_gcc=no \
LINKER_gcc=no \
"
do_install() {
oe_runmake install DESTDIR='${D}'
}
From 6b33adfa438e35b6a37cfb0364274370ef4f9fc1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 23 Dec 2020 18:00:59 +0000
Subject: [PATCH] Do not use -Werror as it fails with newer clang 11+
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
GNUmakefile | 1 -
1 file changed, 1 deletion(-)
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -91,12 +91,13 @@ comma := ,
# If supported by COMPILER_gcc, add given flags to CFLAGS_gcc.
# Example usage:
# $(eval $(call CHECK_CFLAGS_gcc,-fasynchronous-unwind-tables))
-define CHECK_CFLAGS_gcc
-CFLAGS_gcc += $$(if $$(shell if $$(COMPILER_gcc) $(1) -x c -o compile-check.gcc-o -c - < /dev/null > /dev/null 2>&1; then echo yes; else :; fi; rm -f compile-check.gcc-o > /dev/null 2>&1),$(1))
-endef
COMPILER_gcc = gcc
LINKER_gcc = gcc
+ifneq ($(COMPILER_gcc),no)
+define CHECK_CFLAGS_gcc
+CFLAGS_gcc += $$(if $$(shell if $$(COMPILER_gcc) $(1) -x c -o compile-check.gcc-o -c - < /dev/null > /dev/null 2>&1; then echo yes; else :; fi; rm -f compile-check.gcc-o > /dev/null 2>&1),$(1))
+endef
CPPFLAGS_gcc =
CFLAGS_gcc =
CFLAGS_gcc += -std=gnu99 -pedantic
@@ -113,30 +114,24 @@ CFLAGS_gcc += -save-temps=obj
LDFLAGS_gcc =
LIBS_gcc =
-ifneq ($(call pathsearch,$(COMPILER_gcc)),)
-ifneq ($(COMPILER_gcc)),no)
COMPILERS += gcc
endif
-endif
COMPILER_clang = clang
LINKER_clang = clang
+
+ifneq ($(COMPILER_clang),no)
CPPFLAGS_clang =
CFLAGS_clang += -Wall -Wextra
CFLAGS_clang += -Weverything
CFLAGS_clang += -Wno-padded
CFLAGS_clang += -std=gnu99 -pedantic
-CFLAGS_clang += -Werror
-CFLAGS_clang += -fsanitize=undefined
CFLAGS_clang += -O -g
LDFLAGS_clang =
LIBS_clang =
-ifneq ($(call pathsearch,$(COMPILER_clang)),)
-ifneq ($(COMPILER_clang),no)
COMPILERS += clang
endif
-endif
########################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment