forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: move timers example code from Documentation
Move timers examples to samples and remove it from Documentation Makefile. Create a new Makefile to build timers. It can be built from top level directory or from timers directory: Run make -C samples/timers or cd samples/timers; make Acked-by: Jonathan Corbet <[email protected]> Acked-by: Clemens Ladisch <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
- Loading branch information
Shuah Khan
committed
Sep 23, 2016
1 parent
986b891
commit 155fe00
Showing
6 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
subdir-y := accounting auxdisplay blackfin \ | ||
laptops pcmcia timers watchdog | ||
laptops pcmcia watchdog |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ifndef CROSS_COMPILE | ||
uname_M := $(shell uname -m 2>/dev/null || echo not) | ||
ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) | ||
|
||
ifeq ($(ARCH),x86) | ||
CC := $(CROSS_COMPILE)gcc | ||
PROGS := hpet_example | ||
|
||
all: $(PROGS) | ||
|
||
clean: | ||
rm -fr $(PROGS) | ||
|
||
endif | ||
endif |
File renamed without changes.