Skip to contentSkip to conversation

ARC: [eznps] support OVERRIDE_SRCDIR feature for uclibc

PATCH New Noam Camus 2 participants 2 messages Dec 22, 2013

lore
Share & tools
lore

Noam Camus

author
#0 lore raw

PATCH 2/29 ARC: [eznps] support OVERRIDE_SRCDIR feature for uclibc

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

---
 package/uclibc/uclibc.mk |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
package/uclibc/uclibc.mk +10 -0
@@ -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

#1 lore raw

PATCH 2/29 ARC: [eznps] support OVERRIDE_SRCDIR feature for uclibc

Dear Noam Camus,

Quoted 8 lines · Noam Camus

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

---
 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

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