1. 26 3月, 2021 3 次提交
    • S
      Makefile: Depend only on required of-platdata files · 13d71152
      Simon Glass 提交于
      When OF_PLATDATA_INST is enabled, we need dt-uclass.c and dt-device.c for
      the build to work. When OF_PLATDATA_INST is not enabled, we only need
      dt-plat.c
      
      Update the Makefile rules to indicate this.
      
      At present all files are generated and compiled regardless of which are
      actually needed.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      13d71152
    • S
      Makefile: Avoid running dtoc every time · 6519da47
      Simon Glass 提交于
      Since the dst_dir rule always runs, it causes a rebuild of the of-platdata
      files even if not needed.
      
      Create the directory inside the rule instead.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      6519da47
    • S
      libfdt: Tidy up pylibfdt build rule · 91f414b3
      Simon Glass 提交于
      At present the build rule for pylibfdt depends on _libfdt.so but modern
      Python versions add a different suffix to the output file, resulting in
      something like _libfdt.cpython-38-x86_64-linux-gnu.so
      
      The result is that pylibfdt is rebuilt every time.
      
      Rename the file the standard name so that the rule works correctly. Also
      add libfdt.py to the dependencies, so that file is always created if
      missing.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      91f414b3
  2. 22 3月, 2021 37 次提交