--- Makefile~ 2006-04-28 18:20:06.000000000 +1000 +++ Makefile 2006-04-28 18:20:23.000000000 +1000 @@ -21,7 +21,7 @@ $(MAKE) modules -C $(KSRC) M=$(shell pwd) config: - @if grep CONFIG_SECURITY_CAPABILITIES=m $(KERNEL_DIR)/.config; \ + @if grep CONFIG_SECURITY_CAPABILITIES=m $(KBUILD_OUTPUT)/.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)"; \