mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Re: [PATCH] scripts/dtc: Reenable fdtget
Date: Thu, 9 Aug 2018 09:14:47 +0200	[thread overview]
Message-ID: <201808090914.47846.jbe@pengutronix.de> (raw)
In-Reply-To: <20180809065420.6475-1-s.hauer@pengutronix.de>

On Thursday 09 August 2018 08:54:20 Sascha Hauer wrote:
> [...]
> diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile
> index 06aaa8c550..cc4ebefcb6 100644
> --- a/scripts/dtc/Makefile
> +++ b/scripts/dtc/Makefile
> @@ -1,6 +1,6 @@
>  # scripts/dtc makefile
>
> -hostprogs-y	:= dtc
> +hostprogs-y	:= dtc fdtget
>  always	:= $(hostprogs-y)
>
>  dtc-objs	:= dtc.o flattree.o fstree.o data.o livetree.o treesource.o \
> @@ -10,6 +10,8 @@ dtc-objs	+= dtc-lexer.lex.o dtc-parser.tab.o
>  libfdt-objs	= fdt.o fdt_ro.o fdt_strerror.o fdt_wip.o fdt_overlay.o
>  libfdt-objs	+= fdt_empty_tree.o fdt_rw.o fdt_sw.o
>
> +fdtget-objs    += fdtget.o $(libfdt-objs) util.o
> +
>  # Source files need to get at the userspace version of libfdt_env.h to compile
>
>  HOSTCFLAGS_DTC := -I$(src)
> @@ -23,6 +25,7 @@ HOSTCFLAGS_livetree.o := $(HOSTCFLAGS_DTC)
>  HOSTCFLAGS_srcpos.o := $(HOSTCFLAGS_DTC)
>  HOSTCFLAGS_treesource.o := $(HOSTCFLAGS_DTC)
>  HOSTCFLAGS_util.o := $(HOSTCFLAGS_DTC)
> +HOSTCFLAGS_fdtget.o := $(HOSTCFLAGS_DTC)
>
>  HOSTCFLAGS_fdt.o := $(HOSTCFLAGS_DTC)
>  HOSTCFLAGS_fdt_ro.o := $(HOSTCFLAGS_DTC)

You should add "fdtget" to the "clean-files" variable as well.

jb

-- 
Pengutronix e.K.                             | Juergen Borleis             |
Industrial Linux Solutions                   | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2018-08-09  7:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09  6:54 Sascha Hauer
2018-08-09  7:14 ` Juergen Borleis [this message]
2018-08-09  7:20   ` Sascha Hauer
2018-08-09  8:03     ` Juergen Borleis
2018-08-09  8:06       ` Sascha Hauer
2018-08-13 14:05 ` [PATCH] scripts/dtc: add fdtget to .gitignore Peter Mamonov
2018-08-14  6:55   ` Sascha Hauer

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=201808090914.47846.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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