/usr/src/blcr-0.8.5/Kbuild is in blcr-dkms 0.8.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | CONFIG_BLCR_IMPORTS := m
CONFIG_BLCR := m
.PHONY: $(obj)/module_files
$(obj)/config-stamp:
cd $(obj) && env -i PATH=$(PATH) ./configure --disable-maintainer-mode --with-linux=$(KERNELRELEASE) --with-installed-libcr --with-installed-util --with-components=modules --prefix=/usr && touch $@
$(obj)/prepare-stamp:
cd $(obj)/cr_module/kbuild/ && env -i PATH=$(PATH) make prepare
cd $(obj)/blcr_imports/kbuild/ && env -i PATH=$(PATH) make prepare
touch $@
$(obj)/module_files: $(obj)/config-stamp $(obj)/prepare-stamp
echo "BLCR_IMPORT_SOURCES := blcr_imports/kbuild/" > $@
echo "BLCR_SOURCES := cr_module/kbuild/" >> $@
include $(obj)/module_files
obj-$(CONFIG_BLCR_IMPORTS) += blcr_imports/kbuild/
obj-$(CONFIG_BLCR) += cr_module/kbuild/
clean-file := $(obj)/module_files $(obj)/prepare-stamp $(obj)/config-stamp
|