mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-16 16:53:27 +08:00
9d274324de
Linuxconsoletools contains the inputattach utility to attach legacy serial devices to the Linux kernel input layer and joystick utilities to calibrate and test joysticks and joypads. The buildroot package adds options to build only certain tools. website: http://sf.net/projects/linuxconsole/ Signed-off-by: Koen Martens <gmc@sonologic.nl> [Thomas: minor tweaks to Config.in and .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# linuxconsoletools
|
|
#
|
|
################################################################################
|
|
|
|
LINUXCONSOLETOOLS_VERSION = 1.6.0
|
|
LINUXCONSOLETOOLS_SOURCE = linuxconsoletools-$(LINUXCONSOLETOOLS_VERSION).tar.bz2
|
|
LINUXCONSOLETOOLS_SITE = https://downloads.sourceforge.net/project/linuxconsole
|
|
LINUXCONSOLETOOLS_LICENSE = GPL-2.0+
|
|
LINUXCONSOLETOOLS_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH),y)
|
|
LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_INPUTATTACH=1
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK),y)
|
|
LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_JOYSTICK=1
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y)
|
|
LINUXCONSOLETOOLS_MAKE_OPTS += \
|
|
ENABLE_FORCEFEEDBACK=1 \
|
|
SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl-config
|
|
LINUXCONSOLETOOLS_DEPENDENCIES += sdl
|
|
endif
|
|
|
|
define LINUXCONSOLETOOLS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
$(LINUXCONSOLETOOLS_MAKE_OPTS)
|
|
endef
|
|
|
|
define LINUXCONSOLETOOLS_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
$(LINUXCONSOLETOOLS_MAKE_OPTS) \
|
|
DESTDIR="$(TARGET_DIR)" \
|
|
PREFIX=/usr \
|
|
install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|