Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Valleroy <jvalleroy@mailbox.org>2014-11-18 19:13:39 -0500
committerPetter Reinholdtsen <pere@hungry.com>2014-11-19 11:27:27 +0100
commit3dd444c31a4ebf3ad2199043c01ecdef1221c7c4 (patch)
treecfcb4e5ab63f808b4f9b7f2ab10132827cb15979
parent13119625ab511126e2d22468b74ef0fd25aab21b (diff)
For armel targets, pin build process to single core. This is a workaround for a qemu-user-static issue that causes builds to hang. (See Debian bug #769983 for details.)
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8a1b0f0..4fd3c2d 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ dreamplug-image: prep
$(eval DESTINATION = card)
ARCHITECTURE=$(ARCHITECTURE) MACHINE=$(MACHINE) DESTINATION=$(DESTINATION) \
MIRROR=$(MIRROR) SUITE=$(SUITE) \
- bin/mk_freedombox_image $(NAME)
+ taskset 0x01 bin/mk_freedombox_image $(NAME)
tar -cjvf $(ARCHIVE) $(IMAGE)
-gpg --output $(SIGNATURE) --detach-sig $(ARCHIVE)
@echo "Build complete."
@@ -37,7 +37,7 @@ raspberry-image: prep
$(eval DESTINATION = card)
ARCHITECTURE=$(ARCHITECTURE) MACHINE=$(MACHINE) DESTINATION=$(DESTINATION) \
MIRROR=$(MIRROR) SUITE=$(SUITE) \
- bin/mk_freedombox_image $(NAME)
+ taskset 0x01 bin/mk_freedombox_image $(NAME)
tar -cjvf $(ARCHIVE) $(IMAGE)
-gpg --output $(SIGNATURE) --detach-sig $(ARCHIVE)
@echo "Build complete."