Hey Cal, On 02/01/2018 02:10 PM, Alejandro Enedino Hernandez Samaniego wrote: > Signed-off-by: Alejandro Enedino Hernandez Samaniego > <aleja...@xilinx.com> > --- > meta/recipes-devtools/ninja/ninja_1.7.2.bb | 30 > ------------------------------ > meta/recipes-devtools/ninja/ninja_1.8.2.bb | 30 > ++++++++++++++++++++++++++++++ > 2 files changed, 30 insertions(+), 30 deletions(-) > delete mode 100644 meta/recipes-devtools/ninja/ninja_1.7.2.bb > create mode 100644 meta/recipes-devtools/ninja/ninja_1.8.2.bb Adding the following to your .gitconfig will give you more readable patches for package upgrades: [diff] renames = copies
It simplifies the delete -> creation to a rename, then shows what changed in the renamed file (SRC_URI and SRCREV). Thanks, Cal Good to hear from you!, I thought git mv automatically did that, I was actually surprised it didnt but I didn’t spend too much time on that either. Thanks! Alejandro > > diff --git a/meta/recipes-devtools/ninja/ninja_1.7.2.bb > b/meta/recipes-devtools/ninja/ninja_1.7.2.bb > deleted file mode 100644 > index 4d3b272..0000000 > --- a/meta/recipes-devtools/ninja/ninja_1.7.2.bb > +++ /dev/null > @@ -1,30 +0,0 @@ > -SUMMARY = "Ninja is a small build system with a focus on speed." > -HOMEPAGE = "http://martine.github.com/ninja/" > -LICENSE = "Apache-2.0" > -LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" > - > -DEPENDS = "re2c-native ninja-native" > - > -SRCREV = "717b7b4a31db6027207588c0fb89c3ead384747b" > - > -SRC_URI = "git://github.com/martine/ninja.git;branch=release" > -UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)" > - > -S = "${WORKDIR}/git" > - > -do_configure[noexec] = "1" > - > -do_compile_class-native() { > - ./configure.py --bootstrap > -} > - > -do_compile() { > - ./configure.py > - ninja > -} > - > -do_install() { > - install -D -m 0755 ${S}/ninja ${D}${bindir}/ninja > -} > - > -BBCLASSEXTEND = "native nativesdk" > diff --git a/meta/recipes-devtools/ninja/ninja_1.8.2.bb > b/meta/recipes-devtools/ninja/ninja_1.8.2.bb > new file mode 100644 > index 0000000..c6fcfef > --- /dev/null > +++ b/meta/recipes-devtools/ninja/ninja_1.8.2.bb > @@ -0,0 +1,30 @@ > +SUMMARY = "Ninja is a small build system with a focus on speed." > +HOMEPAGE = "http://martine.github.com/ninja/" > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" > + > +DEPENDS = "re2c-native ninja-native" > + > +SRCREV = "253e94c1fa511704baeb61cf69995bbf09ba435e" > + > +SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release" > +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)" > + > +S = "${WORKDIR}/git" > + > +do_configure[noexec] = "1" > + > +do_compile_class-native() { > + ./configure.py --bootstrap > +} > + > +do_compile() { > + ./configure.py > + ninja > +} > + > +do_install() { > + install -D -m 0755 ${S}/ninja ${D}${bindir}/ninja } > + > +BBCLASSEXTEND = "native nativesdk" > -- > 2.7.4 > > This email and any attachments are intended for the sole use of the named > recipient(s) and contain(s) confidential information that may be proprietary, > privileged or copyrighted under applicable law. If you are not the intended > recipient, do not read, copy, or forward this email message or any > attachments. Delete this email message and any attachments immediately. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core