diff options
| author | Saul Wold <sgw@linux.intel.com> | 2017-11-07 10:32:26 -0800 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2017-11-20 15:33:02 -0800 |
| commit | d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a (patch) | |
| tree | fbe372dba00d45bbf9fbfbb3726708dc2590daeb /recipes-kernel/intel-ethernet/ixgbevf | |
| parent | 5adbf6df4fd89e7531ccccfb9cec7a5314d635f0 (diff) | |
| download | meta-intel-d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a.tar.gz | |
meta-intel: Reorganize the layout to remove common
Remove the concept of the common directory and move all the recipes-* dirs
to the top level as a normal layer would be. layer.conf is updated appropriately
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'recipes-kernel/intel-ethernet/ixgbevf')
3 files changed, 86 insertions, 0 deletions
diff --git a/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch b/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch new file mode 100644 index 00000000..656a897d --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-skip-host-depmod.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 9677d09f5c3984997ac8e7d90b5d4b11fb9ce277 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: sweeaun <swee.aun.khor@intel.com> | ||
| 3 | Date: Sat, 7 Oct 2017 20:56:35 -0700 | ||
| 4 | Subject: [PATCH] ixgbevf: skip host depmod | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [Cross-Compile] | ||
| 7 | |||
| 8 | Depmod during do_install is irrelevant when cross-compiling. | ||
| 9 | Remove the depmod steps during do_install. | ||
| 10 | |||
| 11 | Signed-off-by: sweeaun <swee.aun.khor@intel.com> | ||
| 12 | --- | ||
| 13 | Makefile | 2 -- | ||
| 14 | 1 file changed, 2 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/Makefile b/Makefile | ||
| 17 | index 91df705..1dcf350 100644 | ||
| 18 | --- a/Makefile | ||
| 19 | +++ b/Makefile | ||
| 20 | @@ -104,8 +104,6 @@ modules_install: default manfile | ||
| 21 | @install -D -m 644 ${DRIVER}.${MANSECTION}.gz ${INSTALL_MOD_PATH}${MANDIR}/man${MANSECTION}/${DRIVER}.${MANSECTION}.gz | ||
| 22 | @echo "Installing modules..." | ||
| 23 | @+$(call kernelbuild,modules_install) | ||
| 24 | - @echo "Running depmod..." | ||
| 25 | - @$(call cmd_depmod) | ||
| 26 | |||
| 27 | uninstall: | ||
| 28 | rm -f ${INSTALL_MOD_PATH}/lib/modules/${KVER}/${INSTALL_MOD_DIR}/${DRIVER}.ko; | ||
| 29 | -- | ||
| 30 | 2.7.4 | ||
| 31 | |||
diff --git a/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-src-Makefile-change-make-install-to-make.patch b/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-src-Makefile-change-make-install-to-make.patch new file mode 100644 index 00000000..8234f589 --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf/0001-ixgbevf-src-Makefile-change-make-install-to-make.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 511ee0d8d40a3e76b3e9875a96228ff370dbdfc6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Goh, Wen Sen" <wen.sen.goh@intel.com> | ||
| 3 | Date: Wed, 22 Jun 2016 11:25:41 +0800 | ||
| 4 | Subject: [PATCH] ixgbevf_patch | ||
| 5 | |||
| 6 | --- | ||
| 7 | Makefile | 4 ++-- | ||
| 8 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 9 | |||
| 10 | diff --git a/Makefile b/Makefile | ||
| 11 | index 8df134a..8d5660e 100644 | ||
| 12 | --- a/Makefile | ||
| 13 | +++ b/Makefile | ||
| 14 | @@ -100,7 +100,7 @@ clean: | ||
| 15 | @-rm -rf *.${MANSECTION}.gz *.ko | ||
| 16 | |||
| 17 | # Install the modules and manpage | ||
| 18 | -install: default manfile | ||
| 19 | +modules_install: default manfile | ||
| 20 | @echo "Copying manpages..." | ||
| 21 | @install -D -m 644 ${DRIVER}.${MANSECTION}.gz ${INSTALL_MOD_PATH}${MANDIR}/man${MANSECTION}/${DRIVER}.${MANSECTION}.gz | ||
| 22 | @echo "Installing modules..." | ||
| 23 | @@ -145,6 +145,6 @@ help: | ||
| 24 | @echo ' Other variables may be available for tuning make process, see' | ||
| 25 | @echo ' Kernel Kbuild documentation for more information' | ||
| 26 | |||
| 27 | -.PHONY: default noisy clean manfile silent sparse ccc install uninstall help | ||
| 28 | +.PHONY: default noisy clean manfile silent sparse ccc modules_install uninstall help | ||
| 29 | |||
| 30 | endif # ifneq($(KERNELRELEASE),) | ||
| 31 | -- | ||
| 32 | 2.8.3 | ||
diff --git a/recipes-kernel/intel-ethernet/ixgbevf/0002-ixgbevf_common.patch b/recipes-kernel/intel-ethernet/ixgbevf/0002-ixgbevf_common.patch new file mode 100644 index 00000000..d442e24d --- /dev/null +++ b/recipes-kernel/intel-ethernet/ixgbevf/0002-ixgbevf_common.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | From f74fbcd821a394dec58263fd2c2ea62eae298b2f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Goh, Wen Sen" <wen.sen.goh@intel.com> | ||
| 3 | Date: Sun, 26 Jun 2016 12:01:36 +0800 | ||
| 4 | Subject: [PATCH] ixgbevf patch | ||
| 5 | |||
| 6 | --- | ||
| 7 | common.mk | 1 + | ||
| 8 | 1 file changed, 1 insertion(+) | ||
| 9 | |||
| 10 | diff --git a/common.mk b/common.mk | ||
| 11 | index b9b01c7..228a926 100644 | ||
| 12 | --- a/common.mk | ||
| 13 | +++ b/common.mk | ||
| 14 | @@ -289,6 +289,7 @@ export INSTALL_MOD_DIR ?= updates/drivers/net/ethernet/intel/${DRIVER} | ||
| 15 | kernelbuild = ${MAKE} $(if ${GCC_I_SYS},CC="${GCC_I_SYS}") \ | ||
| 16 | ${CCFLAGS_VAR}="${EXTRA_CFLAGS}" \ | ||
| 17 | -C "${KSRC}" \ | ||
| 18 | + CONFIG_IXGBE=m \ | ||
| 19 | CONFIG_${DRIVER_UPPERCASE}=m \ | ||
| 20 | M="${CURDIR}" \ | ||
| 21 | ${2} ${1}; | ||
| 22 | -- | ||
| 23 | 2.8.3 | ||
