Skip to content
Snippets Groups Projects
  • Joel Anderson's avatar
    b60156e8
    qemu_v8.mk: update strace-clean to test for Makefile · b60156e8
    Joel Anderson authored
    
    The 'strace-clean' target runs the 'clean' target in the strace project
    directly, and afterwards removes the Makefile and configure scripts as well.
    This is the same strategy used by other platforms using strace (hikey.mk and
    hikey960.mk), however other platforms check for the existence of the Makefile
    before executing $(MAKE), allowing a build to be cleaned multiple times.
    Without this check, subsequent invocations of 'strace-clean' (or simply
    'clean') fail as there is no Makefile to use.
    
    Fixes:
    
    $ make strace-clean
    [...]
    $ make strace-clean
    [...]
    make[1]: Entering directory '/home/goatshriek/optee-armv8/strace'
    make[1]: *** No rule to make target 'clean'.  Stop.
    
    Signed-off-by: default avatarJoel Anderson <jeander@vt.edu>
    Reviewed-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
    b60156e8
    History
    qemu_v8.mk: update strace-clean to test for Makefile
    Joel Anderson authored
    
    The 'strace-clean' target runs the 'clean' target in the strace project
    directly, and afterwards removes the Makefile and configure scripts as well.
    This is the same strategy used by other platforms using strace (hikey.mk and
    hikey960.mk), however other platforms check for the existence of the Makefile
    before executing $(MAKE), allowing a build to be cleaned multiple times.
    Without this check, subsequent invocations of 'strace-clean' (or simply
    'clean') fail as there is no Makefile to use.
    
    Fixes:
    
    $ make strace-clean
    [...]
    $ make strace-clean
    [...]
    make[1]: Entering directory '/home/goatshriek/optee-armv8/strace'
    make[1]: *** No rule to make target 'clean'.  Stop.
    
    Signed-off-by: default avatarJoel Anderson <jeander@vt.edu>
    Reviewed-by: default avatarJerome Forissier <jerome.forissier@linaro.org>