summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanase Yuki <dev@zpc.sakura.ne.jp>2020-12-03 21:50:16 +0900
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2022-06-10 13:54:49 +0200
commite0a2e6f41c643aba07eaee4fdf3f41e355f45759 (patch)
tree4a3f3fb9726ff8ab7b1cc5fa188dcd301ca33ca3
parent02d4a7161ee0854b4256e03c8511026fe579edec (diff)
beep: restore a dependency definition to the previous one on x86 target
Commit 9bcea2de2cf552d544786d1e4b82f55cda7015b1 causes a dependency problem with some out-of-tree packages which expect "DEPENDS:=+kmod-pcspkr". To fix this problem, this commit restores a dependency definition to the previous one on x86 target. Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp> (cherry picked from commit 8b1216fb49dbc4f444606d0fb8c32297d66336c0)
-rw-r--r--utils/beep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/beep/Makefile b/utils/beep/Makefile
index 8a011007c..5d54d8283 100644
--- a/utils/beep/Makefile
+++ b/utils/beep/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=beep
PKG_REV:=0d790fa45777896749a885c3b93b2c1476d59f20
PKG_VERSION:=1.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/johnath/beep.git
@@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/beep
SECTION:=sound
CATEGORY:=Sound
- DEPENDS:=@(PACKAGE_kmod-pcspkr||PACKAGE_kmod-gpio-beeper)
+ DEPENDS:=+TARGET_x86:kmod-pcspkr @!TARGET_x86:kmod-gpio-beeper
TITLE:=Play beep sounds through a PC speaker
URL:=http://johnath.com/beep/README
endef