Commit [e05a5d]  Maximize  Restore  History

mk/module.mk: add Makefile to build kernel modules

Makefile example:

ifneq ($(KERNELRELEASE),)

obj-m := module01.o

else

top_srcdir ?= ../../../..
include $(top_srcdir)/include/mk/testcases.mk

REQ_VERSION_MAJOR := 2
REQ_VERSION_PATCH := 6
MAKE_TARGETS := test01 test02 module01.ko

include $(top_srcdir)/include/mk/module.mk
include $(top_srcdir)/include/mk/generic_leaf_target.mk

endif

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

Alexey Kodanev Alexey Kodanev 2013-10-01

Cyril Hrubis Cyril Hrubis 2013-10-01

added include/mk/module.mk
include/mk/module.mk Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks