]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - samples/timers/Makefile
Merge tag 'kbuild-misc-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahi...
[mirror_ubuntu-bionic-kernel.git] / samples / timers / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
155fe001
SK
2ifndef CROSS_COMPILE
3uname_M := $(shell uname -m 2>/dev/null || echo not)
4ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
5
6ifeq ($(ARCH),x86)
7CC := $(CROSS_COMPILE)gcc
8PROGS := hpet_example
9
10all: $(PROGS)
11
12clean:
13 rm -fr $(PROGS)
14
15endif
16endif