mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:
parent
d522b2cdfe
commit
3ca9760fdf
7 changed files with 11 additions and 11 deletions
|
@ -1,2 +1,2 @@
|
||||||
subdir-y := blackfin \
|
subdir-y := blackfin \
|
||||||
laptops pcmcia
|
pcmcia
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
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
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# List of programs to build
|
|
||||||
hostprogs-y := dslm
|
|
||||||
|
|
||||||
# Tell kbuild to always build the programs
|
|
||||||
always := $(hostprogs-y)
|
|
|
@ -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
|
||||||
|
|
9
tools/laptop/dslm/Makefile
Normal file
9
tools/laptop/dslm/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
CC := $(CROSS_COMPILE)gcc
|
||||||
|
CFLAGS := -I../../usr/include
|
||||||
|
|
||||||
|
PROGS := dslm
|
||||||
|
|
||||||
|
all: $(PROGS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -fr $(PROGS)
|
Loading…
Add table
Add a link
Reference in a new issue