Re: [PATCH] scripts/dtc: Reenable fdtget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux