Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot: target/device	target/device/Atmel targe etc...
Date: Tue, 31 Jul 2007 18:17:31 +0200	[thread overview]
Message-ID: <20070731161731.GC9378@aon.at> (raw)
In-Reply-To: <20070731161525.GB9378@aon.at>

On Tue, Jul 31, 2007 at 06:15:25PM +0200, Bernhard Fischer wrote:
>On Tue, Jul 31, 2007 at 07:59:59AM -0700, ulf at uclibc.org wrote:
>>Author: ulf
>>Date: 2007-07-31 07:59:58 -0700 (Tue, 31 Jul 2007)
>>New Revision: 19351
>>
>>Log:
>>Add support for prepatched toolchains
>
>>Changeset:
>
>[snip -- see r19355 and r19356 for comments on the snipped parts]
>
>>Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
>>===================================================================
>>--- trunk/buildroot/toolchain/uClibc/uclibc.mk	2007-07-30 18:24:53 UTC (rev 19350)
>>+++ trunk/buildroot/toolchain/uClibc/uclibc.mk	2007-07-31 14:59:58 UTC (rev 19351)
>>@@ -33,15 +33,23 @@
>> endif
>> UCLIBC_SITE:=http://www.uclibc.org/downloads
>> 
>>-ifeq	($(BR2_avr32),y)
>>-VENDOR_SUFFIX:=-avr32
>>-UCLIBC_SITE:=$(BR2_ATMEL_MIRROR)/Source
>>+ifeq	($(BR2_TOOLCHAIN_NORMAL),)
>>+UCLIBC_SITE:=$(VENDOR_SITE)
>> endif
>> 
>>-UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_VER)$(VENDOR_SUFFIX)
>>-UCLIBC_SOURCE:=uClibc-$(UCLIBC_VER)$(VENDOR_SUFFIX).tar.bz2
>>+UCLIBC_OFFICIAL_VERSION:=$(UCLIBC_VER)$(VENDOR_SUFFIX)$(VENDOR_UCLIBC_RELEASE)
>>+
>>+
>>+ifeq	($(BR2_TOOLCHAIN_NORMAL),y)
>>+UCLIBC_PATCH_DIR:=toolchain/uClibc/
>>+else
>>+UCLIBC_PATCH_DIR:=$(VENDOR_PATCH_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
>> endif
>> 
>>+UCLIBC_DIR:=$(TOOL_BUILD_DIR)/uClibc-$(UCLIBC_OFFICIAL_VERSION)
>>+UCLIBC_SOURCE:=uClibc-$(UCLIBC_OFFICIAL_VERSION).tar.bz2
>>+endif
>>+
>> UCLIBC_CAT:=$(BZCAT)
>> 
>> UCLIBC_TARGET_ARCH:=$(shell $(SHELL) -c "echo $(ARCH) | sed -e s'/-.*//' \
>>@@ -93,13 +101,13 @@
>> 
>> uclibc-unpacked: $(UCLIBC_DIR)/.unpacked
>> $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
>>-	[ -d $(TOOL_BUILD_DIR) ] || $(INSTALL) -d $(TOOL_BUILD_DIR)
>>+	mkdir -p $(TOOL_BUILD_DIR)
>> 	rm -rf $(UCLIBC_DIR)
>> 	$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
>> ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
>>-	toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)$(VENDOR_SUFFIX)-\*.patch
>>+	toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) uClibc-$(UCLIBC_OFFICIAL_VERSION)-\*.patch
>> else
>>-	toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc.\*.patch
>>+	toolchain/patch-kernel.sh $(UCLIBC_DIR) $(UCLIBC_PATCH_DIR) uClibc.\*.patch
>> endif
>> ifneq ($(BR2_ENABLE_LOCALE),)
>> 	cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/
>
>You broke using snapshots.
>
>[]
>bzcat /tmp/buildroot_trunk/.down/uClibc-snapshot.tar.bz2 | tar -C /tmp/buildroot_trunk/toolchain_build_i386   -xf -
>toolchain/patch-kernel.sh /tmp/buildroot_trunk/toolchain_build_i386/uClibc  uClibc.\*.patch
>Aborting.  'uClibc.*.patch' is not a directory.
>
>Please fix.

Oh, also please do *not* use tabs between ifeq/ifneq and the test.

  reply	other threads:[~2007-07-31 16:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 14:59 [Buildroot] svn commit: trunk/buildroot: target/device target/device/Atmel targe etc ulf at uclibc.org
2007-07-31 16:15 ` Bernhard Fischer
2007-07-31 16:17   ` Bernhard Fischer [this message]
2007-07-31 20:24   ` Cristian Ionescu-Idbohrn
2007-07-31 21:27     ` Bernhard Fischer
2007-07-31 21:43       ` Cristian Ionescu-Idbohrn
2007-07-31 23:15     ` Ulf Samuelsson
2007-09-17  9:20 ` [Buildroot] r19351 broke make source [was: Re: svn commit: trunk/buildroot: target/device target/device/Atmel targe etc...] Bernhard Fischer
2007-09-17  9:50   ` Bernhard Fischer
2007-09-17 20:12     ` [Buildroot] r19351 broke make source [was: Re: svn commit:trunk/buildroot: " Ulf Samuelsson
2007-09-17 21:47       ` Bernhard Fischer
2007-09-17 12:21   ` [Buildroot] r19351 broke make source [was: Re: svn commit: trunk/buildroot: " Ulf Samuelsson
2007-09-17 11:01     ` Bernhard Fischer

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=20070731161731.GC9378@aon.at \
    --to=rep.dot.nop@gmail.com \
    --cc=buildroot@busybox.net \
    /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