summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-30 12:03:45 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-30 12:03:45 +1100
commit562827052f1a9fb15e5988d9c8ed3671316b5382 (patch)
treeaa78c53aa1889f703bbd95a5c0a7ade52c4b381c
parenta0b9cc8884dc1d35260758d1d61a5f600fa31b18 (diff)
Add modules and modules_install to Makefile
This is required to build properly in Yocto Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e2a154e..06a7c0c 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,13 @@ all:
CONFIG_AVIRT=m CONFIG_AVIRT_BUILDLOCAL=y \
CONFIG_AVIRT_AP_DUMMY=m \
CONFIG_AVIRT_AP_LOOPBACK=m \
- make -C $(KERNEL_SRC) M=$(PWD)
+ make -C $(KERNEL_SRC) M=$(PWD) modules
+
+modules_install:
+ CONFIG_AVIRT=m CONFIG_AVIRT_BUILDLOCAL=y \
+ CONFIG_AVIRT_AP_DUMMY=m \
+ CONFIG_AVIRT_AP_LOOPBACK=m \
+ make -C $(KERNEL_SRC) M=$(PWD) modules_install
clean:
make -C $(KERNEL_SRC) M=$(PWD) clean