Update Makefile

This commit is contained in:
Chris Blake 2017-01-16 03:10:38 -06:00 committed by GitHub
parent 2568b67875
commit 99605fb630
1 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2017 OpenWrt.org
# Copyright (C) 2017 Chris Blake (chrisrblake93@gmail.com)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -18,15 +18,15 @@ PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_LICENSE:=GPL
PKG_LICENSE_FILES:=
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
define Package/beep
SECTION:=sound
CATEGORY:=Sound
DEPENDS:=+kmod-pcspkr
DEPENDS:=@(TARGET_x86||TARGET_x86_64) +kmod-pcspkr
TITLE:=Play beep sounds through a PC speaker
URL:=http://johnath.com/beep/README
endef
@ -35,10 +35,6 @@ define Package/beep/description
This program plays beeps through the PC speaker
endef
CONFIGURE_ARGS += \
--enable-static \
--enable-shared
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)"