1. 18 5月, 2021 4 次提交
    • S
      Makefile: Handle building in a very old build directory · a7d03d53
      Simon Glass 提交于
      Versions of U-Boot before 2014.01 created a symlink from include/asm to
      the architecture-specific header directory.
      
      If an ARM board is build with that old version, then sandbox is built on
      a more recent version (both with in-tree builds), the include/asm symlink
      confuses the build system. It picks up the ARM headers when it should be
      using the sandbox ones.
      
      Since 2014 U-Boot has only created a symlink inside the include/asm/
      directory and only for out-of-tree builds. So for in-tree builds it does
      not expect to see an include/asm symlink. It is not removed by
      'make mrproper'. It does show up with 'git status' but is easy enough to
      miss.
      
      Add include/asm to the files to remove with 'make mkproper'. For recent
      U-Boot builds this has no effect, since include/asm is a directory, not a
      file. If the include/asm symlink is there, it will be removed.
      Reported-by: NMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      a7d03d53
    • I
      psci: rename psci_features function · eefa9d7f
      Igor Opaniuk 提交于
      s/psci_features/request_psci_features/g for the case when both
      ARCH_SUPPORT_PSCI=y and ARM_PSCI_FW=y, that leads to these
      compilation issues:
      
      drivers/firmware/psci.c:69:12: error: conflicting types for 'psci_features'
         69 | static int psci_features(u32 psci_func_id)
            |            ^~~~~~~~~~~~~
      In file included from drivers/firmware/psci.c:23:
      ./arch/arm/include/asm/system.h:548:5: note: previous declaration of 'psci_features' was here
        548 | s32 psci_features(u32 function_id, u32 psci_fid);
            |     ^~~~~~~~~~~~~
      Tested-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
      Reported-by: NAlexandru Gagniuc <mr.nuke.me@gmail.com>
      Fixes: b7135b03 ("psci: add features/reset2 support")
      Signed-off-by: NIgor Opaniuk <igor.opaniuk@foundries.io>
      eefa9d7f
    • P
      cli: slighly more clear error messages · 6c353b34
      peng.wang@smartm.com 提交于
      This patch tries to distinguish two error messages.
      Signed-off-by: Npeng.wang@smartm.com <peng.wang@smartm.com>
      6c353b34
    • A
      Makefile: allow to override python3 · f68ed0bc
      Andrey Zhizhikin 提交于
      Python3 taken from the PATH causes build issues when pylibfdt bindings are
      generated with Yocto SDK.
      
      Python3 provided as a part of SDK is not compatible with host Python3,
      therefore binding build breaks with following errors:
      
      scripts/dtc/pylibfdt/libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory
        154 | # include <Python.h>
            |           ^~~~~~~~~~
      
      Do not enforce the python3 from the PATH and make it conditionally-assigned
      so it can be overridden from outside of build system. Keep the default
      assignment to point to version that is taken from the PATH.
      
      Similar fix has been introduced in b48bfc74 ("tools: allow to override
      python"), where conditional assignment is used for python executable to
      address similar build errors.
      Signed-off-by: NAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
      Cc: Simon Glass <sjg@chromium.org>
      Fixes: e91610da ("kconfig: re-sync with Linux 4.17-rc4")
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      f68ed0bc
  2. 17 5月, 2021 4 次提交
  3. 16 5月, 2021 12 次提交
  4. 15 5月, 2021 4 次提交
  5. 14 5月, 2021 16 次提交