Advertisement
Guest User

Untitled

a guest
Jan 8th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.80 KB | None | 0 0
  1. diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
  2. index f5cab2b9c2..282a63a30d 100644
  3. --- a/package/pkg-generic.mk
  4. +++ b/package/pkg-generic.mk
  5. @@ -47,6 +47,10 @@ endef
  6.  #######################################
  7.  # Actual steps hooks
  8.  
  9. +stamp_start = touch $@_before
  10. +stamp_end = rm -f $@_before
  11. +GLOBAL_INSTRUMENTATION_HOOKS = stamp_start
  12. +
  13.  # Time steps
  14.  define step_time
  15.     printf "%s:%-5.5s:%-20.20s: %s\n"           \
  16. @@ -126,6 +130,8 @@ endef
  17.  GLOBAL_INSTRUMENTATION_HOOKS += step_user
  18.  endif
  19.  
  20. +GLOBAL_INSTRUMENTATION_HOOKS += stamp_end
  21. +
  22.  ################################################################################
  23.  # Implicit targets -- produce a stamp file for each step of a package build
  24.  ################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement