Skip to content
Snippets Groups Projects
  1. Aug 24, 2021
  2. Aug 20, 2021
  3. Aug 13, 2021
  4. Aug 12, 2021
  5. Aug 10, 2021
  6. Aug 09, 2021
  7. Aug 05, 2021
  8. Aug 04, 2021
    • Andrei Gherzan's avatar
      optee-os-stm32mp: Fix build when sysroot dependencies are bumped · 18c40e4d
      Andrei Gherzan authored
      
      The build `make` metadata tracks sysroot dependencies as file suitable
      for `make` to get the dependecies of the main source file. This is done
      with a combination of preprocessor options: -MD and -MF. These files are
      suffixed `.d`. When these files are generated with paths that include
      the version of the dependency, later dependecy version bumps will
      invalidate these paths as the sysroot gets regenerated.
      
      For example, gcc headers file stdbool.h is defined as the dependecy to:
      [BUILD]/tmp/work/stm32mp1_av96-poky-linux-musleabi/optee-os-stm32mp/3.12.0.r1-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-musleabi/gcc/arm-poky-linux-musleabi/11.1.1/include/stdbool.h
      
      This include the gcc version 11.1.1 in its path. When gcc is upgraded,
      sysroot is regenerated, configure and compile retriggered but compile
      will reuse the generated `.d` file from the old gcc version, hence
      failing to find the header mentioned above (as the gcc version changed).
      
      This recipe uses an out-of-tree build so the easiest and most effective
      fix it to just clean B once configure is triggered (retriggered). This
      will force make to regenerate the dependency files as per the new paths
      in the sysroot (assuming a sysroot update).
      
      Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
      Verified
      18c40e4d
  9. Aug 02, 2021
  10. Jul 30, 2021
  11. Jul 29, 2021
  12. Jul 27, 2021
  13. Jul 26, 2021
  14. Jul 23, 2021
  15. Jul 22, 2021
  16. Jul 21, 2021
  17. Jul 20, 2021
  18. Jul 19, 2021
Loading