diff options
author | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2014-04-13 12:45:22 +0530 |
---|---|---|
committer | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2014-04-22 15:13:52 +0530 |
commit | ed3c40ca3c7da18ab88e95eb8d4f2aedd303de9a (patch) | |
tree | 05c0750a8c88481ac15abdf33984258f6f624bbc /Test.mk | |
parent | 0095eb90602d3399b816a5f79293c56f0fa00afa (diff) |
cpuhotplug: add method to check uevents in userspace
- This util reads the NETLINK socket to receive messages from the kernel.
For both ubuntu and android uevent_reader can be used to receive events.
- bug : 1304251
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
Diffstat (limited to 'Test.mk')
-rw-r--r-- | Test.mk | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -20,7 +20,7 @@ # Contributors: # Daniel Lezcano <daniel.lezcano@linaro.org> (IBM Corporation) # - initial API and implementation -# + SNT=$(wildcard *sanity.sh) TST=$(wildcard *[^(sanity)].sh) LOG=$(TST:.sh=.log) @@ -29,7 +29,10 @@ CC?=gcc SRC=$(wildcard *.c) EXEC=$(SRC:%.c=%) -check: run_tests +check: build_utils run_tests + +build_utils: + gcc ../utils/uevent_reader.c -o ../utils/uevent_reader SANITY_STATUS:= $(shell if test $(SNT) && test -f $(SNT); then \ ./$(SNT); if test "$$?" -eq 0; then echo 0; else \ |