Makefile 331 字节
Newer Older
D
dogsheng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# SPDX-License-Identifier: GPL-2.0-only
# Copyright(c) 2019 Huawei Technologies Co., Ltd. 2019. All rights reserved.

BUILD ?= /lib/modules/`uname -r`/build
obj-m := prefetch_tunning.o
EXTRA_CFLAGS += -Wall -Werror

.PHONY : all
all:
	$(MAKE) -C $(BUILD) M=$(PWD) modules

.PHONY : clean
clean:
	$(MAKE) -C $(BUILD) M=$(PWD) clean