From 66103edbb86d0237d75d080661ab1a931604e384 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 16 Apr 2018 16:24:44 +0000 Subject: linux-raspberrypi: Drop support for CMDLINE_NFSROOT_USB This is obsolete, undocumented and won't work anyway since we force the kernel command line to ${CMDLINE} via the cmdline.txt file. Signed-off-by: Paul Barker --- recipes-kernel/linux/linux-raspberrypi.inc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 00f2df5..4fd623a 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc @@ -109,20 +109,6 @@ do_configure_prepend() { # Localversion kernel_configure_variable LOCALVERSION "\"\"" - # root-over-nfs-over-usb-eth support. Limited, but should cover some cases - # Enable this by setting a proper CMDLINE_NFSROOT_USB. - if [ ! -z "${CMDLINE_NFSROOT_USB}" ]; then - oenote "Configuring the kernel for root-over-nfs-over-usb-eth with CMDLINE ${CMDLINE_NFSROOT_USB}" - kernel_configure_variable INET y - kernel_configure_variable IP_PNP y - kernel_configure_variable USB_GADGET y - kernel_configure_variable USB_GADGET_SELECTED y - kernel_configure_variable USB_ETH y - kernel_configure_variable NFS_FS y - kernel_configure_variable ROOT_NFS y - kernel_configure_variable ROOT_NFS y - kernel_configure_variable CMDLINE "\"${CMDLINE_NFSROOT_USB}\"" - fi if [ ! -z "${KERNEL_INITRAMFS}" ]; then kernel_configure_variable OVERLAY_FS y kernel_configure_variable SQUASHFS y -- cgit v1.2.3-54-g00ecf