All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-02-06 18:09 sjhill at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: sjhill at uclibc.org @ 2007-02-06 18:09 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-02-06 10:09:54 -0800 (Tue, 06 Feb 2007)
New Revision: 17795

Log:
Wrong sign dufus.


Modified:
   trunk/buildroot/package/mtd/mtd.patch


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.patch
===================================================================
--- trunk/buildroot/package/mtd/mtd.patch	2007-02-06 17:38:29 UTC (rev 17794)
+++ trunk/buildroot/package/mtd/mtd.patch	2007-02-06 18:09:54 UTC (rev 17795)
@@ -15,7 +15,7 @@
  					printf ("\nSkipping bad block at 0x%08x\n", erase.start);
  				continue;
 -			} else if (ret == -EOPNOTSUPP) {
-+			} else if (errno == -EOPNOTSUPP) {
++			} else if (errno == EOPNOTSUPP) {
  				fprintf(stderr, "%s: %s: Bad block check not available\n", exe_name, mtd_device);
  				bbtest = 0;
  			} else if (ret < 0) {

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2009-01-08 14:58 jacmet at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: jacmet at uclibc.org @ 2009-01-08 14:58 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-08 14:58:45 +0000 (Thu, 08 Jan 2009)
New Revision: 24722

Log:
mtd: mark 20050122 snapshot as deprecated

Modified:
   trunk/buildroot/package/mtd/Config.in


Changeset:
Modified: trunk/buildroot/package/mtd/Config.in
===================================================================
--- trunk/buildroot/package/mtd/Config.in	2009-01-08 13:16:24 UTC (rev 24721)
+++ trunk/buildroot/package/mtd/Config.in	2009-01-08 14:58:45 UTC (rev 24722)
@@ -25,6 +25,7 @@
 
 config BR2_PACKAGE_MTD_20050122
 	bool "Use MTD snapshot from 20050122"
+	depends on BR2_DEPRECATED
 	help
 	  Use the stable release.
 

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-09-27 21:18 ulf at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: ulf at uclibc.org @ 2007-09-27 21:18 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-27 14:17:58 -0700 (Thu, 27 Sep 2007)
New Revision: 20070

Log:
Remove superfluose defaults

Modified:
   trunk/buildroot/package/mtd/Config.in


Changeset:
Modified: trunk/buildroot/package/mtd/Config.in
===================================================================
--- trunk/buildroot/package/mtd/Config.in	2007-09-27 20:49:57 UTC (rev 20069)
+++ trunk/buildroot/package/mtd/Config.in	2007-09-27 21:17:58 UTC (rev 20070)
@@ -15,14 +15,12 @@
 	bool "Use MTD-utils"
 	depends on BR2_PACKAGE_MTD
 	select BR2_PACKAGE_LZO
-	default n
 	help
 	  Build mtd/jffs utilities with Dataflash support
 
 config BR2_PACKAGE_MTD_20061007
 	bool "Use MTD from (20061007)"
 	depends on BR2_PACKAGE_MTD
-	default n
 	help
 	  Build mtd/jffs utilities with Dataflash support
 

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-09-27  7:38 ulf at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: ulf at uclibc.org @ 2007-09-27  7:38 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-27 00:38:09 -0700 (Thu, 27 Sep 2007)
New Revision: 20056

Log:
mtd-utils require lzo

Modified:
   trunk/buildroot/package/mtd/Config.in


Changeset:
Modified: trunk/buildroot/package/mtd/Config.in
===================================================================
--- trunk/buildroot/package/mtd/Config.in	2007-09-27 07:36:42 UTC (rev 20055)
+++ trunk/buildroot/package/mtd/Config.in	2007-09-27 07:38:09 UTC (rev 20056)
@@ -14,6 +14,7 @@
 config BR2_PACKAGE_MTD_UTILS
 	bool "Use MTD-utils"
 	depends on BR2_PACKAGE_MTD
+	select BR2_PACKAGE_LZO
 	default n
 	help
 	  Build mtd/jffs utilities with Dataflash support

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
  2007-09-25 19:50   ` Peter Korsgaard
  2007-09-25 22:12     ` Bernhard Fischer
@ 2007-09-26 11:08     ` Ulf Samuelsson
  1 sibling, 0 replies; 17+ messages in thread
From: Ulf Samuelsson @ 2007-09-26 11:08 UTC (permalink / raw)
  To: buildroot

tis 2007-09-25 klockan 21:50 +0200 skrev Peter Korsgaard:
> >>>>> "Ulf" == Ulf Samuelsson <ulf@atmel.com> writes:
> 
> Hi,
> 
>  >> Log:
>  >> Don't limit 2006 version to Atmel targets (why?)
> 
>  Ulf> Just tried to be non-intrusive...
>  Ulf> The "normal" version is buggy, and this works for me,
>  Ulf> but I have no targets for other architectures.
> 
> Ok, but with the dependency noone else could test it. I only
> discovered by chance that there actually was a never version.
> 
>  Ulf> It may make sense to make it the default,
>  Ulf> but someone else needs to test that.
> 
> I think we should actually use
> ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.1.0.tar.bz2 instead
> - That seems to be the latest release instead of some random snapshot.
> 

I will add that as a choice, to allow testing.

BR
Ulf Samuelsson

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
  2007-09-25 19:50   ` Peter Korsgaard
@ 2007-09-25 22:12     ` Bernhard Fischer
  2007-09-26 11:08     ` Ulf Samuelsson
  1 sibling, 0 replies; 17+ messages in thread
From: Bernhard Fischer @ 2007-09-25 22:12 UTC (permalink / raw)
  To: buildroot

On Tue, Sep 25, 2007 at 09:50:11PM +0200, Peter Korsgaard wrote:
>>>>>> "Ulf" == Ulf Samuelsson <ulf@atmel.com> writes:
>
>Hi,
>
> >> Log:
> >> Don't limit 2006 version to Atmel targets (why?)
>
> Ulf> Just tried to be non-intrusive...
> Ulf> The "normal" version is buggy, and this works for me,
> Ulf> but I have no targets for other architectures.
>
>Ok, but with the dependency noone else could test it. I only
>discovered by chance that there actually was a never version.
>
> Ulf> It may make sense to make it the default,
> Ulf> but someone else needs to test that.
>
>I think we should actually use
>ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.1.0.tar.bz2 instead
>- That seems to be the latest release instead of some random snapshot.

Sounds fine. If you can test that it works then please go ahead.

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
  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
  0 siblings, 2 replies; 17+ messages in thread
From: Peter Korsgaard @ 2007-09-25 19:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Ulf" == Ulf Samuelsson <ulf@atmel.com> writes:

Hi,

 >> Log:
 >> Don't limit 2006 version to Atmel targets (why?)

 Ulf> Just tried to be non-intrusive...
 Ulf> The "normal" version is buggy, and this works for me,
 Ulf> but I have no targets for other architectures.

Ok, but with the dependency noone else could test it. I only
discovered by chance that there actually was a never version.

 Ulf> It may make sense to make it the default,
 Ulf> but someone else needs to test that.

I think we should actually use
ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.1.0.tar.bz2 instead
- That seems to be the latest release instead of some random snapshot.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
  2007-09-25 14:45 jacmet at uclibc.org
@ 2007-09-25 16:16 ` Ulf Samuelsson
  2007-09-25 19:50   ` Peter Korsgaard
  0 siblings, 1 reply; 17+ messages in thread
From: Ulf Samuelsson @ 2007-09-25 16:16 UTC (permalink / raw)
  To: buildroot

tis 2007-09-25 klockan 07:45 -0700 skrev jacmet at uclibc.org:
> Author: jacmet
> Date: 2007-09-25 07:45:26 -0700 (Tue, 25 Sep 2007)
> New Revision: 20021
> 
> Log:
> Don't limit 2006 version to Atmel targets (why?)
> 

Just tried to be non-intrusive...
The "normal" version is buggy, and this works for me,
but I have no targets for other architectures.

It may make sense to make it the default,
but someone else needs to test that.

BR
Ulf Samuelsson

> Modified:
>    trunk/buildroot/package/mtd/Config.in
> 
> 
> Changeset:
> Modified: trunk/buildroot/package/mtd/Config.in
> ===================================================================
> --- trunk/buildroot/package/mtd/Config.in	2007-09-25 14:13:21 UTC (rev 20020)
> +++ trunk/buildroot/package/mtd/Config.in	2007-09-25 14:45:26 UTC (rev 20021)
> @@ -8,7 +8,6 @@
>  config BR2_PACKAGE_MTD_EXPERIMENTAL
>  	bool "Use experimental MTD (20061007)"
>  	depends on BR2_PACKAGE_MTD
> -	depends on BR2_TARGET_ATMEL
>  	default n
>  	help
>  	  Build mtd/jffs utilities with Dataflash support
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-09-25 14:45 jacmet at uclibc.org
  2007-09-25 16:16 ` Ulf Samuelsson
  0 siblings, 1 reply; 17+ messages in thread
From: jacmet at uclibc.org @ 2007-09-25 14:45 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-09-25 07:45:26 -0700 (Tue, 25 Sep 2007)
New Revision: 20021

Log:
Don't limit 2006 version to Atmel targets (why?)

Modified:
   trunk/buildroot/package/mtd/Config.in


Changeset:
Modified: trunk/buildroot/package/mtd/Config.in
===================================================================
--- trunk/buildroot/package/mtd/Config.in	2007-09-25 14:13:21 UTC (rev 20020)
+++ trunk/buildroot/package/mtd/Config.in	2007-09-25 14:45:26 UTC (rev 20021)
@@ -8,7 +8,6 @@
 config BR2_PACKAGE_MTD_EXPERIMENTAL
 	bool "Use experimental MTD (20061007)"
 	depends on BR2_PACKAGE_MTD
-	depends on BR2_TARGET_ATMEL
 	default n
 	help
 	  Build mtd/jffs utilities with Dataflash support

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-07-17  0:23 sjhill at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: sjhill at uclibc.org @ 2007-07-17  0:23 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-07-16 17:23:46 -0700 (Mon, 16 Jul 2007)
New Revision: 19121

Log:
We need LDFLAGS here.


Modified:
   trunk/buildroot/package/mtd/mtd.mk


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.mk
===================================================================
--- trunk/buildroot/package/mtd/mtd.mk	2007-07-17 00:23:31 UTC (rev 19120)
+++ trunk/buildroot/package/mtd/mtd.mk	2007-07-17 00:23:46 UTC (rev 19121)
@@ -118,6 +118,7 @@
 	$(MAKE)	$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS+="-I$(MTD_DIR)/include" \
 		CFLAGS+="-I$(LINUX_HEADERS_DIR)/include" \
+		LDFLAGS="$(TARGET_LDFLAGS)" \
 		LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
 
 MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-02-16 18:32 aldot at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: aldot at uclibc.org @ 2007-02-16 18:32 UTC (permalink / raw)
  To: buildroot

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 :=

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-02-09 14:18 aldot at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 14:18 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-09 06:18:37 -0800 (Fri, 09 Feb 2007)
New Revision: 17839

Log:
- swap order of include paths. Closes #1205 and #1182


Modified:
   trunk/buildroot/package/mtd/mtd.mk


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.mk
===================================================================
--- trunk/buildroot/package/mtd/mtd.mk	2007-02-09 14:05:51 UTC (rev 17838)
+++ trunk/buildroot/package/mtd/mtd.mk	2007-02-09 14:18:37 UTC (rev 17839)
@@ -116,7 +116,7 @@
 MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/util/, $(MTD_TARGETS_y))
 
 $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
-	$(MAKE)	CC=$(TARGET_CC) CFLAGS="-I$(LINUX_HEADERS_DIR)/include -I$(MTD_DIR)/include $(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
+	$(MAKE)	CC=$(TARGET_CC) CFLAGS="-I$(MTD_DIR)/include -I$(LINUX_HEADERS_DIR)/include $(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
 
 MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))
 

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-01-14  4:58 sjhill at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: sjhill at uclibc.org @ 2007-01-14  4:58 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-01-13 20:58:37 -0800 (Sat, 13 Jan 2007)
New Revision: 17291

Log:
Update patch.


Modified:
   trunk/buildroot/package/mtd/mtd.patch


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.patch
===================================================================
--- trunk/buildroot/package/mtd/mtd.patch	2007-01-14 04:25:41 UTC (rev 17290)
+++ trunk/buildroot/package/mtd/mtd.patch	2007-01-14 04:58:37 UTC (rev 17291)
@@ -1,24 +1,45 @@
-diff -ur mtd-20050122.orig/include/mtd/jffs2-user.h mtd-20050122.orig-patched/include/mtd/jffs2-user.h
---- mtd-20050122.orig/include/mtd/jffs2-user.h	2004-05-05 06:57:54.000000000 -0500
-+++ mtd-20050122.orig-patched/include/mtd/jffs2-user.h	2005-08-17 22:17:32.000000000 -0500
-@@ -19,8 +19,6 @@
- #undef je32_to_cpu
- #undef jemode_to_cpu
+diff -ur mtd-20050122.orig/util/flash_eraseall.c mtd-20050122.orig-patched/util/flash_eraseall.c
+--- mtd-20050122.orig/util/flash_eraseall.c	2004-12-09 17:00:52.000000000 -0600
++++ mtd-20050122.orig-patched/util/flash_eraseall.c	2007-01-13 22:56:51.864233154 -0600
+@@ -54,7 +54,7 @@
+ static void display_help (void);
+ static void display_version (void);
+ static struct jffs2_unknown_node cleanmarker;
+-static int target_endian = __BYTE_ORDER;
++int target_endian = __BYTE_ORDER;
  
--extern int target_endian;
--
- #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
- #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
+ int main (int argc, char *argv[])
+ {
+@@ -134,7 +134,7 @@
+ 				if (!quiet)
+ 					printf ("\nSkipping bad block at 0x%08x\n", erase.start);
+ 				continue;
+-			} else if (ret == -EOPNOTSUPP) {
++			} else if (errno == -EOPNOTSUPP) {
+ 				fprintf(stderr, "%s: %s: Bad block check not available\n", exe_name, mtd_device);
+ 				bbtest = 0;
+ 			} else if (ret < 0) {
+diff -ur mtd-20050122.orig/util/mkfs.jffs2.c mtd-20050122.orig-patched/util/mkfs.jffs2.c
+--- mtd-20050122.orig/util/mkfs.jffs2.c	2004-11-26 17:00:13.000000000 -0600
++++ mtd-20050122.orig-patched/util/mkfs.jffs2.c	2007-01-13 22:55:53.627687214 -0600
+@@ -101,7 +101,7 @@
+ static int squash_uids = 0;
+ static int squash_perms = 0;
+ static int fake_times = 0;
+-static int target_endian = __BYTE_ORDER;
++int target_endian = __BYTE_ORDER;
+ static const char *const app_name = "mkfs.jffs2";
+ static const char *const memory_exhausted = "memory exhausted";
  
-diff -ur mtd-20050122.orig/util/jffs3.h mtd-20050122.orig-patched/util/jffs3.h
---- mtd-20050122.orig/util/jffs3.h	2005-01-21 17:00:13.000000000 -0600
-+++ mtd-20050122.orig-patched/util/jffs3.h	2005-08-17 22:19:25.000000000 -0500
-@@ -177,8 +177,6 @@
- #undef je32_to_cpu
- #undef jemode_to_cpu
+diff -ur mtd-20050122.orig/util/sumtool.c mtd-20050122.orig-patched/util/sumtool.c
+--- mtd-20050122.orig/util/sumtool.c	2005-01-05 17:00:16.000000000 -0600
++++ mtd-20050122.orig-patched/util/sumtool.c	2007-01-13 22:56:05.528616125 -0600
+@@ -68,7 +68,7 @@
+ static int cleanmarker_size = sizeof(cleanmarker);
+ static const char *short_options = "o:i:e:hvVblnc:p";
+ static int erase_block_size = 65536;
+-static int target_endian = __BYTE_ORDER;
++int target_endian = __BYTE_ORDER;
+ static int out_fd = -1;
+ static int in_fd = -1;
  
--extern int target_endian;
--
- #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
- #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
- 

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2007-01-14  1:01 sjhill at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: sjhill at uclibc.org @ 2007-01-14  1:01 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-01-13 17:01:07 -0800 (Sat, 13 Jan 2007)
New Revision: 17272

Log:
Correct spelling error and config option to create symlinks for old naming of MTD utilities. Also add in LDFLAGS and such to building with external toolchains.


Modified:
   trunk/buildroot/package/mtd/Config.in
   trunk/buildroot/package/mtd/mtd.mk


Changeset:
Modified: trunk/buildroot/package/mtd/Config.in
===================================================================
--- trunk/buildroot/package/mtd/Config.in	2007-01-14 00:59:10 UTC (rev 17271)
+++ trunk/buildroot/package/mtd/Config.in	2007-01-14 01:01:07 UTC (rev 17272)
@@ -57,7 +57,7 @@
 	depends on BR2_PACKAGE_MTD
 
 config BR2_PACKAGE_MTD_FLASH_LOCK
-	bool "flash_loco"
+	bool "flash_lock"
 	default y
 	depends on BR2_PACKAGE_MTD
 
@@ -71,6 +71,11 @@
 	default y
 	depends on BR2_PACKAGE_MTD
 
+config BR2_PACKAGE_MTD_ERASE
+	bool "erase"
+	default y
+	depends on BR2_PACKAGE_MTD
+
 config BR2_PACKAGE_MTD_JFFS2DUMP
 	bool "jffs2dump"
 	default y

Modified: trunk/buildroot/package/mtd/mtd.mk
===================================================================
--- trunk/buildroot/package/mtd/mtd.mk	2007-01-14 00:59:10 UTC (rev 17271)
+++ trunk/buildroot/package/mtd/mtd.mk	2007-01-14 01:01:07 UTC (rev 17272)
@@ -116,14 +116,21 @@
 MTD_BUILD_TARGETS := $(addprefix $(MTD_DIR)/util/, $(MTD_TARGETS_y))
 
 $(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
-	CFLAGS="-I$(LINUX_HEADERS_DIR)/include $(TARGET_CFLAGS)" \
-	$(MAKE)	CC=$(TARGET_CC) LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
+	$(MAKE)	CC=$(TARGET_CC) CFLAGS="-I$(LINUX_HEADERS_DIR)/include -I$(MTD_DIR)/include $(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
 
 MTD_TARGETS := $(addprefix $(TARGET_DIR)/usr/sbin/, $(MTD_TARGETS_y))
 
 $(MTD_TARGETS): $(TARGET_DIR)/usr/sbin/% : $(MTD_DIR)/util/%
+	mkdir -p $(TARGET_DIR)/usr/sbin
 	cp -f $< $@
 	$(STRIP) $@
+ifneq ($(BR2_PACKAGE_MTD_FLASHCP),)
+	-ln -sf flashcp $(TARGET_DIR)/usr/sbin/fcp
+endif
+ifneq ($(BR2_PACKAGE_MTD_ERASE),)
+	-ln -sf flash_erase $(TARGET_DIR)/usr/sbin/erase
+	-ln -sf flash_eraseall $(TARGET_DIR)/usr/sbin/eraseall
+endif
 
 mtd: zlib $(MTD_TARGETS)
 
@@ -131,6 +138,13 @@
 
 mtd-clean:
 	-$(MAKE) -C $(MTD_DIR) clean
+ifneq ($(BR2_PACKAGE_MTD_FLASHCP),)
+	-rm -f $(MTD_TARGETS) $(TARGET_DIR)/usr/sbin/fcp
+endif
+ifneq ($(BR2_PACKAGE_MTD_ERASE),)
+	-rm -f $(MTD_TARGETS) $(TARGET_DIR)/usr/sbin/erase
+	-rm -f $(MTD_TARGETS) $(TARGET_DIR)/usr/sbin/eraseall
+endif
 
 mtd-dirclean:
 	rm -rf $(MTD_DIR)

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2006-10-07  6:28 vapier at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: vapier at uclibc.org @ 2006-10-07  6:28 UTC (permalink / raw)
  To: buildroot

Author: vapier
Date: 2006-10-06 23:28:23 -0700 (Fri, 06 Oct 2006)
New Revision: 16329

Log:
remove duplicate/invalid options in choice

Modified:
   trunk/buildroot/package/mtd/Config.in


Changeset:
Modified: trunk/buildroot/package/mtd/Config.in
===================================================================
--- trunk/buildroot/package/mtd/Config.in	2006-10-07 06:01:37 UTC (rev 16328)
+++ trunk/buildroot/package/mtd/Config.in	2006-10-07 06:28:23 UTC (rev 16329)
@@ -16,14 +16,11 @@
 
 config BR2_PACKAGE_MTD_ORIG
 	bool "Default source"
-	depends on BR2_PACKAGE_MTD
-	default y
 	help
 	  Use the stable release.
 
 config BR2_PACKAGE_MTD_SNAPSHOT
 	bool "Daily snapshot"
-	depends on BR2_PACKAGE_MTD
 	help
 	  Use the latest MTD daily snapshot instead of release.
 	  You should probably say NO except for specific purpose.

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2006-10-06 13:01 aldot at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: aldot at uclibc.org @ 2006-10-06 13:01 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-10-06 06:01:29 -0700 (Fri, 06 Oct 2006)
New Revision: 16319

Log:
- be gentle to vi syntax color mode


Modified:
   trunk/buildroot/package/mtd/mtd.mk


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.mk
===================================================================
--- trunk/buildroot/package/mtd/mtd.mk	2006-10-06 13:00:57 UTC (rev 16318)
+++ trunk/buildroot/package/mtd/mtd.mk	2006-10-06 13:01:29 UTC (rev 16319)
@@ -14,7 +14,7 @@
 MTD_UNZIP:=bzcat
 else
 MTD_SOURCE:=$(strip $(subst ",, $(BR2_PACKAGE_MTD_ORIG_STRING)))
-#"
+#"))
 MTD_SITE:=http://ftp.debian.org/debian/pool/main/m/mtd
 MTD_HOST_DIR := $(TOOL_BUILD_DIR)/mtd_orig
 MTD_DIR:=$(BUILD_DIR)/mtd_orig

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

* [Buildroot] svn commit: trunk/buildroot/package/mtd
@ 2006-10-03 14:11 aldot at uclibc.org
  0 siblings, 0 replies; 17+ messages in thread
From: aldot at uclibc.org @ 2006-10-03 14:11 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-10-03 07:11:12 -0700 (Tue, 03 Oct 2006)
New Revision: 16297

Log:
- use the HOSTCC for building host-tools.


Modified:
   trunk/buildroot/package/mtd/mtd.mk


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.mk
===================================================================
--- trunk/buildroot/package/mtd/mtd.mk	2006-10-03 13:42:42 UTC (rev 16296)
+++ trunk/buildroot/package/mtd/mtd.mk	2006-10-03 14:11:12 UTC (rev 16297)
@@ -57,7 +57,7 @@
 endif
 
 $(MTD_HOST_DIR)/util/mkfs.jffs2: $(MTD_HOST_DIR)/.unpacked
-	CFLAGS=-I$(LINUX_HEADERS_DIR)/include \
+	CC="$(HOSTCC)" CROSS= CFLAGS=-I$(LINUX_HEADERS_DIR)/include \
 		$(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_HOST_DIR)/util mkfs.jffs2
 
 mtd-host: $(MKFS_JFFS2)

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

end of thread, other threads:[~2009-01-08 14:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-06 18:09 [Buildroot] svn commit: trunk/buildroot/package/mtd sjhill at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2009-01-08 14:58 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-16 18:32 aldot at uclibc.org
2007-02-09 14:18 aldot 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.