summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanase Yuki <dev@zpc.sakura.ne.jp>2020-10-02 17:06:25 +0900
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2022-06-10 13:54:45 +0200
commit02d4a7161ee0854b4256e03c8511026fe579edec (patch)
tree78660e705e5c3fc882ae1c2b83da645cee0a2162
parent21ee1aa46a82a529137958446da644b993a1dca9 (diff)
beep: fix dependency to support non-x86 target and kmod-gpio-beeper
Beep is a target-independent software that can handle buzzers controlled by kmod-gpio-beeper. This change is useful for some non-x86 enterprise APs and development boards that have a buzzer connected to GPIO. Compile-tested: ath79, ELECOM WAB-I1750-PS, 3fab4ac + device support patch Run-tested: ath79, ELECOM WAB-I1750-PS, 3fab4ac + device support patch Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp> (cherry picked from commit 9bcea2de2cf552d544786d1e4b82f55cda7015b1)
-rw-r--r--utils/beep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/beep/Makefile b/utils/beep/Makefile
index 9f91dc765..8a011007c 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:=1
+PKG_RELEASE:=2
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:=@(TARGET_x86||TARGET_x86_64) +kmod-pcspkr
+ DEPENDS:=@(PACKAGE_kmod-pcspkr||PACKAGE_kmod-gpio-beeper)
TITLE:=Play beep sounds through a PC speaker
URL:=http://johnath.com/beep/README
endef