lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110521063345.GB14828@yookeroo.fritz.box>
Date:	Sat, 21 May 2011 16:33:45 +1000
From:	David Gibson <david@...son.dropbear.id.au>
To:	David Daney <ddaney@...iumnetworks.com>
Cc:	linux-mips@...ux-mips.org, ralf@...ux-mips.org,
	devicetree-discuss@...ts.ozlabs.org, grant.likely@...retlab.ca,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v4 1/6] of: Allow scripts/dtc/libfdt to be used from
 kernel code

On Fri, May 20, 2011 at 03:25:38PM -0700, David Daney wrote:
> To use it you need to do this in your Kconfig:
> 
> 	select LIBFDT
> 
> And in the Makefile of the code using libfdt something like:
> 
> ccflags-y := -include linux/libfdt_env.h -I$(src)/../../../scripts/dtc/libfdt
> 
> Signed-off-by: David Daney <ddaney@...iumnetworks.com>
> ---
>  drivers/of/Kconfig          |    3 +++
>  drivers/of/Makefile         |    2 ++
>  drivers/of/libfdt/Makefile  |    3 +++
>  drivers/of/libfdt/fdt.c     |    2 ++
>  drivers/of/libfdt/fdt_ro.c  |    2 ++
>  drivers/of/libfdt/fdt_wip.c |    2 ++

No fdt_sw.c or fdt_rw.c?

>  include/linux/libfdt.h      |    8 ++++++++
>  include/linux/libfdt_env.h  |   13 +++++++++++++
>  8 files changed, 35 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/of/libfdt/Makefile
>  create mode 100644 drivers/of/libfdt/fdt.c
>  create mode 100644 drivers/of/libfdt/fdt_ro.c

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ