From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/mtd
Date: Fri, 16 Feb 2007 10:32:20 -0800 (PST) [thread overview]
Message-ID: <20070216183220.27D9E485AB@busybox.net> (raw)
Author: aldot
Date: 2007-02-16 10:32:20 -0800 (Fri, 16 Feb 2007)
New Revision: 17912
Log:
- fix build for the host
Modified:
trunk/buildroot/package/mtd/mtd.mk
Changeset:
Modified: trunk/buildroot/package/mtd/mtd.mk
===================================================================
--- trunk/buildroot/package/mtd/mtd.mk 2007-02-16 18:11:48 UTC (rev 17911)
+++ trunk/buildroot/package/mtd/mtd.mk 2007-02-16 18:32:20 UTC (rev 17912)
@@ -40,7 +40,7 @@
$(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
mv $(TOOL_BUILD_DIR)/$(shell tar tjf $(DL_DIR)/$(MTD_SOURCE) \
| head -n 1 | xargs basename) $(MTD_HOST_DIR)
- touch $(MTD_HOST_DIR)/.unpacked
+ touch $@
else
ifneq ($(MTD_SOURCE),)
$(DL_DIR)/$(MTD_SOURCE):
@@ -51,14 +51,13 @@
$(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
mv $(TOOL_BUILD_DIR)/$(shell tar tzf $(DL_DIR)/$(MTD_SOURCE) | head -n 1 \
| xargs basename) $(MTD_HOST_DIR)
- toolchain/patch-kernel.sh $(MTD_HOST_DIR) \
- package/mtd \*.patch
- touch $(MTD_HOST_DIR)/.unpacked
+ toolchain/patch-kernel.sh $(MTD_HOST_DIR) package/mtd \*.patch
+ touch $@
endif
$(MTD_HOST_DIR)/util/mkfs.jffs2: $(MTD_HOST_DIR)/.unpacked
- CC="$(HOSTCC)" CROSS= CFLAGS=-I$(LINUX_HEADERS_DIR)/include \
- $(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_HOST_DIR)/util mkfs.jffs2
+ CFLAGS=-I$(LINUX_HEADERS_DIR)/include $(MAKE) CC="$(HOSTCC)" CROSS= \
+ LINUXDIR=$(LINUX_DIR) -C $(MTD_HOST_DIR)/util mkfs.jffs2
mtd-host: $(MKFS_JFFS2)
@@ -80,13 +79,13 @@
ifeq ($(strip $(BR2_PACKAGE_MTD_SNAPSHOT)),y)
mv $(BUILD_DIR)/$(shell tar tjf $(DL_DIR)/$(MTD_SOURCE) \
| head -n 1 | xargs basename) $(MTD_DIR)
- touch $(MTD_DIR)/.unpacked
+ touch $@
else
mv $(BUILD_DIR)/$(shell tar tzf $(DL_DIR)/$(MTD_SOURCE) \
| head -n 1 | xargs basename) $(MTD_DIR)
toolchain/patch-kernel.sh $(MTD_DIR) \
package/mtd \*.patch
- touch $(MTD_DIR)/.unpacked
+ touch $@
endif
MTD_TARGETS_n :=
next reply other threads:[~2007-02-16 18:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 18:32 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-08 14:58 [Buildroot] svn commit: trunk/buildroot/package/mtd jacmet at uclibc.org
2007-09-27 21:18 ulf at uclibc.org
2007-09-27 7:38 ulf at uclibc.org
2007-09-25 14:45 jacmet at uclibc.org
2007-09-25 16:16 ` Ulf Samuelsson
2007-09-25 19:50 ` Peter Korsgaard
2007-09-25 22:12 ` Bernhard Fischer
2007-09-26 11:08 ` Ulf Samuelsson
2007-07-17 0:23 sjhill at uclibc.org
2007-02-09 14:18 aldot at uclibc.org
2007-02-06 18:09 sjhill at uclibc.org
2007-01-14 4:58 sjhill at uclibc.org
2007-01-14 1:01 sjhill at uclibc.org
2006-10-07 6:28 vapier at uclibc.org
2006-10-06 13:01 aldot at uclibc.org
2006-10-03 14:11 aldot at uclibc.org
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=20070216183220.27D9E485AB@busybox.net \
--to=aldot@uclibc.org \
--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