1. 02 9月, 2023 3 次提交
  2. 01 9月, 2023 1 次提交
  3. 24 9月, 2021 1 次提交
  4. 15 2月, 2021 1 次提交
  5. 21 6月, 2019 1 次提交
  6. 20 6月, 2019 1 次提交
    • J
      metadata: ensure one dependency provider to be y if a package is y · 1fd50531
      Jonas Gorski 提交于
      When there are multiple packages providing a meta-package, it is
      possible to to create a config where a package is selected as =y, but
      all of its dependency providers are just selected as =m. This is due to
      the selection statement being just
      
        config PACKAGE_foo
          select PACKAGE_bar if !PACKAGE_baz
      
      which is already fulfilled by PACKAGE_bar=m. Fix this by properly
      comparing the selection states:
      
        config PACKAGE_foo
          select PACKAGE_bar if PACKAGE_baz<PACKAGE_foo
      
      Also invert the select conditions to improve readability.
      Signed-off-by: NJonas Gorski <jonas.gorski@gmail.com>
      [slightly reword commit message]
      Signed-off-by: NJo-Philipp Wich <jo@mein.io>
      1fd50531
  7. 31 5月, 2019 1 次提交
    • E
      build: add support to && in DEPENDS · a41f474d
      Eneas U de Queiroz 提交于
      Adds support to && operand in DEPENDS.  Also, fixes generation of ||
      dependencies by scripts/package-metadata.pl.
      
      The precedence order from higher to lower is && then ||.  Use of
      parentheses to change the order is not supported. As before, they are
      silently ignored.  Use them for readability only.
      Signed-off-by: NEneas U de Queiroz <cote2004-github@yahoo.com>
      Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [DMARC removal]
      a41f474d
  8. 24 1月, 2019 1 次提交
  9. 19 1月, 2019 2 次提交
  10. 15 1月, 2018 1 次提交
  11. 14 1月, 2018 14 次提交
  12. 05 1月, 2018 1 次提交
  13. 27 7月, 2017 1 次提交
    • J
      scripts/package-metadata.pl: inhibit compile deps on missing build types · bf5d32af
      Jo-Philipp Wich 提交于
      When a package declares a PKG_BUILD_DEPENDENCY or HOST_BUILD_DEPENDENCY on
      a not existing build type, the metadata script will emit a reference to an
      unresolvable build target in tmp/.packagedeps, causing the make process to
      fail hard in a way not catchable by the IGNORE_ERRORS mechanism.
      
      In a situation where a package "test-a" declares a build dependency
      "PKG_BUILD_DEPENDS:=test-b/host" while the Makefile of "test-b" does not
      implement a HostBuild, make fails with an unrecoverable error in the form:
      
          make[1]: Entering directory '...'
          make[1]: *** No rule to make target 'package/test-b/host/compile',
                       needed by 'package/test-a/compile'.  Stop.
          make[1]: Leaving directory '...'
          .../toplevel.mk:200: recipe for target 'package/test-a/compile' failed
          make: *** [package/test-a/compile] Error 2
      
      Extend the metadata generation script to catch such unresolved references
      and emit a visable warning upon detection.
      
      After this change, the script will emit a warning similar to:
      
          WARNING: Makefile "package/test-a/Makefile" has a build dependency on
          "test-b/host" but "package/test-b/Makefile" does not implement a
          "host" build type
      
      Fixes a global build cluster outage which occured after the "python-cffi"
      feed package removed its HostBuild which the "python-cryptography" package
      build-depended on.
      Signed-off-by: NJo-Philipp Wich <jo@mein.io>
      bf5d32af
  14. 18 6月, 2017 1 次提交
  15. 12 1月, 2017 1 次提交
  16. 02 11月, 2016 2 次提交
    • J
      scripts/package-metadata.pl: honour DEFAULT_VARIANT · 12d15fa8
      Jo-Philipp Wich 提交于
      So far, package-metadata.pl always considered the first provider of a virtual
      package to be the default variant which might deviate from what buildroot
      considers to be the default.
      
      Change the Kconfig dependency / select code generation for virtual package
      providers to consider the DEFAULT_VARIANT to be the primary provider and only
      fall back to the first provider if no default variant was explicitely tagged.
      Signed-off-by: NJo-Philipp Wich <jo@mein.io>
      12d15fa8
    • J
      scripts/package-metadata.pl: fix handling of virtual (PROVIDES) depends · f64360c7
      Jo-Philipp Wich 提交于
      Currently the code emitting dependencies for provide candidates is overwriting
      the specification calculated by the previous conditional dependency handling
      code, rendering dependencies on virtual PROVIDES packages in conjunction with
      conditional dependencies unusable.
      
      Instead of overwriting, append the PROVIDES dependency spec in order to fix
      using DEPENDS on virtual provider packages in conjunction with conditions.
      Signed-off-by: NJo-Philipp Wich <jo@mein.io>
      f64360c7
  17. 15 10月, 2016 1 次提交
    • Z
      scripts: fix build warning when overriding packages · cf458de3
      Zefir Kurtisi 提交于
      If core packages are overridden, CONFIG_OVERRIDE_PKGS is set
      based on the scan order of packages, which eventually causes
      that config value to be modified on each build and with
      that causes the build process to warn for configuration
      being out of sync.
      
      This commit changes the CONFIG_OVERRIDE_PKGS to be sorted
      and prevents that false warning.
      Signed-off-by: NZefir Kurtisi <zefir.kurtisi@neratec.com>
      cf458de3
  18. 24 9月, 2016 1 次提交
  19. 07 7月, 2016 1 次提交
  20. 07 6月, 2016 1 次提交
  21. 16 5月, 2016 1 次提交
  22. 13 5月, 2016 1 次提交
  23. 12 5月, 2016 1 次提交