Skip to contentSkip to conversation

mdnsresponder doesn't do parallel makes

PATCH New Brad House 2 participants 3 messages Aug 14, 2007 – Aug 15, 2007

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 mdnsresponder doesn't do parallel makes

tis 2007-08-14 klockan 16:35 -0400 skrev Brad House:

Quoted 4 lines

Apparently mdnsresponder will fail to build with parallel makes. This patch just adds a -j1 to the $(MAKE) to force it to not build in parallel.

Buildroot defines $(MAKE1) for this purpose, but
I will fix that, so no need to send a new patch.

Quoted 7 lines

-Brad
vanligt textdokument-bilaga (mdnsresponder-parallelmake.diff)
Index: package/mdnsresponder/mdnsresponder.mk
===================================================================

mdnsresponder/mdnsresponder.mk line 32

Quoted 8 lines
mdnsresponder/mdnsresponder.mk +1 -1
@@ -26,7 +26,7 @@
 	touch $(MDNSRESPONDER_DIR)/.configured
 
 $(MDNSRESPONDER_DIR)/.built: $(MDNSRESPONDER_DIR)/.configured
-	$(MAKE) CC=$(TARGET_CC) os="linux" LD="$(TARGET_CC) -shared" LOCALBASE="/usr" -C $(MDNSRESPONDER_DIR)/mDNSPosix
+	$(MAKE) -j1 CC=$(TARGET_CC) os="linux" LD="$(TARGET_CC) -shared" LOCALBASE="/usr" -C $(MDNSRESPONDER_DIR)/mDNSPosix
 	touch $(MDNSRESPONDER_DIR)/.built
 
 $(STAGING_DIR)/usr/lib/libdns_sd.so: $(MDNSRESPONDER_DIR)/.built

BR
Ulf Samuelsson

author
#2 lore raw

PATCH 1/1 mdnsresponder doesn't do parallel makes

Quoted 7 lines
Quoted 4 lines

Apparently mdnsresponder will fail to build with parallel makes. This patch just adds a -j1 to the $(MAKE) to force it to not build in parallel.

Buildroot defines $(MAKE1) for this purpose, but
I will fix that, so no need to send a new patch.

Ah, I didn't realize that. I just grepped through other packages and saw some had -j1 flags for that purpose...

-Brad