Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 95860 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-9 / +6 lines)
Lines 17-35 Link Here
17
ifndef KERNELRELEASE
17
ifndef KERNELRELEASE
18
18
19
all:	$(SOURCES) config
19
all:	$(SOURCES) config
20
	$(MAKE) modules -C $(KERNEL_DIR) SUBDIRS=$(shell pwd)
20
#	$(MAKE) modules -C $(KERNEL_DIR) SUBDIRS=$(shell pwd)
21
	$(MAKE) modules -C $(KSRC) SUBDIRS=$(shell pwd)
21
22
22
config:
23
config:
23
	@if grep CONFIG_SECURITY_CAPABILITIES=m $(KERNEL_DIR)/.config; \
24
	ln -sf $(KERNEL_DIR)/security/$(COMMONCAP) .
24
	then ln -sf $(KERNEL_DIR)/security/$(COMMONCAP) .; \
25
	else echo "Failed: Security Capabilities not configured as module"; \
26
	     echo "Realtime LSM will not work with $(KERNEL_DIR)"; \
27
	     echo "Please rerun \`make config' on the kernel and try again."; \
28
	     false; \
29
	fi
30
25
31
install:
26
install:
32
	$(MAKE) modules_install -C $(KERNEL_DIR) SUBDIRS=$(shell pwd)
27
#	$(MAKE) modules_install -C $(KERNEL_DIR) SUBDIRS=$(shell pwd)
28
	install -d $(KMISC)
29
	install -m 644 realtime.ko $(KMISC)
33
30
34
clean:
31
clean:
35
	-rm -f *.ko *.o $(COMMONCAP)
32
	-rm -f *.ko *.o $(COMMONCAP)

Return to bug 95860