Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] pkg-infra: put optional step_user def and assignment in one block
@ 2014-09-15  1:31 Danomi Manchego
  2014-09-15  1:31 ` [Buildroot] [PATCH v2 2/2] pkg-infra: make timing of steps optional Danomi Manchego
  2014-09-21 20:57 ` [Buildroot] [PATCH v2 1/2] pkg-infra: put optional step_user def and assignment in one block Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Danomi Manchego @ 2014-09-15  1:31 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

---

Like the manual says in 'The .mk file' section ...

Changes v1 -> v2
- Add acked-by
---
 package/pkg-generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index d04fd36..4b6d818 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -56,11 +56,11 @@ endef
 GLOBAL_INSTRUMENTATION_HOOKS += step_time
 
 # User-supplied script
+ifneq ($(BR2_INSTRUMENTATION_SCRIPTS),)
 define step_user
 	@$(foreach user_hook, $(BR2_INSTRUMENTATION_SCRIPTS), \
 		$(EXTRA_ENV) $(user_hook) "$(1)" "$(2)" "$(3)"$(sep))
 endef
-ifneq ($(BR2_INSTRUMENTATION_SCRIPTS),)
 GLOBAL_INSTRUMENTATION_HOOKS += step_user
 endif
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-12  9:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-15  1:31 [Buildroot] [PATCH v2 1/2] pkg-infra: put optional step_user def and assignment in one block Danomi Manchego
2014-09-15  1:31 ` [Buildroot] [PATCH v2 2/2] pkg-infra: make timing of steps optional Danomi Manchego
2014-09-21 22:13   ` Yann E. MORIN
2014-09-22  2:18     ` Danomi Manchego
2014-09-22 17:17       ` Yann E. MORIN
2014-10-12  9:37   ` Thomas Petazzoni
2014-09-21 20:57 ` [Buildroot] [PATCH v2 1/2] pkg-infra: put optional step_user def and assignment in one block Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox