Skip to main content
Tweeted twitter.com/StackUnix/status/831258273458302979
edited title
Link
szx
  • 163
  • 1
  • 6

What does "-" mean in in this "-cp" command?

added 99 characters in body
Source Link
szx
  • 163
  • 1
  • 6

I came across this in one of Android makefiles (build/core/Makefilebuild/core/Makefile):

$(hide) -cp $(TARGET_ROOT_OUT)/init.recovery.*.rc $(TARGET_RECOVERY_ROOT_OUT)/

What does the - mean in front of cp here? It probably has something to do with suppressing errors but I couldn't google documentation for this.

I came across this in one of Android makefiles (build/core/Makefile):

$(hide) -cp $(TARGET_ROOT_OUT)/init.recovery.*.rc $(TARGET_RECOVERY_ROOT_OUT)/

What does the - mean in front of cp here?

I came across this in one of Android makefiles (build/core/Makefile):

$(hide) -cp $(TARGET_ROOT_OUT)/init.recovery.*.rc $(TARGET_RECOVERY_ROOT_OUT)/

What does the - mean in front of cp here? It probably has something to do with suppressing errors but I couldn't google documentation for this.

Source Link
szx
  • 163
  • 1
  • 6

What does "-" mean in in this "-cp" command?

I came across this in one of Android makefiles (build/core/Makefile):

$(hide) -cp $(TARGET_ROOT_OUT)/init.recovery.*.rc $(TARGET_RECOVERY_ROOT_OUT)/

What does the - mean in front of cp here?