Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+11 -11
+1 -1
Documentation/Makefile
··· 1 1 subdir-y := blackfin \ 2 - laptops pcmcia 2 + pcmcia
Documentation/laptops/.gitignore tools/laptop/dslm/.gitignore
-4
Documentation/laptops/00-INDEX
··· 1 1 00-INDEX 2 2 - This file 3 - Makefile 4 - - Makefile for building dslm example program. 5 3 asus-laptop.txt 6 4 - information on the Asus Laptop Extras driver. 7 5 disk-shock-protection.txt 8 6 - information on hard disk shock protection. 9 - dslm.c 10 - - Simple Disk Sleep Monitor program 11 7 laptop-mode.txt 12 8 - how to conserve battery power using laptop-mode. 13 9 sony-laptop.txt
-5
Documentation/laptops/Makefile
··· 1 - # List of programs to build 2 - hostprogs-y := dslm 3 - 4 - # Tell kbuild to always build the programs 5 - always := $(hostprogs-y)
Documentation/laptops/dslm.c tools/laptop/dslm/dslm.c
+1 -1
Documentation/laptops/laptop-mode.txt
··· 779 779 --------------- 780 780 781 781 Bartek Kania submitted this, it can be used to measure how much time your disk 782 - spends spun up/down. See Documentation/laptops/dslm.c 782 + spends spun up/down. See tools/laptop/dslm/dslm.c
+9
tools/laptop/dslm/Makefile
··· 1 + CC := $(CROSS_COMPILE)gcc 2 + CFLAGS := -I../../usr/include 3 + 4 + PROGS := dslm 5 + 6 + all: $(PROGS) 7 + 8 + clean: 9 + rm -fr $(PROGS)