Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

Kbuild.include

Blame
  • Forked from Reform / reform-boundary-uboot
    11033 commits behind the upstream repository.
    • Tom Rini's avatar
      29c4d281
      kbuild: Add clang detection · 29c4d281
      Tom Rini authored
      
      Adapted from:
      
      >From 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Mon Sep 17 00:00:00 2001
      From: Michal Marek <mmarek@suse.com>
      Date: Wed, 19 Aug 2015 17:36:41 +0200
      Subject: [PATCH 1/1] kbuild: Fix clang detection
      
      We cannot detect clang before including the arch Makefile, because that
      can set the default cross compiler. We also cannot detect clang after
      including the arch Makefile, because powerpc wants to know about clang.
      Solve this by using an deferred variable. This costs us a few shell
      invocations, but this is only a constant number.
      
      Reported-by: default avatarBehan Webster <behanw@converseincode.com>
      Reported-by: default avatarAnton Blanchard <anton@samba.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
      
      in the Linux kernel.
      
      This will allow us to make better decisions about when to run tests
      later on for gcc features.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      29c4d281
      History
      kbuild: Add clang detection
      Tom Rini authored
      
      Adapted from:
      
      >From 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Mon Sep 17 00:00:00 2001
      From: Michal Marek <mmarek@suse.com>
      Date: Wed, 19 Aug 2015 17:36:41 +0200
      Subject: [PATCH 1/1] kbuild: Fix clang detection
      
      We cannot detect clang before including the arch Makefile, because that
      can set the default cross compiler. We also cannot detect clang after
      including the arch Makefile, because powerpc wants to know about clang.
      Solve this by using an deferred variable. This costs us a few shell
      invocations, but this is only a constant number.
      
      Reported-by: default avatarBehan Webster <behanw@converseincode.com>
      Reported-by: default avatarAnton Blanchard <anton@samba.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
      
      in the Linux kernel.
      
      This will allow us to make better decisions about when to run tests
      later on for gcc features.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
    Kbuild.include 11.29 KiB