Skip to content

Commit

Permalink
Merge pull request #10 from mazhaobai/main
Browse files Browse the repository at this point in the history
Modify Makefile
  • Loading branch information
chenych27 authored Nov 22, 2021
2 parents 6e86bcb + b0504d7 commit 68fece1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions SPEdriver/arm_spe_pmu/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
KDIR := /lib/modules/$(shell uname -r)/build/
EXTRA_CFLAGS := -fstack-protector-all
#KDIR :=/home/liu/linux-4.14.0-115.el7a
PWD := $(shell pwd)
obj-m += arm_spe_pmu.o
Expand Down
2 changes: 1 addition & 1 deletion SPEdriver/spe_device/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

KERNELDIR ?= /lib/modules/`uname -r`/build

EXTRA_CFLAGS := -fstack-protector-all
#EXTRA_CFLAGS += -O1

ifeq ($(KERNELRELEASE),)
Expand Down

0 comments on commit 68fece1

Please sign in to comment.