[U-Boot] [PATCH] Can build with only jffs2 cmdline support

Kyungmin Park kmpark at infradead.org
Tue Mar 3 06:02:40 CET 2009


On Sat, Feb 28, 2009 at 11:20 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Kyungmin Park,
>
> In message <20090227085736.GA5826 at july> you wrote:
>> Some program such as UBI only used the mtdpart only.
>> however current jffs2 cmdline has dependent with jffs2 cmd
>> This patch make a build only jffs2 cmdline without jffs2 cmd dependency.
>>
>> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
>> ---
>> diff --git a/common/Makefile b/common/Makefile
>> index f13cd11..18d76fa 100644
>> --- a/common/Makefile
>> +++ b/common/Makefile
>> @@ -98,6 +98,7 @@ COBJS-$(CONFIG_CMD_IMMAP) += cmd_immap.o
>>  COBJS-$(CONFIG_CMD_IRQ) += cmd_irq.o
>>  COBJS-$(CONFIG_CMD_ITEST) += cmd_itest.o
>>  COBJS-$(CONFIG_CMD_JFFS2) += cmd_jffs2.o
>> +COBJS-$(CONFIG_JFFS2_CMDLINE) += cmd_jffs2.o
>
> I think both the patch descriptin and the new CONFIG_JFFS2_CMDLINE
> variable name are misleading - additionally, CONFIG_JFFS2_CMDLINE
> needs to be documented in  the READMe.
>

Yes it's right. the name is misleading. however I just leaved as
before and generate patch at this time.
Since I don't want to break the existing configurations.

Now I separate mtdpart command from jffs2. I will post it.

Thank you,
Kyungmin Park


More information about the U-Boot mailing list