1. 24 11月, 2014 2 次提交
    • F
      MIPS: Netlogic: handle modular AHCI builds · 3964917c
      Florian Fainelli 提交于
      Commits a9514409 ("MIPS: Netlogic: Support for XLP3XX on-chip SATA")
      and fedfcb11 ("MIPS: Netlogic: XLP9XX on-chip SATA support") added
      ahci-init and ahci-init-xlp2 as objects to build when CONFIG_SATA_AHCI
      is enabled.
      
      If CONFIG_SATA_AHCI is made modular, these two files will also get built
      as modules (obj-m), which will result in the following linking failure:
      
      ERROR: "nlm_set_pic_extra_ack" [arch/mips/netlogic/xlp/ahci-init.ko]
      undefined!
      ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/ahci-init.ko] undefined!
      ERROR: "nlm_nodes" [arch/mips/netlogic/xlp/ahci-init-xlp2.ko] undefined!
      ERROR: "nlm_set_pic_extra_ack"
      [arch/mips/netlogic/xlp/ahci-init-xlp2.ko] undefined!
      ERROR: "xlp_socdev_to_node" [arch/mips/netlogic/xlp/ahci-init-xlp2.ko]
      undefined!
      ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/ahci-init-xlp2.ko]
      undefined!
      
      Just check whether CONFIG_SATA_AHCI is defined for this build, and if
      that is the case, add these objects to the list of built-in object
      files.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Cc: linux-mips@linux-mips.org
      Cc: ganesanr@broadcom.com
      Cc: jchandra@broadcom.com
      Patchwork: https://patchwork.linux-mips.org/patch/7855/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      3964917c
    • F
      MIPS: Netlogic: handle modular USB case · 717ce646
      Florian Fainelli 提交于
      Commit 1004165f ("MIPS: Netlogic: USB support for XLP") and then
      commit 9eac3591 ("MIPS: Netlogic: Add support for USB on XLP2xx")
      added usb-init and usb-init-xlp2 as objects to build when CONFIG_USB is
      enabled.
      
      If CONFIG_USB is made modular, these two files will also get built as
      modules (obj-m), which will result in the following linking failure:
      
      ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/usb-init.ko] undefined!
      ERROR: "nlm_nodes" [arch/mips/netlogic/xlp/usb-init-xlp2.ko] undefined!
      ERROR: "nlm_set_pic_extra_ack" [arch/mips/netlogic/xlp/usb-init-xlp2.ko]
      undefined!
      ERROR: "xlp_socdev_to_node" [arch/mips/netlogic/xlp/usb-init-xlp2.ko]
      undefined!
      ERROR: "nlm_io_base" [arch/mips/netlogic/xlp/usb-init-xlp2.ko]
      undefined!
      
      Just check whether CONFIG_USB is defined for this build, and if that is
      the case, add these objects to the list of built-in object files.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Cc: linux-mips@linux-mips.org
      Cc: ganesanr@broadcom.com
      Cc: jchandra@broadcom.com
      Patchwork: https://patchwork.linux-mips.org/patch/7854/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      717ce646
  2. 30 5月, 2014 2 次提交
  3. 04 9月, 2013 1 次提交
  4. 13 6月, 2013 2 次提交
  5. 23 8月, 2012 2 次提交
  6. 24 7月, 2012 1 次提交
  7. 23 7月, 2012 1 次提交
  8. 08 12月, 2011 4 次提交
  9. 21 9月, 2011 1 次提交
    • A
      MIPS: Do not use EXTRA_CFLAGS · b8ecf341
      Arnaud Lacombe 提交于
      Usage of these flags has been deprecated for nearly 4 years by:
      
          commit f77bf014
          Author: Sam Ravnborg <sam@neptun.(none)>
          Date:   Mon Oct 15 22:25:06 2007 +0200
      
              kbuild: introduce ccflags-y, asflags-y and ldflags-y
      
      Moreover, these flags (at least EXTRA_CFLAGS) have been documented for command
      line use. By default, gmake(1) do not override command line setting, so this is
      likely to result in build failure or unexpected behavior.
      
      Replace their usage by Kbuild's `{as,cc,ld}flags-y'.
      
      To: linux-kernel@vger.kernel.org
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Patchwork: https://patchwork.linux-mips.org/patch/2710/
      Cc: linux-mips@linux-mips.org
      Signed-off-by: NArnaud Lacombe <lacombar@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      b8ecf341
  10. 19 5月, 2011 1 次提交