# Currently, packages in this category will install Linux kernel modules into # /lib/modules rather than managing them with GARStow. This'll hopefully get # fixed at some future point. include ../../gar.mk LINUX_DIR ?= $(prefix)/src/linux LINUX_VERSION := $(shell find $(LINUX_DIR)/include/linux -name 'version.h' -or -name 'utsrelease.h' | xargs grep UTS_RELEASE | sed 's/.*"\(.*\)"/\1/') MODULES_DIR ?= /lib/modules/$(LINUX_VERSION)