Check-in [3c8ede0b8b]
Overview
Comment:Added extra clean operations
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3c8ede0b8b8cec618a02c6e50601366d06ff85c1
User & Date: rkeene on 2016-01-20 15:26:44
Other Links: manifest | tags
Context
2016-01-20
15:26
Updated to print UID of user invoking keyctl() check-in: 6546477ed5 user: rkeene tags: trunk, 1
15:26
Added extra clean operations check-in: 3c8ede0b8b user: rkeene tags: trunk
15:26
Added ignore file check-in: aca54cb4a1 user: rkeene tags: trunk
Changes

Modified Makefile from [53c5d86523] to [7482cdc7dc].

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

34
35
36
SCT32 := $(shell grep "ia32_sys_call_table" '$(SYSTEM_MAP_FILE)' | awk '{ print $$1; }')

EXTRA_CFLAGS += -Dsys_call_table_addr="((void**)0x$(SCT))"
ifdef SCT32
EXTRA_CFLAGS += -Dia32_sys_call_table_addr="((void**)0x$(SCT32))" -D__enable_32bits_support
endif
else
include Makefile.inc
endif

all:
	@echo "Building with " $(EXTRA_CFLAGS)
	make -C '$(KERNEL_DIR)' 'M=$(PWD)'

install: all
	-mkdir -p '$(DESTDIR)/lib/modules/$(KERNEL_VER)/misc'
	cp nokeyctl.ko '$(DESTDIR)/lib/modules/$(KERNEL_VER)/misc/'

clean:
	make -C '$(KERNEL_DIR)' 'M=$(PWD)' clean
	rm -f Module.symvers built-in.o modules.order nokeyctl.ko nokeyctl.mod.c nokeyctl.mod.o nokeyctl.o


distclean: clean
	rm -f Makefile.inc







|











|
|
>



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SCT32 := $(shell grep "ia32_sys_call_table" '$(SYSTEM_MAP_FILE)' | awk '{ print $$1; }')

EXTRA_CFLAGS += -Dsys_call_table_addr="((void**)0x$(SCT))"
ifdef SCT32
EXTRA_CFLAGS += -Dia32_sys_call_table_addr="((void**)0x$(SCT32))" -D__enable_32bits_support
endif
else
-include Makefile.inc
endif

all:
	@echo "Building with " $(EXTRA_CFLAGS)
	make -C '$(KERNEL_DIR)' 'M=$(PWD)'

install: all
	-mkdir -p '$(DESTDIR)/lib/modules/$(KERNEL_VER)/misc'
	cp nokeyctl.ko '$(DESTDIR)/lib/modules/$(KERNEL_VER)/misc/'

clean:
	-make -C '$(KERNEL_DIR)' 'M=$(PWD)' clean
	rm -f Module.symvers built-in.o modules.order nokeyctl.ko nokeyctl.mod.c nokeyctl.mod.o nokeyctl.o .built-in.o.cmd .nokeyctl.ko.cmd .nokeyctl.mod.o.cmd .nokeyctl.o.cmd
	rm -rf .tmp_versions

distclean: clean
	rm -f Makefile.inc