All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/triggerhappy: bump to latest commit to fix runtime issue
@ 2016-01-19  9:51 Jörg Krause
  2016-01-19 21:54 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Jörg Krause @ 2016-01-19  9:51 UTC (permalink / raw)
  To: buildroot

Bump to latest commit to fix runtime issue with the Linux Kernel headers 4.4:
  Starting thd: Unable to parse trigger line: [..]

With version 4.4 of the Linux Kernel the input event codes are not defined in
'linux/input.h' anymore, but in a seperate header file
'linux/input-event-codes.h' leaving triggerhappys evtable_*.h header files
empty with no event codes defined.

This issue is fixed upstream by commit 7e5abc69f215678e93a6b999524981c8b40bdcd9
which also makes overwriting of the 'LINUX_INPUT_H' definition obsolet.

Tested with an internal Buildroot toolchain with Linux Kernel headers 4.4 and
an external Linaro ARM 2015.08 toolchain with Linux Kernel headers 4.0.

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 package/triggerhappy/triggerhappy.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/triggerhappy/triggerhappy.mk b/package/triggerhappy/triggerhappy.mk
index 3a68e50..5a29ca7 100644
--- a/package/triggerhappy/triggerhappy.mk
+++ b/package/triggerhappy/triggerhappy.mk
@@ -4,15 +4,13 @@
 #
 ################################################################################
 
-TRIGGERHAPPY_VERSION = aac9f353a28c0f414b27ac54bbbb2292c152eedc
+TRIGGERHAPPY_VERSION = 7e5abc69f215678e93a6b999524981c8b40bdcd9
 TRIGGERHAPPY_SITE = $(call github,wertarbyte,triggerhappy,$(TRIGGERHAPPY_VERSION))
 TRIGGERHAPPY_LICENSE = GPLv3+
 TRIGGERHAPPY_LICENSE_FILES = COPYING
 
 define TRIGGERHAPPY_BUILD_CMDS
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) \
-		LINUX_INPUT_H=$(STAGING_DIR)/usr/include/linux/input.h \
-		-C $(@D) thd th-cmd
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) thd th-cmd
 endef
 
 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/triggerhappy: bump to latest commit to fix runtime issue
  2016-01-19  9:51 [Buildroot] [PATCH 1/1] package/triggerhappy: bump to latest commit to fix runtime issue Jörg Krause
@ 2016-01-19 21:54 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2016-01-19 21:54 UTC (permalink / raw)
  To: buildroot

>>>>> "J?rg" == J?rg Krause <joerg.krause@embedded.rocks> writes:

 > Bump to latest commit to fix runtime issue with the Linux Kernel headers 4.4:
 >   Starting thd: Unable to parse trigger line: [..]

 > With version 4.4 of the Linux Kernel the input event codes are not defined in
 > 'linux/input.h' anymore, but in a seperate header file
 > 'linux/input-event-codes.h' leaving triggerhappys evtable_*.h header files
 > empty with no event codes defined.

 > This issue is fixed upstream by commit 7e5abc69f215678e93a6b999524981c8b40bdcd9
 > which also makes overwriting of the 'LINUX_INPUT_H' definition obsolet.

 > Tested with an internal Buildroot toolchain with Linux Kernel headers 4.4 and
 > an external Linaro ARM 2015.08 toolchain with Linux Kernel headers 4.0.

 > Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>

Committed after adding a .hash file, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-19 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19  9:51 [Buildroot] [PATCH 1/1] package/triggerhappy: bump to latest commit to fix runtime issue Jörg Krause
2016-01-19 21:54 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.