Fix Compilation for host cmake tools.

and fix compilation of x86_64 target.
This commit is contained in:
jbnadal
2017-03-20 16:02:15 +01:00
parent da13f66e29
commit 5fc3e0c439
13 changed files with 246 additions and 37 deletions

View File

@@ -0,0 +1,6 @@
config BR2_PACKAGE_HOST_VIRTFS_XATTR
bool "host virtfs-xattr"
default n
help
Utililty used to alter metadata of file in the target
directory, for sharing with 9p fsdev in qemu.

View File

@@ -0,0 +1,20 @@
################################################################################
#
# VIRTFS_XATTR
#
################################################################################
HOST_VIRTFS_XATTR_VERSION:= 1.0.0
HOST_VIRTFS_XATTR_SITE = $(TOPDIR)/../../src/tools/virtfs-xattr/builders/cmake
HOST_VIRTFS_XATTR_SITE_METHOD = local
HOST_VIRTFS_XATTR_DEPENDENCIES = host-attr
HOST_VIRTFS_XATTR_CONF = SRC_DIR=$(TOPDIR)/../..
HOST_VIRTFS_XATTR_CONF_ENV = $(HOST_VIRTFS_XATTR_CONF)
HOST_VIRTFS_XATTR_MAKE_ENV = $(HOST_VIRTFS_XATTR_CONF)
HOST_VIRTFS_XATTR_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
$(eval $(host-cmake-package))