• Evan Lloyd's avatar
    Make:Make shell commands more portable · f1477d4a
    Evan Lloyd authored
    Macros are inserted to replace direct invocations of commands that are
    problematic on some build environments. (e.g. Some environments expect
    \ in paths instead of /.)
    The changes take into account mismatched command mappings across
    environments.
    The new helper file unix.mk retains existing makefile behaviour on unix
    like build environments by providing the following macro definitions:
      SHELL_COPY        cp -f
      SHELL_COPY_TREE   cp -rf
      SHELL_DELETE      rm -f
      SHELL_DELETE_ALL  rm -rf
      MAKE_PREREQ_DIR   mkdir -p  (As make target)
      SHELL_REMOVE_DIR  rm -rf
    
    Change-Id: I1b5ca5e1208e78230b15284c4af00c1c006cffcb
    f1477d4a
Makefile 3.13 KB