1. 17 Feb, 2016 1 commit
  2. 08 Feb, 2016 2 commits
    • Ard Biesheuvel's avatar
      scripts/link-vmlinux.sh: force error on kallsyms failure · a0439342
      Ard Biesheuvel authored
      Since the output of the invocation of scripts/kallsyms is piped directly
      into the assembler, error messages it emits are visible on stderr, but
      a non-zero return code is ignored, and the build simply proceeds in that
      case. However, the resulting kernel is most likely broken, and will crash
      at boot.
      
      So instead, capture the output of kallsyms in a separate .S file, and pass
      that to the assembler in a separate step.
      Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
      a0439342
    • Arnd Bergmann's avatar
      Kbuild: provide a __UNIQUE_ID for clang · b41c29b0
      Arnd Bergmann authored
      The default __UNIQUE_ID macro in compiler.h fails to work for some drivers:
      
      drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:615:1: error: redefinition of
            '__UNIQUE_ID_firmware615'
      BRCMF_FW_NVRAM_DEF(4354, "brcmfmac4354-sdio.bin", "brcmfmac4354-sdio.txt");
      
      This adds a copy of the version we use for gcc-4.3 and higher, as the same
      one works with all versions of clang that I could find in svn (2.6 and higher).
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
      b41c29b0
  3. 28 Jan, 2016 1 commit
    • Russell King's avatar
      dtbsinstall: don't move target directory out of the way · 5399eb9b
      Russell King authored
      No other kernel installation target moves the target directory out of
      the way, even deleting an old version of it.  These are destructive
      operations, ones which the kernel build system should not be making.
      
      This behaviour prevents being able to do:
      
      	make install INSTALL_PATH=/some/path/boot
      	make dtbs_install INSTALL_DTBS_PATH=/some/path/boot
      
      As it causes the boot directory containing the kernel installed in
      step 1 to be moved to /some/path/boot.old.  Things get even more fun
      if you do:
      
      	make install dtbs_install INSTALL_PATH=/some/path/boot INSTALL_DTBS_PATH=/some/path/boot
      
      The kernel gets installed into /some/path/boot, then the directory gets
      renamed to /some/path/boot.old, and a new directory created to hold the
      dtbs.  Even more fun if you supply -j2 when we end up with races in
      make.
      
      Remove this behaviour.
      
      If this behaviour is required at installation time, this should be
      done by the installation external to the kernel makefiles, just like
      it would be done for 'make modules_install'.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
      5399eb9b
  4. 24 Jan, 2016 36 commits