Skip to content
Snippets Groups Projects
  1. Oct 21, 2016
  2. Sep 20, 2016
  3. Jul 19, 2016
  4. Apr 25, 2016
  5. Mar 22, 2016
  6. Mar 17, 2016
  7. Mar 16, 2016
  8. Mar 03, 2016
    • Pascal Brand's avatar
      fvp: Introduce mixed compilation mode 32bits / 64bits · 6044eb57
      Pascal Brand authored
      
      This patch introduce compilation mode 32bits / 64 bits independently
      for every parts:
      - COMPILE_NS_USER:   Non-Secure User
      - COMPILE_NS_KERNEL: Non-Secure Kernel
      - COMPILE_S_USER:    Secure User
      - COMPILE_S_KERNEL:  Secure Kernel
      
      This is used on FVP, the non-secure part being bits, but the secure
      part can be specified as 32 or 64 bits (64bits by default).
      
      Reviewed-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU)
      Tested-by: Pascal Brand <pascal.brand@linaro.org> (FVP)
      Signed-off-by: default avatarPascal Brand <pascal.brand@st.com>
      6044eb57
  9. Dec 11, 2015
  10. Dec 04, 2015
    • Victor Chong's avatar
      common: Remove *_CLEAN_COMMON_FLAGS dependency on *_COMMON_FLAGS · 87f5fcf6
      Victor Chong authored
      Fixes https://github.com/OP-TEE/build/issues/28
      
      .
      
      In common.mk *_CLEAN_COMMON_FLAGS ?= *_COMMON_FLAGS but in the
      platform makefiles (e.g. hikey.mk) they're defined as
      such:
      *_COMMON_FLAGS += x y z
      *_CLEAN_COMMON_FLAGS += x
      
      When expanded during a build, *_CLEAN_COMMON_FLAGS becomes
      "x y z x". Variables can be repeated, which may be nothing more
      than a cosmetic issue, but if any of those variables are make
      targets, then 'make clean' will build them before cleaning.
      
      To fix this, we remove the dependency of *_CLEAN_COMMON_FLAGS on
      *_COMMON_FLAGS.
      
      Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
      Tested-by: Victor Chong <victor.chong@linaro.org> (hikey)
      87f5fcf6
  11. Nov 26, 2015
  12. Oct 19, 2015
  13. Oct 14, 2015
  14. Sep 16, 2015
  15. Sep 08, 2015
    • Jerome Forissier's avatar
      Rework common.mk · ae45fbf9
      Jerome Forissier authored
      
      The code added by commits d6536da6 ("Commonlize xtest compilation
      among all platforms") and 070d9559 ("common build: optee
      components") introduces race conditions that break parallel build (make
      -jX). This is due to manually launching a make sub-process to run the
      -common targets, and can be fixed by just declaring a dependency
      instead. Specific flags are appended to common flags, rather than
      passed as arguments to a new "make" sub-process.
      
      So, basically:
      
       foo-common:
       	$(MAKE) -C foo_dir [A=a B=B]
      
       foo:
       	$(MAKE) foo-common [C=c]
      
      is turned into:
      
       FOO_COMMON_FLAGS ?= A=a B=b
       foo-common:
       	$(MAKE) -C foo_dir $(FOO_COMMON_FLAGS)
      
       FOO_COMMON_FLAGS += C=c
       foo: foo-common
      
      At the same time this allows foo: to override flags, for instance
      set A=aa in the above example (prior to this, A=a would have had a
      higher priority).
      
      Signed-off-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
      Signed-off-by: default avatarPascal Brand <pascal.brand@st.com>
      Reviewed-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
      ae45fbf9
  16. Sep 03, 2015
Loading