1. 12 Nov, 2016 1 commit
    • Bernhard Nortmann's avatar
      tests: Introduce a basic testing framework · 5cbb0c91
      Bernhard Nortmann authored
      
      
      All tests should go into the new "tests" subdirectory. The idea is
      that the separate Makefile in that directory will get invoked via
      a top-level "make check".
      
      The tests/Makefile should then take care of running all available
      tests, returning an appropriate exit status. Future tests may be
      functional, examine code metrics (coverage analysis), or both.
      
      For a start, I'd simply like to check that sunxi-fexc is able to
      properly compile all the .fex files from linux-sunxi/sunxi-boards.
      
      (Note: This currently FAILS and will probably require adjustments
      to both sunxi-tools and the .fex repository. To work around this,
      for now I'm applying patches to fix sunxi-boards.)
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      5cbb0c91
  2. 11 Nov, 2016 4 commits
  3. 10 Nov, 2016 3 commits
  4. 09 Nov, 2016 1 commit
  5. 06 Nov, 2016 1 commit
    • Bernhard Nortmann's avatar
      Makefile: Revert sunxi-pio change from 209633ab · 6cd51fe5
      Bernhard Nortmann authored
      
      
      The previous commit had introduced a new build rule that made
      sunxi-pio always (cross-)compile as part of TARGET_TOOLS. This
      originated from a misunderstanding, and is wrong - sunxi-pio
      should be part of TOOLS instead.
      
      sunxi-pio is a "dual mode" utility. When run natively on a sunxi
      SoC, it can mmap() and manipulate the PIO registers directly. But
      it also supports file-based operation, to be used in conjunction
      with sunxi-fel (after uploading fel-pio.bin thunk code). This
      should work over USB from non-sunxi hosts, and thus puts sunxi-pio
      in the TOOLS category. See the fel-gpio shell script for details.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      6cd51fe5
  6. 03 Nov, 2016 2 commits
  7. 29 Oct, 2016 7 commits
  8. 28 Oct, 2016 2 commits
  9. 27 Oct, 2016 1 commit
    • Bernhard Nortmann's avatar
      Makefile: Adjust default targets for "make" and "make install" · 5244e88f
      Bernhard Nortmann authored
      
      
      Fixing the (currently erroneous) compilation of sunxi-pio will
      cause "make target-tools" to require a suitable cross-compiler
      installed. Otherwise "make target-tools" fails to build.
      As that is part of our default target ("make all"), we might
      possibly introduce a build breakage on quite a few systems.
      
      Avoid this situation by redefining "make tools" as the default,
      and change "make install" to "make install-tools", i.e. limit
      the standard targets to those builds that only rely on the host
      toolchain. From now, if you actually want to include the cross-
      compiling steps, use "make all" or "make install-all" instead.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      5244e88f
  10. 26 Oct, 2016 7 commits
  11. 25 Oct, 2016 4 commits
  12. 24 Oct, 2016 3 commits
  13. 22 Oct, 2016 3 commits
  14. 21 Oct, 2016 1 commit
    • Bernhard Nortmann's avatar
      Add support for auto-updated version information · 57928140
      Bernhard Nortmann authored
      
      
      The Makefile will now use a script (autoversion.sh) to update
      version.h, which in turn defines a VERSION string and gets
      included from common.h.
      
      The idea is that version.h normally receives a git-describe
      based identifier that represents the current checkout. In
      cases where git might not be available, e.g. for builds from
      a tarball, the script will instead fall back to a predefined
      version (that should reflect the most recent release tag).
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      57928140