repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git]
/
samples
/
timers
/
Makefile
blob
a5c3c4a35ca1479e2cd4739b25dd3a9e5a92512b
1
ifndef
CROSS_COMPILE
2
uname_M
:= $(
shell
uname
-
m
2
>/
dev
/
null || echo not
)
3
ARCH ?
= $(
shell
echo
$(
uname_M
)
| sed
-
e s
/
i
.86
/
x86
/ -
e s
/
x86_64
/
x86
/)
4
5
ifeq
($(
ARCH
),
x86
)
6
CC
:= $(
CROSS_COMPILE
)
gcc
7
PROGS
:=
hpet_example
8
9
all
: $(
PROGS
)
10
11
clean
:
12
rm
-
fr
$(
PROGS
)
13
14
endif
15
endif