[linux-yocto] How to get specific libraries in poky SDK for QT

2016-03-21 Thread Morgan Guillou
Hello,
I have added in my image all the boost libraries files.
On my target (Xplainedsama5d3) there is now all the libboost_***.so. That's 
working fine.
But to compile I also want to have the libboost_***.so into the SDK output.
So I added in the file meta-toolchain-qt5.bb :
IMAGE_INSTALL_append += "\
boost \
"
I run : bitbake atmel-qt5-demo-image -c populate_sdk and I install the sdk.

But in the folder /opt/poky/1.6/sysroots/x86_64-pokysdk-linux/usr/lib there is 
no boost libraries!
Thanks
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 2/2] ktypes/standard: Add tmpfs-posix-acl feature

2016-03-21 Thread California Sullivan
Fixes [YOCTO #9269]

Signed-off-by: California Sullivan 
---
 ktypes/standard/standard.scc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ktypes/standard/standard.scc b/ktypes/standard/standard.scc
index 6b9fb1a..fb8b343 100644
--- a/ktypes/standard/standard.scc
+++ b/ktypes/standard/standard.scc
@@ -49,6 +49,7 @@ include features/initramfs/initramfs.scc
 
 include features/yaffs2/yaffs2.scc
 include features/aufs/aufs.scc
+include features/tmpfs/tmpfs-posix-acl.scc
 
 include features/cgroups/cgroups.scc
 
-- 
2.5.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 1/2] features: Add tmpfs-posix-acl feature fragments

2016-03-21 Thread California Sullivan
This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like
systemd. We also explicitly enable the features's dependencies and
options selected by the feature for clarity.

Partial fix for [YOCTO #9269].

Signed-off-by: California Sullivan 
---
 features/tmpfs/tmpfs-posix-acl.cfg | 10 ++
 features/tmpfs/tmpfs-posix-acl.scc |  4 
 2 files changed, 14 insertions(+)
 create mode 100644 features/tmpfs/tmpfs-posix-acl.cfg
 create mode 100644 features/tmpfs/tmpfs-posix-acl.scc

diff --git a/features/tmpfs/tmpfs-posix-acl.cfg 
b/features/tmpfs/tmpfs-posix-acl.cfg
new file mode 100644
index 000..b391f8a
--- /dev/null
+++ b/features/tmpfs/tmpfs-posix-acl.cfg
@@ -0,0 +1,10 @@
+# Dependencies of the feature
+CONFIG_SHMEM=y
+CONFIG_TMPFS=y
+
+# The feature we want to enable
+CONFIG_TMPFS_POSIX_ACL=y
+
+# The above selects these options automatically
+CONFIG_TMPFS_XATTR=y
+CONFIG_FS_POSIX_ACL=y
diff --git a/features/tmpfs/tmpfs-posix-acl.scc 
b/features/tmpfs/tmpfs-posix-acl.scc
new file mode 100644
index 000..062e6c4
--- /dev/null
+++ b/features/tmpfs/tmpfs-posix-acl.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable ACL support for tmpfs"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware tmpfs-posix-acl.cfg
-- 
2.5.0

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 1/2] features: Add tmpfs-posix-acl feature fragments

2016-03-21 Thread Bruce Ashfield

On 2016-03-21 8:02 PM, California Sullivan wrote:

This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like
systemd. We also explicitly enable the features's dependencies and
options selected by the feature for clarity.



Looks good to me. I've merged the change, and will send the SRCREV
update on Tuesday.

Bruce


Partial fix for [YOCTO #9269].

Signed-off-by: California Sullivan 
---
  features/tmpfs/tmpfs-posix-acl.cfg | 10 ++
  features/tmpfs/tmpfs-posix-acl.scc |  4 
  2 files changed, 14 insertions(+)
  create mode 100644 features/tmpfs/tmpfs-posix-acl.cfg
  create mode 100644 features/tmpfs/tmpfs-posix-acl.scc

diff --git a/features/tmpfs/tmpfs-posix-acl.cfg 
b/features/tmpfs/tmpfs-posix-acl.cfg
new file mode 100644
index 000..b391f8a
--- /dev/null
+++ b/features/tmpfs/tmpfs-posix-acl.cfg
@@ -0,0 +1,10 @@
+# Dependencies of the feature
+CONFIG_SHMEM=y
+CONFIG_TMPFS=y
+
+# The feature we want to enable
+CONFIG_TMPFS_POSIX_ACL=y
+
+# The above selects these options automatically
+CONFIG_TMPFS_XATTR=y
+CONFIG_FS_POSIX_ACL=y
diff --git a/features/tmpfs/tmpfs-posix-acl.scc 
b/features/tmpfs/tmpfs-posix-acl.scc
new file mode 100644
index 000..062e6c4
--- /dev/null
+++ b/features/tmpfs/tmpfs-posix-acl.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable ACL support for tmpfs"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware tmpfs-posix-acl.cfg



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 00/11] device property : Backport device property patches to 4.1

2016-03-21 Thread Bruce Ashfield

On 2016-03-20 9:56 PM, weifeng.v...@intel.com wrote:

From: "Voon, Weifeng" 

The patch is the "device property" backport for Apollo Lake/Broxton.

Patch "device property: always check for fwnode type" is from mainline.
The other patches is to make sure the patch apply cleanly.

The patches are targeted for linux-yocto-4.1 on standard/base branch.



these look fine to me.

I've merged the changes, and will send SRCREV updates once my sanity
builds have passed.

Bruce


Alexander Sverdlin (1):
   ACPI / OF: Rename of_node() and acpi_node() to to_of_node() and
 to_acpi_node()

Andy Shevchenko (3):
   device property: attach 'else if' to the proper 'if'
   device property: fallback to pset when gettng one string
   device property: always check for fwnode type

Guenter Roeck (1):
   device property: Return -ENXIO if there is no suitable FW interface

Rafael J. Wysocki (5):
   ACPI / property: Refine consistency check for PRP0001
   ACPI / property: Define a symbol for PRP0001
   ACPI / property: Add routine for extraction of _DSD properties
   ACPI / property: Add support for data-only subnodes
   ACPI / property: Extend fwnode_property_* to data-only subnodes

Suthikulpanit, Suravee (1):
   ACPI / scan: Parse _CCA and setup device coherency

  drivers/acpi/Kconfig |   3 +
  drivers/acpi/acpi_platform.c |   2 +-
  drivers/acpi/glue.c  |   5 +
  drivers/acpi/internal.h  |   2 +
  drivers/acpi/property.c  | 359 ++-
  drivers/acpi/scan.c  |  63 ++--
  drivers/base/property.c  |  58 ---
  drivers/gpio/gpiolib.c   |   8 +-
  drivers/leds/leds-gpio.c |   2 +-
  include/acpi/acpi_bus.h  |  68 +++-
  include/linux/acpi.h |  58 +--
  include/linux/fwnode.h   |   1 +
  include/linux/of.h   |   4 +-
  13 files changed, 500 insertions(+), 133 deletions(-)



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] How to get specific libraries in poky SDK for QT

2016-03-21 Thread Anders Darander
* Morgan Guillou  [160321 18:27]:
> I have added in my image all the boost libraries files.
> On my target (Xplainedsama5d3) there is now all the libboost_***.so. That's 
> working fine.
> But to compile I also want to have the libboost_***.so into the SDK output.
> So I added in the file meta-toolchain-qt5.bb :
> IMAGE_INSTALL_append += "\
> boost \
> "
> I run : bitbake atmel-qt5-demo-image -c populate_sdk and I install the sdk.

So does atmel-qt5-demo-image bring in the boost libraries to the image,
but not to the SDK? That seems like a bug to me...

You could add

TOOLCHAIN_TARGET_TASK += "boost"

to the image. That should drag in boost for you. (Maybe you should use
boost-dev instead?)

Cheers,
Anders

-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto