All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] .PO files modified under build
@ 2017-03-23 14:11 James Hanley
  2017-03-24 11:58 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: James Hanley @ 2017-03-23 14:11 UTC (permalink / raw)
  To: qemu-devel

I have a git clone of qemu, and I build out of qemu-build...  essentially
the layout looks like:
./
  ./qemu/ -> clone of qemu
  ./qemu-build/
  ./Makefile

The contents of the top level Makefile contain the following rules:
rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call
rwildcard,$d/,$2))
files   := $(call rwildcard,qemu/,*.[ch])

.PHONY: clean_orphan_artifacts
clean_orphan_artifacts: $(note update)
        $(Q)                            \
        $(GIT_VERBOSE)  ;               \
        cd qemu &&                      \
        git clean -f -d -X
                $(call trace,GIT CLEAN)

qemu-build: qemu $(files) clean_orphan_artifacts
        $(Q)    \
        mkdir -p $(@)                   &&      \
        cd $(@)                         &&      \
        ../qemu/configure                       \
                --prefix=$(current_path)/local  \
                --target-list=arm-softmmu       \
                --disable-werror        &&      \
        $(MAKE)                         &&      \
        $(MAKE) install                         \
        $(call trace,BUILD)

It seems that somehow the .po files are being modified under the qemu repo
even though the entire build is out of ./qemu-build.

The two questions are:
   Should the .po files be modified under the qemu path when building out
of another (ie qemu-build)?
   Should the .po files continue to be versioned or placed in .gitignore if
they are (apparently) generated?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] .PO files modified under build
  2017-03-23 14:11 [Qemu-devel] .PO files modified under build James Hanley
@ 2017-03-24 11:58 ` Dr. David Alan Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. David Alan Gilbert @ 2017-03-24 11:58 UTC (permalink / raw)
  To: James Hanley; +Cc: qemu-devel

* James Hanley (jhanley@dgtlrift.com) wrote:
> I have a git clone of qemu, and I build out of qemu-build...  essentially
> the layout looks like:
> ./
>   ./qemu/ -> clone of qemu
>   ./qemu-build/
>   ./Makefile
> 
> The contents of the top level Makefile contain the following rules:
> rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call
> rwildcard,$d/,$2))
> files   := $(call rwildcard,qemu/,*.[ch])
> 
> .PHONY: clean_orphan_artifacts
> clean_orphan_artifacts: $(note update)
>         $(Q)                            \
>         $(GIT_VERBOSE)  ;               \
>         cd qemu &&                      \
>         git clean -f -d -X
>                 $(call trace,GIT CLEAN)
> 
> qemu-build: qemu $(files) clean_orphan_artifacts
>         $(Q)    \
>         mkdir -p $(@)                   &&      \
>         cd $(@)                         &&      \
>         ../qemu/configure                       \
>                 --prefix=$(current_path)/local  \
>                 --target-list=arm-softmmu       \
>                 --disable-werror        &&      \
>         $(MAKE)                         &&      \
>         $(MAKE) install                         \
>         $(call trace,BUILD)
> 
> It seems that somehow the .po files are being modified under the qemu repo
> even though the entire build is out of ./qemu-build.
> 
> The two questions are:
>    Should the .po files be modified under the qemu path when building out
> of another (ie qemu-build)?
>    Should the .po files continue to be versioned or placed in .gitignore if
> they are (apparently) generated?

It's a known problem we've had for ages, and IMHO really needs fixing.

Dave

--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-24 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-23 14:11 [Qemu-devel] .PO files modified under build James Hanley
2017-03-24 11:58 ` Dr. David Alan Gilbert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.