unfs3: Fix dependencies and allow target builds

Fixed in this patch:
  * All patches marked as submitted to the upstream
  * Remove the pseudo dependency because unfs3 can fully stand alone
    or be used with pseudo and it does not link against pseudo
  * Dependencies to flex for nativesdk and target builds are fixed
    such that unfs3 can be deployed into an image
  * Add unfs3 references in separatebuilddir.inc because unfs3
    works correctly with autotools.

(From OE-Core rev: 7d8075c64bd0734cb70d16acef36c1a17276b359)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jason Wessel
2014-01-29 08:57:33 -06:00
committed by Richard Purdie
parent 321cd5a25e
commit 8ef4a3c0e8
10 changed files with 13 additions and 27 deletions

View File

@@ -527,8 +527,7 @@ B_pn-nativesdk-readline = "${SEPB}"
B_pn-nativesdk-renderproto = "${SEPB}"
B_pn-nativesdk-sqlite3 = "${SEPB}"
B_pn-nativesdk-systemtap = "${SEPB}"
# Not automake, no out of tree build support
#B_pn-nativesdk-unfs3 = "${SEPB}"
B_pn-nativesdk-unfs3 = "${SEPB}"
B_pn-nativesdk-util-macros = "${SEPB}"
B_pn-nativesdk-xcb-proto = "${SEPB}"
B_pn-nativesdk-xcmiscproto = "${SEPB}"
@@ -675,8 +674,8 @@ B_pn-time = "${SEPB}"
B_pn-tremor = "${SEPB}"
B_pn-tslib = "${SEPB}"
B_pn-udev = "${SEPB}"
# Not automake, no out of tree build support
#B_pn-unfs3-native = "${SEPB}"
B_pn-unfs3 = "${SEPB}"
B_pn-unfs3-native = "${SEPB}"
B_pn-usbutils = "${SEPB}"
B_pn-util-linux = "${SEPB}"
B_pn-util-linux-native = "${SEPB}"

View File

@@ -5,7 +5,7 @@ be able to specify alternate rpc port numbers.
Jason Wessel <jason.wessel@windriver.com>
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
daemon.c | 44 +++++++++++++++++++++++++++++++-------------

View File

@@ -5,7 +5,7 @@ If this one does fail something is very, very wrong.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
daemon.c | 3 ++-

View File

@@ -10,7 +10,7 @@ on a busy system.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
daemon.c | 12 +++++++++---

View File

@@ -10,7 +10,7 @@ exports.y:350: warning: large integer implicitly truncated to unsigned type
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
Config/exports.l | 3 +++

View File

@@ -12,7 +12,7 @@ heavy use of named sockets with long names.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
nfs.c | 29 +++++++++++++++++++++++++++--

View File

@@ -13,7 +13,7 @@ location of the inode, when it moves directories.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
fh_cache.c | 12 ++++++++++++

View File

@@ -2,7 +2,7 @@ daemon.c: Add option for tcp no delay
Allow the NFS tcp sockets to conditionally use TCP_NODELAY
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
daemon.c | 9 ++++++++-

View File

@@ -4,7 +4,7 @@ If building with make -j2 the lib.a will not get built in time.
Jason Wessel <jason.wessel@windriver.com>
Upstream-Status: Pending
Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
---
Config/Makefile.in | 2 ++

View File

@@ -3,11 +3,8 @@ SECTION = "console/network"
LICENSE = "unfs3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e"
RDEPENDS_${PN} = "pseudo"
RDEPENDS_${PN}_class-native = "pseudo-native"
RDEPENDS_${PN}_class-nativesdk = "pseudo-nativesdk"
DEPENDS = "flex-native bison-native"
DEPENDS_class-nativesdk += "flex-nativesdk"
DEPENDS = "flex-native bison-native flex"
DEPENDS_append_class-nativesdk += "flex-nativesdk"
SRC_URI[md5sum] = "3687acc4ee992e536472365dd99712a7"
SRC_URI[sha256sum] = "274b43ada9c6eea1da26eb7010d72889c5278984ba0b50dff4e093057d4d64f8"
@@ -32,13 +29,3 @@ inherit autotools
# will walk entire file systems and this is a real problem
# if you have 2 TB of files to walk in your file system
CACHED_CONFIGUREVARS = "ac_cv_header_mntent_h=no ac_cv_header_sys_mnttab_h=no"
# This recipe is intended for -native and -nativesdk builds only,
# not target installs:
python __anonymous () {
import re
pn = d.getVar("PN", True)
if not pn.endswith('-native') and not pn.startswith('nativesdk-'):
raise bb.parse.SkipPackage("unfs3 is intended for native/nativesdk builds only")
}