diff options
author | Taylor Hutt <thutt@chromium.org> | 2011-09-02 10:23:43 -0700 |
---|---|---|
committer | Taylor Hutt <thutt@chromium.org> | 2011-09-15 11:20:13 -0700 |
commit | 690fc539a2c07cfcb712f1b2ddc35f170f4383a9 (patch) | |
tree | 24c7dd7bd7ffc127dd8aa6f83ddb3ce4df0f5a66 /Makefile | |
parent | 47ce5dc71676ad8704b9ea7bdda1086a28ef70ed (diff) | |
download | adhd-690fc539a2c07cfcb712f1b2ddc35f170f4383a9.tar.gz |
ADHD: Daemon for watching A/V device events
Details
o Adds start of a program which will dump the data structures for
the given sound card.
o Adds infrastructure to handle different threads w/ automatic startup.
Threads are declared with THREAD_DESCRIPTOR, and the system
infrastructure handles all the startup and management.
o Adds signal handling infrastructure; restarts threads on SIGHUP.
o Added command line argument processing.
Note that, at least, Goobuntu has a defect in getopt_long().
--option <optional-argument>
will yield a SEGV because 'optarg' is NULL.
--option=<optional-argument>
works, however.
Testing
Execute 'make' in the 'adhd' directory, and the project builds.
Execute 'gavd', and note the message output.
BUG=chromium-os:19558
TEST=See above
Change-Id: I521df7fb87fff8cc648daccf4c73eb1daca066f8
Signed-off-by: Taylor Hutt <thutt@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -2,21 +2,20 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. ifndef BOARD -$(warning 'BOARD' is not defined. Board-specific features will \ - not be available.) +$(error 'BOARD' is not defined. Unable to build gavd.) endif export ADHD_DIR = $(shell pwd) include $(ADHD_DIR)/defs/definitions.mk -all: gavd +all: gavd alsainfo -gavd:: lib +alsainfo gavd:: lib -lib gavd:: # Google Audio Visual Daemon +lib gavd alsainfo:: @$(call remake,$@) clean: @rm -rf $(ADHD_BUILD_DIR) -.PHONY: gavd clean +.PHONY: gavd clean alsainfo lib |