Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mDNSresponder cross-compilation
@ 2009-03-04  1:46 Zac Wheeler
  2009-03-05 10:59 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Zac Wheeler @ 2009-03-04  1:46 UTC (permalink / raw)
  To: buildroot

This patch fixes the mdnsresponder package from Apple so that it will
cross-compile on arm. It also fixes an incorrect usage of $(PKG)_SITE.

It is against the 2009.02 release.

Please let me know if this format does not work well and I will resubmit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdnsresponder-cross-compile.patch
Type: text/x-diff
Size: 2974 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090303/85e20148/attachment.bin>

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

* [Buildroot] [PATCH] mDNSresponder cross-compilation
  2009-03-04  1:46 [Buildroot] [PATCH] mDNSresponder cross-compilation Zac Wheeler
@ 2009-03-05 10:59 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-03-05 10:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Zac" == Zac Wheeler <zac.wheeler@gmail.com> writes:

 Zac> This patch fixes the mdnsresponder package from Apple so that it will
 Zac> cross-compile on arm. It also fixes an incorrect usage of $(PKG)_SITE.

 Zac> It is against the 2009.02 release.

Thanks, a few comments:

 Zac> +++ b/package/mdnsresponder/mDNSResponder-107.6-mdnsposix-ld-strip.patch
 Zac> @@ -0,0 +1,20 @@
 Zac> +--- mDNSResponder-107.6/mDNSPosix/Makefile.orig	2009-03-03 16:57:28.000000000 -0800
 Zac> ++++ mDNSResponder-107.6/mDNSPosix/Makefile	2009-03-03 16:56:16.000000000 -0800
 Zac> +@@ -268,7 +268,7 @@
 Zac> + JDK = /usr/jdk
 Zac> + 
 Zac> + CC = @cc
 Zac> +-LD = ld -shared
 Zac> ++LD = @ld -shared
 Zac> + CP = cp
 Zac> + RM = rm
 Zac> + LN = ln -s -f
 Zac> +@@ -293,7 +293,7 @@
 Zac> + CFLAGS_DEBUG = -Os -DMDNS_DEBUGMSGS=0 
 Zac> + OBJDIR = objects/prod
 Zac> + BUILDDIR = build/prod
 Zac> +-STRIP = strip -S 
 Zac> ++STRIP = @strip -S 

Why those @ ? Just purely cosmetic?

Isn't the .mk overrriding those variables on the cmdline anyway?

 Zac>  $(MDNSRESPONDER_DIR)/.built: $(MDNSRESPONDER_DIR)/.configured
 Zac> -	$(MAKE1) CC=$(TARGET_CC) os="linux" LD="$(TARGET_CC) -shared" LOCALBASE="/usr" -C $(MDNSRESPONDER_DIR)/mDNSPosix
 Zac> +	$(MAKE1) CC=$(TARGET_CC) os="linux" LD="$(TARGET_CC) -shared" STRIP=$(TARGET_STRIP) LOCALBASE="/usr" -C $(MDNSRESPONDER_DIR)/mDNSPosix

We normally use $(STRIPCMD) in package/ instead of $(TARGET_STRIP),
but OK.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2009-03-05 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04  1:46 [Buildroot] [PATCH] mDNSresponder cross-compilation Zac Wheeler
2009-03-05 10:59 ` Peter Korsgaard

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