fi
mkdir -p ${T}
echo "src oe file:${DEPLOY_DIR_IPK}" > ${T}/ipkg.conf
- ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_ARCHS} ${MACHINE}"
+ ipkgarchs="${IPKG_ARCHS}"
priority=1
for arch in $ipkgarchs; do
echo "arch $arch $priority" >> ${T}/ipkg.conf
PACKAGE_ARCH = "${HOST_ARCH}"
MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
+IPKG_ARCHS = "all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}"
##################################################################
# Date/time variables.
INHERIT += "package_ipk"
INHERIT += "debian"
-IPKG_ARCHS = "armv5te openmn"
+IPKG_EXTRA_ARCHS = "armv5te openmn"
FEED_URIS = "mnci54##http://www.mn-solutions.de/feed/mnci54/base"
# to armeb - this makes this stuff independent of changes in machine/nslu2.conf
TARGET_ARCH = "armeb"
PACKAGE_ARCH = "${TARGET_ARCH}"
-# IPKG_ARCHS has the full list of supported architectures (from nslu2.conf)
+# IPKG_EXTRA_ARCHS has the full list of supported architectures (from nslu2.conf)
# match the optimisation settings to that which has traditionally been used
# in unslung
machine dependant configuration options in your bitbake file add a \
PACKAGE_ARCH = "${MACHINE_ARCH}" to the file.'
+IPKG_ARCHS[doc] = 'A list of architectures compatible with the given target in order of priority'
+IPKG_EXTRA_ARCHS[doc] = 'Set this variable to add extra architectures to the list of supported architectures'
DATE[doc] = "The date the build was started Ymd"
TIME[doc] = "The time the build was started HMS"
include conf/machine/include/motorola-ezx.conf
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv4 armv5te"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
TARGET_ARCH = "arm"
TARGET_FPU = "soft"
-IPKG_ARCHS = "all arm ${MACHINE}"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-amsdelta-2.6"
OVERRIDES =. "${KERNEL}:"
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv4t armv5e armv5te ipaqpxa blueangel"
+IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel_kernel26 = "xanadux-ba-2.6"
PREFERRED_PROVIDER_virtual/kernel = "xanadux-ba-2.6"
#@DESCRIPTION: Machine configuration for Cooperative Linux running on an x86 compatible PC
TARGET_ARCH = "i686"
-IPKG_ARCHS = "all i686 i386 x86 ${MACHINE}"
+IPKG_EXTRA_ARCHS = "i386 x86"
PREFERRED_PROVIDER_virtual/kernel = "linux-colinux"
BOOTSTRAP_EXTRA_RDEPENDS = "kernel kernel-modules"
#@DESCRIPTION: Machine configuration for the SA1100 based Sharp Zaurus SL-5000 and SL-5500 devices
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm ${MACHINE}"
PREFERRED_PROVIDER_xserver ?= "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel ?= "collie-kernels-2.4-embedix"
BOOTSTRAP_EXTRA_RDEPENDS = "kernel hostap-modules-cs orinoco-modules-cs \
TARGET_ARCH = "arm"
GUI_MACHINE_CLASS = "bigscreen"
-IPKG_ARCHS = "all arm armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_virtual/bootloader = "uboot-${MACHINE}"
PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel"
INHERIT += "linux_modules"
TARGET_ARCH = "powerpc"
-IPKG_ARCHS = "all ppc ${MACHINE}"
+IPKG_EXTRA_ARCHS = "ppc"
PREFERRED_PROVIDER_virtual/kernel = "linux-${MACHINE}"
INHERIT += "linux_modules"
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4t ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv4t"
PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel"
OLDEST_KERNEL = "2.6.5"
GLIBC_ADDONS = "nptl"
GLIBC_EXTRA_OECONF = "--with-tls"
-IPKG_ARCHS = "i386"
+IPKG_EXTRA_ARCHS = "i386"
include conf/machine/include/tune-c3.conf
# Released under the MIT license (see packages/COPYING)
TARGET_ARCH = "i486"
-IPKG_ARCHS = "all i486 geodegx"
+IPKG_EXTRA_ARCHS = "geodegx"
PREFERRED_PROVIDER_virtual/kernel = "linux-geodegx"
BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils udev kernel-modules"
PREFERRED_PROVIDER_virtual/kernel = "linux-gumstix"
OLDEST_KERNEL = "2.6.15"
MODUTILS = "26"
-IPKG_ARCHS = "arm ${MACHINE}"
include conf/machine/include/tune-xscale.conf
TARGET_CC_ARCH = "-Os -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale"
OVERRIDES =. "${KERNEL}:"
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv5te h1910"
+IPKG_EXTRA_ARCHS = "armv5te"
include conf/machine/include/tune-xscale.conf
#@NAME: h1940
#@DESCRIPTION: Machine configuration for the HP iPAQ h1930 and h1940
-IPKG_ARCHS = "all arm armv4 armv4t armv5e armv5te h1940"
+IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te"
TARGET_ARCH = arm
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-h1940"
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv4t armv5e armv5te ipaqpxa h2200"
+IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
#@DESCRIPTION: Machine configuration for the Compaq iPAQ 36xx, Compaq iPAQ 37xx and Compaq iPAQ 38xx devices
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm ipaqsa h3600"
+IPKG_EXTRA_ARCHS = "ipaqsa"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "handhelds-sa"
EXTRA_IMAGECMD_h3600_jffs2 = "-e 0x40000 -p"
OVERRIDES =. "${KERNEL}:"
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv4t armv5e armv5te ipaqpxa h3900"
+IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te ipaqpxa"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel_kernel24 = "handhelds-pxa"
PREFERRED_PROVIDER_virtual/kernel_kernel26 = "handhelds-pxa-2.6"
TARGET_ARCH = "arm"
PACKAGE_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4"
+IPKG_EXTRA_ARCHS = "armv4"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-h6300-omap1"
# because everything built here is no more specific than that.
MACHINE_ARCH = "ixp4xx${ARCH_BYTE_SEX}"
-# IPKG_ARCHS
+# IPKG_EXTRA_ARCHS
# The full list of package architectures which should run on the system.
# This takes into account both the board level issues and the INPUTS set
# by the distro. The arm list is derived from the architecture settings
# NOTE: this list contains just the things which rootfs_ipk.bbclass does
# not add, rootfs_ipk.bbclass evaluates:
#
-# ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_ARCHS} ${MACHINE}"
+# ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}"
#
# This is a priority ordered list - most desireable architecture at the end,
# so put <ARM_INSTRUCTION_SET>_ARCHITECTURES at the end and, if
# THUMB_INTERWORK precede this with the other architectures.
-IPKG_ARCHS = "ixp4xx ${MACHINE} \
+IPKG_EXTRA_ARCHS = "ixp4xx ${MACHINE} \
${@(lambda arch_thumb, arch_arm, is_arm, interwork: \
(interwork and (is_arm and arch_thumb or arch_arm) + ' ' or '') \
+ '${TARGET_ARCH} ' + (is_arm and arch_arm or arch_thumb)) \
# the removal of the raw "${MACHINE}" from the end of the list. ${MACHINE} and
# ixp4xx are included at the start (lower priority) as the non-byte-sex specific
# versions.
-IPKG_ARCH_LIST = "all any noarch ixp4xx ${MACHINE} ${IPKG_ARCHS}"
+IPKG_ARCH_LIST = "all any noarch ixp4xx ${MACHINE} ${IPKG_EXTRA_ARCHS}"
#-------------------------------------------------------------------------------
# Package versions
# Configurations for the Intel PXA27x Appications Processor Family.
# Please use tune-xscale for PXA255/PXA26x based processors.
-IPKG_ARCHS += "iwmmxt"
+IPKG_EXTRA_ARCHS += "iwmmxt"
TARGET_CC_ARCH = "-march=iwmmxt -mtune=iwmmxt"
PACKAGE_ARCH = "iwmmxt"
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv4 armv5te"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
#@DESCRIPTION: Machine configuration for the iPAQ with a pxa27x CPU devices
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv5te ipaqpxa hx4700"
+IPKG_EXTRA_ARCHS = "armv4 armv5te ipaqpxa hx4700"
#use this for a hx47xx ipaq
PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
#@DESCRIPTION: Machine configuration for the SA1100 based HP Jornada 56x palmtop computer
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm ${MACHINE}"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "handhelds-sa-2.6"
PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
#@DESCRIPTION: Machine configuration for the HITACHI SH3 based HP Jornada 6xx palmtop computer
TARGET_ARCH = "sh3"
-IPKG_ARCHS = "all ${TARGET_ARCH} ${MACHINE}"
include conf/machine/include/tune-sh3.conf
#@DESCRIPTION: Machine configuration for the SA1100 based HP Jornada 7xx palmtop computer
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm ${MACHINE}"
include conf/machine/include/tune-strongarm.conf
\ No newline at end of file
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm ${MACHINE}"
PREFERRED_PROVIDER_virtual/kernel = "linux-${MACHINE}"
require conf/machine/include/tune-arm920t.conf
TARGET_ARCH = "powerpc"
-IPKG_ARCHS = "all ppc ${MACHINE}"
+IPKG_EXTRA_ARCHS = "ppc"
UBOOT_MACHINE = "Lite5200"
SERIAL_CONSOLE="38400 ttyS0"
TARGET_ARCH = "arm"
GUI_MACHINE_CLASS = "smallscreen"
-IPKG_ARCHS = "all arm armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel"
#@DESCRIPTION: Machine configuration for the mtx-1 (aka MeshCube)
TARGET_ARCH = "mipsel"
-IPKG_ARCHS = "all mipsel ${MACHINE}"
PREFERRED_PROVIDER_virtual/kernel = "linux-mtx-1"
#PREFERRED_VERSION_linux-mtx-1 = "2.4.24"
#@DESCRIPTION: Machine configuration for your build station
TARGET_ARCH = "${BUILD_ARCH}"
-IPKG_ARCHS = "all ${TARGET_ARCH}"
TARGET_PREFIX = ""
VENDOR = "-oe"
#@DESCRIPTION: Machine configuration for the IBM Netvista thin client
TARGET_ARCH = "i386"
-IPKG_ARCHS = "all i386"
PREFERRED_PROVIDER_xserver = "xserver-xorg"
PREFERRED_PROVIDER_virtual/kernel = "linux-netvista"
BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils"
#@NAME: Nokia 770 internet tablet
#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv4 armv5te"
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-omap"
PREFERRED_PROVIDER_virtual/bootloader = ""
#@DESCRIPTION: Machine configuration for the OMAP H2 development board with a 1610 processor
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-2.6"
#@DESCRIPTION: Machine configuration for the OMAP H2 development board with a 1610 processor
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-2.6"
#@DESCRIPTION: Machine configuration for the OMAP H2 development board with a 1610 processor
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-2.6"
#@DESCRIPTION: Machine configuration for the OMAP H2 development board with a 1610 processor
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv5te armv6te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te armv6te"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-2.6"
#@DESCRIPTION: Machine configuration for the OMAP Starter Kit with a 5912 processor
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap1"
#@DESCRIPTION: Machine configuration for the PXA250 based Sharp Zaurus SL-B500 and SHarp Zaurus SL-5600 devices
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv5te poodle"
+IPKG_EXTRA_ARCHS = "armv4 armv5te"
ZKERNEL_VERSION ?= "2.4"
include conf/machine/include/poodle-${ZKERNEL_VERSION}.conf
#@DESCRIPTION: Machine configuration for running an ARM system under qemu emulation
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv5te qemuarm"
+IPKG_EXTRA_ARCHS = "armv4 armv5te"
PCMCIA_MANAGER = "pcmciautils"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
OVERRIDES =. "${KERNEL}:"
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm ${MACHINE}"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel_kernel24 = "opensimpad-64+0"
PREFERRED_PROVIDER_virtual/kernel_kernel26 = "handhelds-pxa-2.6"
udevdir = "/dev"
OLDEST_KERNEL = "2.6.5"
-IPKG_ARCHS = "sparc"
-
PREFERRED_PROVIDER_virtual/kernel = "linux-sun4cdm"
#@DESCRIPTION: Machine configuration for the PXA255 based Sharp Zaurus SL-6000 device
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv4 armv5te tosa"
+IPKG_EXTRA_ARCHS = "armv4 armv5te"
ZKERNEL_VERSION ?= "2.4"
include conf/machine/include/tosa-${ZKERNEL_VERSION}.conf
#@DESCRIPTION: Machine configuration for the XScale based triton boards from KaRo Electronics
TARGET_ARCH = "arm"
-IPKG_ARCHS = "all arm armv5te ${MACHINE}"
+IPKG_EXTRA_ARCHS = "armv5te"
PREFERRED_PROVIDER_virtual/kernel = "triton-kernel"
BOOTSTRAP_EXTRA_RDEPENDS = "virtual/kernel"
TARGET_ARCH = "mipsel"
TARGET_CC_ARCH = "-Os -mips2"
-IPKG_ARCHS = "all mipsel ${MACHINE}"
TARGET_ARCH = "mipsel"
TARGET_CC_ARCH = "-Os"
-IPKG_ARCHS = "all mipsel ${MACHINE}"
SERIAL_CONSOLE = "tts/0"
TARGET_ARCH = "i386"
# TARGET_VENDOR = "-oe"
-IPKG_ARCHS = "all i386 x86"
+IPKG_EXTRA_ARCHS = "x86"
PREFERRED_PROVIDER_virtual/kernel = "linux-x86"
BOOTSTRAP_EXTRA_RDEPENDS = "kernel pciutils udev kernel-modules"
# pad size and SREC_VMAADDR would need to be changed for the xxs1500 rev B.
TARGET_ARCH = "mipsel"
-IPKG_ARCHS = "all mipsel ${MACHINE}"
PREFERRED_PROVIDER_virtual/kernel = "linux-xxs1500"
cat <<EOF >${SDK_DIR}/ipkg-target.conf
src oe file:${DEPLOY_DIR_IPK}
EOF
- ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_ARCHS} ${MACHINE}"
+ ipkgarchs="${IPKG_ARCHS}"
priority=1
for arch in $ipkgarchs; do
echo "arch $arch $priority" >> ${SDK_DIR}/ipkg-target.conf
cat <<EOF >${SDK_DIR}/ipkg-target.conf
src oe file:${DEPLOY_DIR_IPK}
EOF
- ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_ARCHS} ${MACHINE}"
+ ipkgarchs="${IPKG_ARCHS}"
priority=1
for arch in $ipkgarchs; do
echo "arch $arch $priority" >> ${SDK_DIR}/ipkg-target.conf