On 27.10.20 22:40, Ralf Ramsauer wrote: > Remove redundant rules by using wildcards. > > Signed-off-by: Ralf Ramsauer <[email protected]> > --- > tools/Makefile | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/tools/Makefile b/tools/Makefile > index d336369d..e6945cd6 100644 > --- a/tools/Makefile > +++ b/tools/Makefile > @@ -106,10 +106,7 @@ endef > > targets += jailhouse.o ivshmem-demo.o > > -$(obj)/jailhouse: $(obj)/jailhouse.o > - $(call if_changed,ld) > - > -$(obj)/ivshmem-demo: $(obj)/ivshmem-demo.o > +$(obj)/%: $(obj)/%.o > $(call if_changed,ld) > > CFLAGS_jailhouse-gcov-extract.o := -I$(src)/../hypervisor/include \ > @@ -120,9 +117,6 @@ LDFLAGS_jailhouse-gcov-extract := -lgcov -fprofile-arcs > targets += jailhouse-gcov-extract.o > always-y += jailhouse-gcov-extract > > -$(obj)/jailhouse-gcov-extract: $(obj)/jailhouse-gcov-extract.o > - $(call if_changed,ld) > - > $(obj)/jailhouse-config-collect: $(src)/jailhouse-config-create > $(src)/jailhouse-config-collect.tmpl > $(call if_changed,gen_collect) > >
Thanks, applied. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/5020ab65-2655-00a5-822b-33707e28f91a%40siemens.com.
