mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
37cf2b8d16
The connector test code currently does not work out of the box. This is because it uses a connector id that is above the registered limit. So rather than force people to stumble through undocumented code wondering why it isn't working, have the test code use one of the "private" ids by default. While I'm in here, clean up the code (kernel and user app) so that it's a bit more user friendly and verbose in significant things that it does. Terse test code wastes people time as they simply enumerate it with all the same kind of debug messages to get a better feel of what code is running at any time. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
285 B
Makefile
16 lines
285 B
Makefile
ifneq ($(CONFIG_CONNECTOR),)
|
|
obj-m += cn_test.o
|
|
endif
|
|
|
|
# List of programs to build
|
|
hostprogs-y := ucon
|
|
|
|
# Tell kbuild to always build the programs
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
|
|
|
|
all: modules
|
|
|
|
modules clean:
|
|
$(MAKE) -C ../.. SUBDIRS=$(PWD) $@
|