florian 0f909ece6b input-utils: update to 1.1
- change upstream URL
- update to 1.1 release
- delete obsolete patches (they are in upstream)

patch 001
- fix compile on sys with sh->dash (Debian,Ubuntu)
Error:
Make.config:1: *** empty variable name.  Stop.
Reason: echo -e in mk/Autoconf.mk

patch 002:
- use path of Linux headers from environment (INPUT)
for generating files with name.sh
Error depending on Kernel:
In file included from input.c:48:0:
KEY.h:243:4: error: 'KEY_WWAN' undeclared here (not in a function)
  [ KEY_WWAN         ] = "WWAN",

fixes https://dev.openwrt.org/ticket/14028

unsure if the right header is included
compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 00:57:45 +00:00

48 lines
1.1 KiB
Makefile

#
# Copyright (C) 2007,2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=input-utils
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/input-$(PKG_VERSION)/
PKG_SOURCE:=input-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.kraxel.org/cgit/input/snapshot
PKG_MD5SUM:=592b1b45d9d891725f7793999aa52f31
include $(INCLUDE_DIR)/package.mk
define Package/input-utils
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Utilities for the input layer of the Linux kernel
endef
define Build/Configure
endef
define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)" \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
STRIP="true" \
INPUT="$(LINUX_DIR)/include/uapi/linux/input.h" \
build
endef
define Package/input-utils/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/input-events $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/input-kbd $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lsinput $(1)/usr/bin/
endef
$(eval $(call BuildPackage,input-utils))