Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • sp/trace-zero-ranges
  • stable-2.5
  • stable-2.4
  • stable-2.3
  • stable-2.2
  • stable-2.1
  • stable-2.0
  • stable-1.7
  • stable-1.6
  • stable-1.5
  • stable-1.4
  • stable-1.3
  • stable-1.2
  • stable-1.1
  • stable-1.0
  • stable-0.15
  • stable-0.14
  • stable-0.13
  • stable-0.12
  • v2.7.0-rc1
  • v2.7.0-rc0
  • v2.6.0
  • v2.5.1.1
  • v2.6.0-rc5
  • v2.6.0-rc4
  • v2.6.0-rc3
  • v2.6.0-rc2
  • v2.6.0-rc1
  • v2.6.0-rc0
  • v2.5.1
  • v2.5.0
  • v2.5.0-rc4
  • v2.5.0-rc3
  • v2.5.0-rc2
  • v2.5.0-rc1
  • v2.5.0-rc0
  • v2.4.1
  • v2.4.0.1
  • v2.3.1
40 results

Makefile.target

Blame
    • Peter Maydell's avatar
      ba453780
      linux-user: Create a hostdep.h for each host architecture · ba453780
      Peter Maydell authored
      
      In commit 4d330cee a new hostdep.h file was added, with the intent
      that host architectures which needed one could provide it, and the
      build system would automatically fall back to a generic version if
      there was no version for the host architecture. Although this works,
      it has a flaw: if a subsequent commit switches an architecture from
      "uses generic/hostdep.h" to "uses its own hostdep.h" nothing in the
      makefile dependencies notices this and so doing a rebuild without
      a manual 'make clean' will fail.
      
      So we drop the idea of having a 'generic' version in favour of
      every architecture we support having its own hostdep.h, even if
      it doesn't have anything in it. (There are only thirteen of these.)
      
      If the dependency files claim that an object file depends on a
      nonexistent file, our dependency system means that make will
      rebuild the object file, and regenerate the dependencies in
      the process. So moving between trees prior to this commit and
      trees after this commit works without requiring a 'make clean'.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarRiku Voipio <riku.voipio@linaro.org>
      ba453780
      History
      linux-user: Create a hostdep.h for each host architecture
      Peter Maydell authored
      
      In commit 4d330cee a new hostdep.h file was added, with the intent
      that host architectures which needed one could provide it, and the
      build system would automatically fall back to a generic version if
      there was no version for the host architecture. Although this works,
      it has a flaw: if a subsequent commit switches an architecture from
      "uses generic/hostdep.h" to "uses its own hostdep.h" nothing in the
      makefile dependencies notices this and so doing a rebuild without
      a manual 'make clean' will fail.
      
      So we drop the idea of having a 'generic' version in favour of
      every architecture we support having its own hostdep.h, even if
      it doesn't have anything in it. (There are only thirteen of these.)
      
      If the dependency files claim that an object file depends on a
      nonexistent file, our dependency system means that make will
      rebuild the object file, and regenerate the dependencies in
      the process. So moving between trees prior to this commit and
      trees after this commit works without requiring a 'make clean'.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarRiku Voipio <riku.voipio@linaro.org>
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Bonus03_Simultaneous.ipynb 21.97 KiB