Move watchdog examples to samples and remove it from Documentation Makefile. Create a new Makefile to build watchdog. It can be built from top level directory or from watchdog directory: Run make -C samples/watchdog or cd samples/watchdog; make Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>tirimbino
parent
155fe001c6
commit
071bf69a02
@ -1,2 +1,2 @@ |
||||
subdir-y := accounting auxdisplay blackfin \
|
||||
laptops pcmcia watchdog
|
||||
laptops pcmcia
|
||||
|
@ -1 +0,0 @@ |
||||
subdir-y := src
|
@ -1,5 +0,0 @@ |
||||
# List of programs to build
|
||||
hostprogs-y := watchdog-simple
|
||||
|
||||
# Tell kbuild to always build the programs
|
||||
always := $(hostprogs-y)
|
@ -0,0 +1,8 @@ |
||||
CC := $(CROSS_COMPILE)gcc
|
||||
PROGS := watchdog-simple
|
||||
|
||||
all: $(PROGS) |
||||
|
||||
clean: |
||||
rm -fr $(PROGS)
|
||||
|
Loading…
Reference in new issue