Skip to content

Commit

Permalink
tools: move laptops dslm tool from Documentation
Browse files Browse the repository at this point in the history
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: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
  • Loading branch information
Shuah Khan committed Sep 23, 2016
1 parent d522b2c commit 3ca9760
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
subdir-y := blackfin \
laptops pcmcia
pcmcia
4 changes: 0 additions & 4 deletions Documentation/laptops/00-INDEX
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
00-INDEX
- This file
Makefile
- Makefile for building dslm example program.
asus-laptop.txt
- information on the Asus Laptop Extras driver.
disk-shock-protection.txt
- information on hard disk shock protection.
dslm.c
- Simple Disk Sleep Monitor program
laptop-mode.txt
- how to conserve battery power using laptop-mode.
sony-laptop.txt
Expand Down
5 changes: 0 additions & 5 deletions Documentation/laptops/Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion Documentation/laptops/laptop-mode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -779,4 +779,4 @@ Monitoring tool
---------------

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
File renamed without changes.
9 changes: 9 additions & 0 deletions tools/laptop/dslm/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CC := $(CROSS_COMPILE)gcc
CFLAGS := -I../../usr/include

PROGS := dslm

all: $(PROGS)

clean:
rm -fr $(PROGS)
File renamed without changes.

0 comments on commit 3ca9760

Please sign in to comment.