Skip to contentSkip to conversation

u-boot-fw-utils: Add support for libubootenv

PATCH In review Stefano Babic 3 participants 8 messages Jan 3, 2020 – Jan 14, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 u-boot-fw-utils: Add support for libubootenv

libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on U-Boot's ML at:

http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none

---
Changes since V3:
- Update maintainers.inc (R. Purdie)
- Add link to U-Boot's ML in commit message (R. Purdie)
Changes since V2:
- drop .inc file (R. Burton)
Changes since V1:
- drop PACKAGE_ARCH (M. Jansa)

 meta/conf/distro/include/maintainers.inc   |  1 +
 meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 meta/recipes-bsp/u-boot/libubootenv_0.2.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 39eee9475c..09453e7343 100644
@@ -398,6 +398,7 @@ RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield <[email protected]>"
 RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER_pn-libubootenv = "Stefano Babic <[email protected]>"
 RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <[email protected]>"
meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +26 -0
new file mode 100644
index 0000000000..23230d132e
@@ -0,0 +1,26 @@
+SUMMARY = "U-Boot libraries and tools to access environment"
+DEPENDS += "mtd-utils"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv utilities \
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
+SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES_${PN} += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
#1 lore raw

In case of multilib, the do_package fails with

ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped in any package:
/usr/lib/libubootenv.so
/usr/lib/libubootenv.so.0.2

Regards,
Chen Qi

Quoted 72 lines · Stefano Babic

libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on U-Boot's ML at:

http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none

---
Changes since V3:
- Update maintainers.inc (R. Purdie)
- Add link to U-Boot's ML in commit message (R. Purdie)
Changes since V2:
- drop .inc file (R. Burton)
Changes since V1:
- drop PACKAGE_ARCH (M. Jansa)

  meta/conf/distro/include/maintainers.inc   |  1 +
  meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 26 ++++++++++++++++++++++
  2 files changed, 27 insertions(+)

create mode 100644 meta/recipes-bsp/u-boot/libubootenv_0.2.bb

meta/conf/distro/include/maintainers.inc +1 -0
index 39eee9475c..09453e7343 100644
@@ -398,6 +398,7 @@ RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield <[email protected]>"
  RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <[email protected]>"
  RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <[email protected]>"
  RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER_pn-libubootenv = "Stefano Babic <[email protected]>"
  RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <[email protected]>"
meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +26 -0
new file mode 100644
index 0000000000..23230d132e
@@ -0,0 +1,26 @@
+SUMMARY = "U-Boot libraries and tools to access environment"
+DEPENDS += "mtd-utils"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv utilities \
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
+SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES_${PN} += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"
#2 lore raw
In reply to Stefano Babic

Resend as previous email forgets to add Stefano.

In case of multilib, the do_package fails with

ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped in any package:
/usr/lib/libubootenv.so
/usr/lib/libubootenv.so.0.2

Regards,
Chen Qi

Quoted 72 lines · Stefano Babic

libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on U-Boot's ML at:

http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none

---
Changes since V3:
- Update maintainers.inc (R. Purdie)
- Add link to U-Boot's ML in commit message (R. Purdie)
Changes since V2:
- drop .inc file (R. Burton)
Changes since V1:
- drop PACKAGE_ARCH (M. Jansa)

  meta/conf/distro/include/maintainers.inc   |  1 +
  meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 26 ++++++++++++++++++++++
  2 files changed, 27 insertions(+)

create mode 100644 meta/recipes-bsp/u-boot/libubootenv_0.2.bb

meta/conf/distro/include/maintainers.inc +1 -0
index 39eee9475c..09453e7343 100644
@@ -398,6 +398,7 @@ RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield <[email protected]>"
  RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <[email protected]>"
  RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <[email protected]>"
  RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER_pn-libubootenv = "Stefano Babic <[email protected]>"
  RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <[email protected]>"
meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +26 -0
new file mode 100644
index 0000000000..23230d132e
@@ -0,0 +1,26 @@
+SUMMARY = "U-Boot libraries and tools to access environment"
+DEPENDS += "mtd-utils"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv utilities \
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
+SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES_${PN} += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"
#3 lore raw

Hi Chen,

Quoted 9 lines · ChenQi

Resend as previous email forgets to add Stefano.

In case of multilib, the do_package fails with

ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv:
Files/directories were installed but not shipped in any package:
  /usr/lib/libubootenv.so
  /usr/lib/libubootenv.so.0.2

Thanks for reporting this - I will take care of the error in next days.

Regards,
Stefano

Quoted 87 lines

Regards,
Chen Qi

Quoted 81 lines · Stefano Babic

libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on U-Boot's ML at:

http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none

---
Changes since V3:
    - Update maintainers.inc (R. Purdie)
    - Add link to U-Boot's ML in commit message (R. Purdie) Changes since V2:
    - drop .inc file (R. Burton)
Changes since V1:
    - drop PACKAGE_ARCH (M. Jansa)

  meta/conf/distro/include/maintainers.inc   |  1 + meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 26 ++++++++++++++++++++++

  2 files changed, 27 insertions(+)

  create mode 100644 meta/recipes-bsp/u-boot/libubootenv_0.2.bb

meta/conf/distro/include/maintainers.inc +0 -0
index 39eee9475c..09453e7343 100644
@@ -398,6 +398,7 @@ RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield

<[email protected]>"
  RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <[email protected]>"
  RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <[email protected]>" RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <[email protected]>" +RECIPE_MAINTAINER_pn-libubootenv = "Stefano Babic <[email protected]>" RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <[email protected]>"
  RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <[email protected]>"

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +6 -0
new file mode 100644
index 0000000000..23230d132e
@@ -0,0 +1,26 @@
+SUMMARY = "U-Boot libraries and tools to access environment"
+DEPENDS += "mtd-utils"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv

utilities \

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +5 -0
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM =

"file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +15 -0
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
+SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES_${PN} += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"
Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
#4 lore raw
Quoted 12 lines · Stefano Babic

Hi Chen,

Quoted 9 lines · ChenQi

Resend as previous email forgets to add Stefano.

In case of multilib, the do_package fails with

ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv:
Files/directories were installed but not shipped in any package:

   /usr/lib/libubootenv.so
   /usr/lib/libubootenv.so.0.2
Quoted 4 lines

Thanks for reporting this - I will take care of the error in next days.

Regards,
Stefano

I've just sent out a patch to fix this problem.

Regards,
Chen Qi

Quoted 87 lines
Quoted 86 lines

Regards,
Chen Qi

Quoted 81 lines · Stefano Babic

libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on U-Boot's ML at:

http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none

---
Changes since V3:
- Update maintainers.inc (R. Purdie)
- Add link to U-Boot's ML in commit message (R. Purdie)
Changes since V2:
- drop .inc file (R. Burton)
Changes since V1:
- drop PACKAGE_ARCH (M. Jansa)

   meta/conf/distro/include/maintainers.inc   |  1 +
   meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 26 ++++++++++++++++++++++
   2 files changed, 27 insertions(+)

create mode 100644 meta/recipes-bsp/u-boot/libubootenv_0.2.bb

meta/conf/distro/include/maintainers.inc +0 -0
index 39eee9475c..09453e7343 100644
@@ -398,6 +398,7 @@ RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield

<[email protected]>"
RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin
<[email protected]>"
RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling
<[email protected]>"
RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER_pn-libubootenv = "Stefano Babic <[email protected]>"
RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal
<[email protected]>"
RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <[email protected]>"

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +6 -0
new file mode 100644
index 0000000000..23230d132e
@@ -0,0 +1,26 @@
+SUMMARY = "U-Boot libraries and tools to access environment"
+DEPENDS += "mtd-utils"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv

utilities \

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +5 -0
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM =

"file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +15 -0
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
+SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES_${PN} += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"
#5 lore raw

Hi Chen,

Quoted 13 lines · ChenQi
Quoted 12 lines · Stefano Babic

Hi Chen,

Quoted 9 lines · ChenQi

Resend as previous email forgets to add Stefano.

In case of multilib, the do_package fails with

ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv:
Files/directories were installed but not shipped in any package:
   /usr/lib/libubootenv.so
   /usr/lib/libubootenv.so.0.2

Quoted 7 lines
Quoted 4 lines

Thanks for reporting this - I will take care of the error in next days.

Regards,
Stefano

I've just sent out a patch to fix this problem.

Thanks for this - I have fixed it, too, fast exactly in the same way you did, but directly into libubootenv. This avoids to track the patch into OE:

	http://patchwork.ozlabs.org/patch/1222627/

Regards,
Stefano

Quoted 94 lines

Regards,
Chen Qi

Quoted 90 lines
Quoted 89 lines

Regards,
Chen Qi

Quoted 84 lines · Stefano Babic

libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on
U-Boot's ML at:

http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none

---
Changes since V3:
     - Update maintainers.inc (R. Purdie)
     - Add link to U-Boot's ML in commit message (R. Purdie) Changes since V2:
     - drop .inc file (R. Burton)
Changes since V1:
     - drop PACKAGE_ARCH (M. Jansa)

   meta/conf/distro/include/maintainers.inc   |  1 + meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 26
++++++++++++++++++++++

   2 files changed, 27 insertions(+)

   create mode 100644 meta/recipes-bsp/u-boot/libubootenv_0.2.bb

meta/conf/distro/include/maintainers.inc +0 -0
index 39eee9475c..09453e7343 100644
@@ -398,6 +398,7 @@ RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield

<[email protected]>"
   RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <[email protected]>"
   RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <[email protected]>" RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <[email protected]>" +RECIPE_MAINTAINER_pn-libubootenv = "Stefano Babic <[email protected]>" RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <[email protected]>" RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <[email protected]>"
   RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <[email protected]>"

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +6 -0
new file mode 100644
index 0000000000..23230d132e
@@ -0,0 +1,26 @@
+SUMMARY = "U-Boot libraries and tools to access environment"
+DEPENDS += "mtd-utils"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv

utilities \

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +5 -0
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM =

"file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"

meta/recipes-bsp/u-boot/libubootenv_0.2.bb new file +15 -0
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
+SRCREV = "bf6ff631c0e38cede67268ceb8bf1383b5f8848e"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES_${PN} += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"
Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
#6 lore raw
Quoted 4 lines · Stefano Babic

Thanks for this - I have fixed it, too, fast exactly in the same way you did, but directly into libubootenv. This avoids to track the patch into OE:

	http://patchwork.ozlabs.org/patch/1222627/

As you're using GNUInstallDirs there to get libdir, you might as well use it for all of the other paths too (bindir, libdir, etc).

Ross

#7 lore raw
Quoted 9 lines · Ross Burton
Quoted 5 lines · Stefano Babic

Thanks for this - I have fixed it, too, fast exactly in the same way you did, but directly into libubootenv. This avoids to track the patch into OE:

    http://patchwork.ozlabs.org/patch/1222627/

As you're using GNUInstallDirs there to get libdir, you might as well use it for all of the other paths too (bindir, libdir, etc).

You're correct - I didn't because there is not another "use case" (the only use case is for lib in case of multilib). But I change the other paths, too.

Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================