git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3735 311d38ba-8fff-0310-9ca6-ca027cbcb966
54 lines
1.5 KiB
Text
54 lines
1.5 KiB
Text
# SDK packages are built either explicitly by the user,
|
|
# or indirectly via dependency. No need to be in 'world'.
|
|
EXCLUDE_FROM_WORLD = "1"
|
|
|
|
OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
|
|
PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
|
|
|
|
HOST_ARCH = "${BUILD_ARCH}"
|
|
HOST_VENDOR = "${TARGET_VENDOR}"
|
|
HOST_OS = "${BUILD_OS}"
|
|
HOST_PREFIX = "${BUILD_PREFIX}"
|
|
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
|
|
#HOST_SYS = "${HOST_ARCH}${TARGET_VENDOR}-${HOST_OS}"
|
|
|
|
CPPFLAGS = "${BUILDSDK_CPPFLAGS}"
|
|
CFLAGS = "${BUILDSDK_CFLAGS}"
|
|
CXXFLAGS = "${BUILDSDK_CFLAGS}"
|
|
LDFLAGS = "${BUILDSDK_LDFLAGS}"
|
|
|
|
# Path prefixes
|
|
prefix = "${SDK_PREFIX}"
|
|
exec_prefix = "${prefix}"
|
|
base_prefix = "${prefix}"
|
|
|
|
# Base paths
|
|
export base_bindir = "${prefix}/bin"
|
|
export base_sbindir = "${prefix}/bin"
|
|
export base_libdir = "${prefix}/lib"
|
|
|
|
# Architecture independent paths
|
|
export datadir = "${prefix}/share"
|
|
export sysconfdir = "${prefix}/etc"
|
|
export sharedstatedir = "${datadir}/com"
|
|
export localstatedir = "${prefix}/var"
|
|
export infodir = "${datadir}/info"
|
|
export mandir = "${datadir}/man"
|
|
export docdir = "${datadir}/doc"
|
|
export servicedir = "${prefix}/srv"
|
|
|
|
# Architecture dependent paths
|
|
export bindir = "${prefix}/bin"
|
|
export sbindir = "${prefix}/bin"
|
|
export libexecdir = "${prefix}/libexec"
|
|
export libdir = "${prefix}/lib"
|
|
export includedir = "${prefix}/include"
|
|
export oldincludedir = "${prefix}/include"
|
|
|
|
FILES_${PN} = "${prefix}"
|
|
FILES_${PN}-dbg += "${prefix}/.debug \
|
|
${prefix}/bin/.debug \
|
|
"
|
|
|
|
export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${HOST_SYS}"
|