mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Darren Garnier <dgarnier@reinrag.net>
To: barebox@lists.infradead.org
Subject: [PATCH 3/4] small tweeks to build system for compatibility on MacOS X
Date: Mon, 2 Sep 2013 22:22:49 -0400	[thread overview]
Message-ID: <0EC48711-FFBD-438E-A85A-1FB2A466A613@reinrag.net> (raw)

Signed-off-by: Darren Garnier <dgarnier@reinrag.net>
---
Makefile       | 6 +++---
scripts/genenv | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 397c54a..ff17d8f 100644
--- a/Makefile
+++ b/Makefile
@@ -577,7 +577,7 @@ define rule_barebox__
	$(cmd_sysmap) $@ System.map;                                         \
	if [ $$? -ne 0 ]; then                                               \
		rm -f $@;                                                    \
-		/bin/false;                                                  \
+		false;                                                       \
	fi;
endef

@@ -614,7 +614,7 @@ define verify_kallsyms
	$(Q)cmp -s System.map .tmp_System.map ||                             \
		(echo Inconsistent kallsyms data;                            \
		 echo Try setting CONFIG_KALLSYMS_EXTRA_PASS;                \
-		 rm .tmp_kallsyms* ; /bin/false )
+		 rm .tmp_kallsyms* ; false )
endef

# Update barebox version before link
@@ -782,7 +782,7 @@ ifneq ($(KBUILD_SRC),)
	$(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
		echo "  $(srctree) is not clean, please run 'make mrproper'";\
		echo "  in the '$(srctree)' directory.";\
-		/bin/false; \
+		false; \
	fi;
	$(Q)if [ ! -d include2 ]; then mkdir -p include2; fi;
	$(Q)if [ -e $(srctree)/include/asm-$(SRCARCH)/barebox.h ]; then  \
diff --git a/scripts/genenv b/scripts/genenv
index 374db6d..b3b6ec5 100755
--- a/scripts/genenv
+++ b/scripts/genenv
@@ -24,7 +24,8 @@ for i in $*; do
done
)

-find $tempdir -name '.svn' -o -name '*~' | xargs --no-run-if-empty rm -r
+#find $tempdir -name '.svn' -o -name '*~' | xargs --no-run-if-empty rm -r
+find $tempdir -name '.svn' -o -name '*~' -delete

$objtree/scripts/bareboxenv -s $tempdir $target

-- 
1.8.3.1



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-09-03  2:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03  2:22 Darren Garnier [this message]
2013-09-04  7:12 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0EC48711-FFBD-438E-A85A-1FB2A466A613@reinrag.net \
    --to=dgarnier@reinrag.net \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox