kernel/samples/timers/Makefile
.. .. @@ -1,16 +1,4 @@ 1 1 # SPDX-License-Identifier: GPL-2.0 2  -ifndef CROSS_COMPILE3  -uname_M := $(shell uname -m 2>/dev/null || echo not)4  -ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)2  +userprogs-always-y += hpet_example5 3 6  -ifeq ($(ARCH),x86)7  -CC := $(CROSS_COMPILE)gcc8  -PROGS := hpet_example9  -10  -all: $(PROGS)11  -12  -clean:13  - rm -fr $(PROGS)14  -15  -endif16  -endif4  +userccflags += -I usr/include