13 Aug, 2017

1 commit

  • Moving SPL_LDSCRIPT to Kconfig triggered an unfortunate attempt of
    command substitution, as the sourced auto.conf may include $(ARCH)
    which tries to execute a command 'ARCH'.
    This showed up as a warning similar to the following:
    include/config/auto.conf: line 209: ARCH: command not found

    This change does no longer attempt to source auto.conf, but rather
    passes it through awk to retrieve the values for CONFIG_LOCALVERSION
    and CONFIG_LOCALVERSION_AUTO. This will also mitigate the risk of
    unintended command substitution.

    Signed-off-by: Philipp Tomsich
    Reported-by: Andy Yan
    Reviewed-by: Tom Rini
    Reviewed-by: Klaus Goger
    Reviewed-by: Jakob Unterwurzacher

    Philipp Tomsich
     

29 Aug, 2014

1 commit


13 Dec, 2013

1 commit

  • We have some scripts imported from Linux Kernel:
    setlocalversion, checkstack.pl, checkpatch.pl, cleanpatch

    They are located under tools/ directory in U-Boot now.
    But they were originally located under scripts/ directory
    in Linux Kernel.

    This commit moves them to the original location.

    It is true that binutils-version.sh and dtc-version.sh
    do not originate in Linux Kernel, but they should
    be moved by analogy to gcc-version.sh.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada