summaryrefslogtreecommitdiff
path: root/package/triggerhappy
AgeCommit message (Collapse)Author
2016-07-31triggerhappy: unbreak build against 4.7+ kernel headersPeter Korsgaard
Fixes: http://autobuild.buildroot.org/results/3d0/3d07de291ec64a16d03e10f0cf1faeb19d546412/ http://autobuild.buildroot.org/results/b03/b03500e7d85786c6eee8f0adc38801340129aa14/ http://autobuild.buildroot.org/results/dd0/dd05caf0db318a9287d239cc6fa5470ccdc2ce7c/ http://autobuild.buildroot.org/results/76b/76bb000d041bd0828d15aa04138e222a4773ce94/ Triggerhappy used the wrong constants for array sizes, causing a compilation error about out of array bounds initializers with the SW_PEN_INSERTED switch event added in 4.7. Fix it by using the correct constants (<foo>_CNT) instead. Patch submitted upstream: https://github.com/wertarbyte/triggerhappy/pull/12 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-19package/triggerhappy: bump to latest commit to fix runtime issueJörg Krause
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. [Peter: add hash file] Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-04package: Replace 'echo -n' by 'printf'Maxime Hadjinlian
'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-07-14triggerhappy: systemd supportAlex Suykov
[Thomas: use a relative symbolic link.] Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-12triggerhappy: new packagePeter Korsgaard
[Thomas: - add BR2_USE_MMU dependency, since fork() is used - rename do_start() and do_stop() to just start() and stop(), as we do in most init scripts in Buildroot.] Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>