]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - samples/timers/Makefile
UBUNTU: Enable zfs build
[mirror_ubuntu-zesty-kernel.git] / samples / timers / Makefile
CommitLineData
155fe001
SK
1ifndef CROSS_COMPILE
2uname_M := $(shell uname -m 2>/dev/null || echo not)
3ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
4
5ifeq ($(ARCH),x86)
6CC := $(CROSS_COMPILE)gcc
7PROGS := hpet_example
8
9all: $(PROGS)
10
11clean:
12 rm -fr $(PROGS)
13
14endif
15endif