- Build common kernel modules

- New module package
This commit is contained in:
Jeffrey Townsend
2017-01-01 18:10:13 +00:00
parent 31b6766dc9
commit 5c337ad789
3 changed files with 15 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
variables:
basename: onl-kernel-3.16-lts-x86-64-all
common:
arch: amd64
@@ -7,12 +9,21 @@ common:
support: opennetworklinux@googlegroups.com
packages:
- name: onl-kernel-3.16-lts-x86-64-all
- name: $basename
version: 1.0.0
summary: Open Network Linux Kernel 3.16 LTS for X86_64 Platforms.
summary: Open Network Linux 3.16 LTS Kernel for X86_64 Platforms.
files:
builds/kernel-3.16* : $$PKG_INSTALL/
builds/linux-*mbuild : $$PKG_INSTALL/mbuilds
changelog: Change changes changes.,
- name: $basename-modules
version: 1.0.0
summary: Open Network Linux 3.16 LTS Kernel Modules for X86_64 Platforms
files:
builds/lib: /lib
changelog: Change changes changes.,

View File

@@ -1,2 +1,3 @@
linux-*
kernel-*
lib

View File

@@ -14,6 +14,7 @@ include $(ONL)/make/config.mk
kernel:
$(MAKE) -C $(ONL)/packages/base/any/kernels/3.16-lts/configs/x86_64-all K_TARGET_DIR=$(THIS_DIR) $(ONL_MAKE_PARALLEL)
$(ONL)/tools/scripts/kmodbuild.sh $(wildcard *-mbuild) $(wildcard $(ONL)/packages/base/any/kernels/modules/*) onl
clean:
rm -rf linux-3.16* kernel-3.16*