[U-Boot] [PATCH] Only build fw_printenv if we have mtd/mtd-user.h

Wolfgang Denk wd at denx.de
Tue Apr 12 21:27:22 CEST 2011


Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=,

In message <1297120981-29885-1-git-send-email-loic.minier at linaro.org> you wrote:
> mtd/mtd-user.h is missing on FreeBSD hosts; add a macro to test whether
> a specific host header is present and use it to decide to build
> fw_printenv if mtd/mtd-user.h is present.
> ---

Sorry for the delay.

I understand thi is just a RFC, not a patch (yet) intended for
inclusion? [In that case it would miss your SoB line...]

>  How about this approach?
> 
>  If it's ok, then I could extend it to handle the MTD_VERSION=old case as well,
>  perhaps replacing this MTD_VERSION with a test for linux/mtd/mtd.h.

I'm fine with that.  Thanks!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Writing a book is like washing an elephant: there's no good place  to
begin  or  end,  and  it's  hard to keep track of what you've already
covered.


More information about the U-Boot mailing list