makefile: remove shell call to 'find'

This commit is contained in:
K. Lange 2018-10-14 15:20:40 +09:00
parent 6a0e139550
commit dd2c403345
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ fatbase/mod:
##
# Modules need to be installed on the boot image
MODULES = $(patsubst modules/%.c,fatbase/mod/%.ko,$(wildcard modules/*.c))
HEADERS = $(shell find base/usr/include/kernel -type f -name '*.h')
HEADERS = $(wildcard base/usr/include/kernel/*.h base/usr/include/kernel/*/*.h)
fatbase/mod/%.ko: modules/%.c ${HEADERS} | fatbase/mod
${KCC} -nostdlib ${KCFLAGS} -c -o $@ $<