Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 02/29] ARC: [eznps] support OVERRIDE_SRCDIR feature for uclibc
@ 2013-12-22 18:53 Noam Camus
  2013-12-23  7:52 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Noam Camus @ 2013-12-22 18:53 UTC (permalink / raw)
  To: buildroot

Hi Thomas,
Yes it was intentionality.
I send only the ones that seem to me as generic.
Noam

On Dec 22, 2013 7:41 PM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
Dear Noam Camus,

On Sun, 22 Dec 2013 17:31:03 +0200, Noam Camus wrote:
> fix 2 issues:
> 1) need to set .config, which normally it is at post patch hook
> 2) need to rsync *.old directories/files excluded by --cvs-exclude
>
> Signed-off-by: Noam Camus <noamc@ezchip.com>
> ---
>  package/uclibc/uclibc.mk |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)

You sent five patches to the Buildroot mailing list, but they are part
of a 29 patch series. We did not receive the entire patch series.

Was this intentional?

Thanks,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [Buildroot] [PATCH 02/29] ARC: [eznps] support OVERRIDE_SRCDIR feature for uclibc
@ 2013-12-22 15:31 Noam Camus
  2013-12-22 17:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Noam Camus @ 2013-12-22 15:31 UTC (permalink / raw)
  To: buildroot

fix 2 issues:
1) need to set .config, which normally it is at post patch hook
2) need to rsync *.old directories/files excluded by --cvs-exclude

Signed-off-by: Noam Camus <noamc@ezchip.com>
---
 package/uclibc/uclibc.mk |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk index de9011f..def5388 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -457,7 +457,18 @@ define UCLIBC_SETUP_DOT_CONFIG
 		oldconfig
 endef
 
+ifeq ($(UCLIBC_OVERRIDE_SRCDIR),)
 UCLIBC_POST_PATCH_HOOKS += UCLIBC_SETUP_DOT_CONFIG
+else
+
+define UCLIBC_RSYNC_DOT_OLD_FILES
+	rsync -au --cvs-exclude --include core --include "*.old" \
+	$(UCLIBC_OVERRIDE_SRCDIR)/ $(@D)
+endef
+
+UCLIBC_PRE_CONFIGURE_HOOKS += UCLIBC_RSYNC_DOT_OLD_FILES 
+UCLIBC_PRE_CONFIGURE_HOOKS += UCLIBC_SETUP_DOT_CONFIG endif
 
 define UCLIBC_CONFIGURE_CMDS
 	$(MAKE1) -C $(UCLIBC_DIR) \
--
1.7.1

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

end of thread, other threads:[~2014-05-01 19:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-22 18:53 [Buildroot] [PATCH 02/29] ARC: [eznps] support OVERRIDE_SRCDIR feature for uclibc Noam Camus
2013-12-23  7:52 ` Thomas Petazzoni
2014-02-17  8:10   ` Noam Camus
2014-02-17 10:32     ` Thomas Petazzoni
2014-02-17 10:36       ` Thomas De Schampheleire
2014-05-01 19:16         ` Thomas De Schampheleire
  -- strict thread matches above, loose matches on Subject: below --
2013-12-22 15:31 Noam Camus
2013-12-22 17:42 ` Thomas Petazzoni

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