--- Makefile 2004-11-24 13:38:41.000000000 -0500 +++ ../realtime-lsm-0.8.5-new/Makefile 2005-10-15 20:52:06.000000000 -0400 @@ -17,19 +17,16 @@ ifndef KERNELRELEASE all: $(SOURCES) config - $(MAKE) modules -C $(KERNEL_DIR) SUBDIRS=$(shell pwd) +# $(MAKE) modules -C $(KERNEL_DIR) SUBDIRS=$(shell pwd) + $(MAKE) modules -C $(KSRC) SUBDIRS=$(shell pwd) config: - @if grep CONFIG_SECURITY_CAPABILITIES=m $(KERNEL_DIR)/.config; \ - then ln -sf $(KERNEL_DIR)/security/$(COMMONCAP) .; \ - else echo "Failed: Security Capabilities not configured as module"; \ - echo "Realtime LSM will not work with $(KERNEL_DIR)"; \ - echo "Please rerun \`make config' on the kernel and try again."; \ - false; \ - fi + ln -sf $(KERNEL_DIR)/security/$(COMMONCAP) . install: - $(MAKE) modules_install -C $(KERNEL_DIR) SUBDIRS=$(shell pwd) +# $(MAKE) modules_install -C $(KERNEL_DIR) SUBDIRS=$(shell pwd) + install -d $(KMISC) + install -m 644 realtime.ko $(KMISC) clean: -rm -f *.ko *.o $(COMMONCAP)