Skip to content

Commit

Permalink
FIXME: failed to build for CentOS 6
Browse files Browse the repository at this point in the history
The change of "build failure on AmazonLinux 5.10.220" bring this
breaking due to fcheck_files pattern matching.

Signed-off-by: shenping.matt <[email protected]>
  • Loading branch information
shenping-bd committed Aug 16, 2024
1 parent 0caa7ba commit e73724b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/LKM/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ ccflags-y += -D SMITH_HAVE_MNTNS_OPS_INUM
endif

FCHECK_H_FILES := $(shell find -L $(K_I_PATH) -path \*/linux/fdtable.h) /dev/null
FCHECK_SUPPORT := $(shell sh -c "grep -s \*fcheck_files $(FCHECK_H_FILES)")
FCHECK_SUPPORT := $(shell sh -c "-sE \\*[[:space:]]*fcheck_files $(FCHECK_H_FILES)")
ifneq ($(FCHECK_SUPPORT),)
ccflags-y += -D SMITH_HAVE_FCHECK_FILES
endif
Expand Down

0 comments on commit e73724b

Please sign in to comment.