Commit 3ca9760f authored by Shuah Khan's avatar Shuah Khan

tools: move laptops dslm tool from Documentation

Move laptops dslm tool to tools/laptop/dslm and remove it from
Documentation Makefile. Update location information for this
tool. Create a new Makefile to build dslm. It can be built
from top level directory or from laptops directory:

Run make -C tools/laptop/dslm or cd tools/laptop/dslm; make
Acked-by: default avatarJonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent d522b2cd
subdir-y := blackfin \ subdir-y := blackfin \
laptops pcmcia pcmcia
00-INDEX 00-INDEX
- This file - This file
Makefile
- Makefile for building dslm example program.
asus-laptop.txt asus-laptop.txt
- information on the Asus Laptop Extras driver. - information on the Asus Laptop Extras driver.
disk-shock-protection.txt disk-shock-protection.txt
- information on hard disk shock protection. - information on hard disk shock protection.
dslm.c
- Simple Disk Sleep Monitor program
laptop-mode.txt laptop-mode.txt
- how to conserve battery power using laptop-mode. - how to conserve battery power using laptop-mode.
sony-laptop.txt sony-laptop.txt
......
# List of programs to build
hostprogs-y := dslm
# Tell kbuild to always build the programs
always := $(hostprogs-y)
...@@ -779,4 +779,4 @@ Monitoring tool ...@@ -779,4 +779,4 @@ Monitoring tool
--------------- ---------------
Bartek Kania submitted this, it can be used to measure how much time your disk Bartek Kania submitted this, it can be used to measure how much time your disk
spends spun up/down. See Documentation/laptops/dslm.c spends spun up/down. See tools/laptop/dslm/dslm.c
CC := $(CROSS_COMPILE)gcc
CFLAGS := -I../../usr/include
PROGS := dslm
all: $(PROGS)
clean:
rm -fr $(PROGS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment