lib/oeqa/runtime: build kernel module on target test

Builds a simple Hello World module on target.
Added to the defaults for core-image-sato-sdk.

(From OE-Core rev: c61c3dee162aa1f5bf31b2a09d8b916dc1712056)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Stefan Stanacar
2013-10-18 10:23:44 +03:00
committed by Richard Purdie
parent 67378fbcbe
commit d3cb369365
4 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
obj-m := hellomod.o
KDIR := /usr/src/kernel
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean