mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
Compare commits
9 Commits
kirkstone-
...
1.2_M1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b806f726b1 | ||
|
|
160c1d9977 | ||
|
|
b9d3a5224c | ||
|
|
dc51e4a982 | ||
|
|
d22daf5c06 | ||
|
|
bc557dece3 | ||
|
|
4290ee8526 | ||
|
|
965777b2fb | ||
|
|
8d182bb423 |
@@ -12,11 +12,7 @@ KERNEL_IMAGETYPE = "bzImage"
|
|||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
PREFERRED_VERSION_linux-yocto ?= "3.0%"
|
PREFERRED_VERSION_linux-yocto ?= "3.0%"
|
||||||
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
|
||||||
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
||||||
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg"
|
|
||||||
XSERVER ?= "xserver-xorg \
|
XSERVER ?= "xserver-xorg \
|
||||||
xserver-xorg-extension-dri2 \
|
xserver-xorg-extension-dri2 \
|
||||||
xserver-xorg-extension-glx \
|
xserver-xorg-extension-glx \
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ EXTRA_IMAGECMD_jffs2 = "-lnp "
|
|||||||
SERIAL_CONSOLE = "115200 ttyO2"
|
SERIAL_CONSOLE = "115200 ttyO2"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
KERNEL_IMAGETYPE = "uImage"
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial"
|
|||||||
PREFERRED_VERSION_linux-yocto ?= "3.0%"
|
PREFERRED_VERSION_linux-yocto ?= "3.0%"
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
|
||||||
|
|
||||||
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
|
||||||
XSERVER = "xserver-kdrive-fbdev"
|
XSERVER = "xserver-kdrive-fbdev"
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ KERNEL_IMAGETYPE = "vmlinux"
|
|||||||
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
|
||||||
XSERVER = "xserver-kdrive-fbdev"
|
XSERVER = "xserver-kdrive-fbdev"
|
||||||
|
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ buildhistory_get_image_installed() {
|
|||||||
buildhistory_get_imageinfo() {
|
buildhistory_get_imageinfo() {
|
||||||
# List the files in the image, but exclude date/time etc.
|
# List the files in the image, but exclude date/time etc.
|
||||||
# This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
|
# This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
|
||||||
find ${IMAGE_ROOTFS} -ls | awk '{ if ( $7 ~ /[0-9]/ ) printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, $7, $11, $12, $13 ; else printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, 0, $10, $11, $12 }' > ${BUILDHISTORY_DIR_IMAGE}/files-in-image.txt
|
( cd ${IMAGE_ROOTFS} && find . -ls | awk '{ if ( $7 ~ /[0-9]/ ) printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, $7, $11, $12, $13 ; else printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, 0, $10, $11, $12 }' > ${BUILDHISTORY_DIR_IMAGE}/files-in-image.txt )
|
||||||
|
|
||||||
# Add some configuration information
|
# Add some configuration information
|
||||||
echo "${MACHINE}: ${IMAGE_BASENAME} configured for ${DISTRO} ${DISTRO_VERSION}" > ${BUILDHISTORY_DIR_IMAGE}/build-id
|
echo "${MACHINE}: ${IMAGE_BASENAME} configured for ${DISTRO} ${DISTRO_VERSION}" > ${BUILDHISTORY_DIR_IMAGE}/build-id
|
||||||
|
|||||||
@@ -562,7 +562,7 @@ python do_checkpkg() {
|
|||||||
if 'protocol' in parm:
|
if 'protocol' in parm:
|
||||||
gitproto = parm['protocol']
|
gitproto = parm['protocol']
|
||||||
else:
|
else:
|
||||||
gitproto = "rsync"
|
gitproto = "git"
|
||||||
gitcmd = "git ls-remote %s://%s%s%s *tag* 2>&1" % (gitproto, gituser, host, path)
|
gitcmd = "git ls-remote %s://%s%s%s *tag* 2>&1" % (gitproto, gituser, host, path)
|
||||||
gitcmd2 = "git ls-remote %s://%s%s%s HEAD 2>&1" % (gitproto, gituser, host, path)
|
gitcmd2 = "git ls-remote %s://%s%s%s HEAD 2>&1" % (gitproto, gituser, host, path)
|
||||||
tmp = os.popen(gitcmd).read()
|
tmp = os.popen(gitcmd).read()
|
||||||
|
|||||||
@@ -121,6 +121,8 @@ IMAGE_LINGUAS ?= "de-de fr-fr en-gb"
|
|||||||
|
|
||||||
LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}"
|
LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, d.getVar('IMAGE_LINGUAS', 1).split()))}"
|
||||||
|
|
||||||
|
PSEUDO_PASSWD = "${IMAGE_ROOTFS}"
|
||||||
|
|
||||||
do_rootfs[nostamp] = "1"
|
do_rootfs[nostamp] = "1"
|
||||||
do_rootfs[dirs] = "${TOPDIR}"
|
do_rootfs[dirs] = "${TOPDIR}"
|
||||||
do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock"
|
do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock"
|
||||||
|
|||||||
@@ -580,11 +580,12 @@ SRC_URI = "file://${FILE}"
|
|||||||
|
|
||||||
# Use pseudo as the fakeroot implementation
|
# Use pseudo as the fakeroot implementation
|
||||||
PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
|
PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
|
||||||
|
PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}"
|
||||||
export PSEUDO_DISABLED = "1"
|
export PSEUDO_DISABLED = "1"
|
||||||
#export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}"
|
#export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}"
|
||||||
#export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}"
|
#export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}"
|
||||||
#export PSEUDO_LIBDIR = "${STAGING_DIR_NATIVE}$PSEUDOBINDIR/../lib/pseudo/lib
|
#export PSEUDO_LIBDIR = "${STAGING_DIR_NATIVE}$PSEUDOBINDIR/../lib/pseudo/lib
|
||||||
FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${STAGING_DIR_TARGET} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0"
|
FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${PSEUDO_PASSWD} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0"
|
||||||
FAKEROOTNOENV = "PSEUDO_UNLOAD=1"
|
FAKEROOTNOENV = "PSEUDO_UNLOAD=1"
|
||||||
FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
|
FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
|
||||||
PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
|
PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
|
||||||
|
|||||||
@@ -5734,7 +5734,7 @@ RECIPE_NO_UPDATE_REASON_pn-groff = "1.18.1.4 is latest GPLv2 Version no 1.21"
|
|||||||
RECIPE_STATUS_pn-eglibc = "red"
|
RECIPE_STATUS_pn-eglibc = "red"
|
||||||
RECIPE_LATEST_VERSION_pn-eglibc = "2.13-r15508"
|
RECIPE_LATEST_VERSION_pn-eglibc = "2.13-r15508"
|
||||||
RECIPE_LAST_UPDATE_pn-eglibc = "Nov 16, 2011"
|
RECIPE_LAST_UPDATE_pn-eglibc = "Nov 16, 2011"
|
||||||
RECIPE_MANUAL_CHECK_DATE_pn = "Nov 16, 2011"
|
RECIPE_MANUAL_CHECK_DATE_pn-eglibc = "Nov 16, 2011"
|
||||||
|
|
||||||
RECIPE_STATUS_pn-lighttpd = "red"
|
RECIPE_STATUS_pn-lighttpd = "red"
|
||||||
RECIPE_LAST_UPDATE_pn-lighttpd = "Jul 28, 2011"
|
RECIPE_LAST_UPDATE_pn-lighttpd = "Jul 28, 2011"
|
||||||
@@ -5999,7 +5999,7 @@ RECIPE_STATUS_pn-ghostscript = "red"
|
|||||||
RECIPE_LATEST_VERSION_pn-ghostscript = "9.04"
|
RECIPE_LATEST_VERSION_pn-ghostscript = "9.04"
|
||||||
RECIPE_MAINTAINER_pn-ghostscript = "Kai Kang <kai.kang@windriver.com>"
|
RECIPE_MAINTAINER_pn-ghostscript = "Kai Kang <kai.kang@windriver.com>"
|
||||||
RECIPE_LAST_UPDATE_pn-ghostscript = "Oct 19, 2011"
|
RECIPE_LAST_UPDATE_pn-ghostscript = "Oct 19, 2011"
|
||||||
RECIPE_MANUAL_CHECK_DATE_pn = "Oct 19, 2011"
|
RECIPE_MANUAL_CHECK_DATE_pn-ghostscript = "Oct 19, 2011"
|
||||||
|
|
||||||
RECIPE_STATUS_pn-createrepo = "green"
|
RECIPE_STATUS_pn-createrepo = "green"
|
||||||
RECIPE_LATEST_VERSION_pn-createrepo = "0.9.9"
|
RECIPE_LATEST_VERSION_pn-createrepo = "0.9.9"
|
||||||
|
|||||||
@@ -12,6 +12,5 @@ RDEPENDS_kernel-base = ""
|
|||||||
|
|
||||||
# Use a common kernel recipe for all QEMU machines
|
# Use a common kernel recipe for all QEMU machines
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||||
#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
|
|
||||||
|
|
||||||
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
|
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
#@NAME: qemu PPC Emulator setup
|
#@NAME: qemu PPC Emulator setup
|
||||||
#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
|
#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/libgl = "mesa-xlib"
|
|
||||||
|
|
||||||
require conf/machine/include/qemu.inc
|
require conf/machine/include/qemu.inc
|
||||||
require conf/machine/include/tune-ppc603e.inc
|
require conf/machine/include/tune-ppc603e.inc
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,7 @@
|
|||||||
#@NAME: common_pc
|
#@NAME: common_pc
|
||||||
#@DESCRIPTION: Machine configuration for running a common x86
|
#@DESCRIPTION: Machine configuration for running a common x86
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
|
|
||||||
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
||||||
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg"
|
|
||||||
|
|
||||||
require conf/machine/include/tune-x86_64.inc
|
require conf/machine/include/tune-x86_64.inc
|
||||||
require conf/machine/include/qemu.inc
|
require conf/machine/include/qemu.inc
|
||||||
|
|||||||
@@ -2,10 +2,7 @@
|
|||||||
#@NAME: common_pc
|
#@NAME: common_pc
|
||||||
#@DESCRIPTION: Machine configuration for running a common x86
|
#@DESCRIPTION: Machine configuration for running a common x86
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
|
|
||||||
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
|
|
||||||
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
|
||||||
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg"
|
|
||||||
|
|
||||||
require conf/machine/include/tune-i586.inc
|
require conf/machine/include/tune-i586.inc
|
||||||
require conf/machine/include/qemu.inc
|
require conf/machine/include/qemu.inc
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ SECTION = "console/network"
|
|||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||||
|
|
||||||
INC_PR = "r10"
|
INC_PR = "r11"
|
||||||
|
|
||||||
inherit autotools gettext update-alternatives
|
inherit autotools gettext update-alternatives
|
||||||
|
|
||||||
@@ -15,6 +15,6 @@ do_install_append () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ALTERNATIVE_NAME = "wget"
|
ALTERNATIVE_NAME = "wget"
|
||||||
ALTERNATIVE_LINK = "${base_bindir}/wget"
|
ALTERNATIVE_LINK = "${bindir}/wget"
|
||||||
ALTERNATIVE_PATH = "${base_bindir}/wget.${PN}"
|
ALTERNATIVE_PATH = "${bindir}/wget.${PN}"
|
||||||
ALTERNATIVE_PRIORITY = "100"
|
ALTERNATIVE_PRIORITY = "100"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ PROVIDES = "virtual/libsdl"
|
|||||||
DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender tslib"
|
DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender tslib"
|
||||||
DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
|
DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
|
||||||
|
|
||||||
PR = "r1"
|
PR = "r2"
|
||||||
|
|
||||||
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
|
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
|
||||||
file://configure_tweak.patch \
|
file://configure_tweak.patch \
|
||||||
@@ -38,7 +38,8 @@ EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads
|
|||||||
${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
|
${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \
|
||||||
--disable-video-svga \
|
--disable-video-svga \
|
||||||
--disable-video-picogui --disable-video-qtopia --enable-dlopen \
|
--disable-video-picogui --disable-video-qtopia --enable-dlopen \
|
||||||
--disable-rpath"
|
--disable-rpath \
|
||||||
|
--disable-pulseaudio"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
|
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
|
||||||
PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib,"
|
PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib,"
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ if [ ! -x "$IPTABLES" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
n=$[ (`echo $TAP | sed 's/tap//'` * 2) + 1 ]
|
n=$[ (`echo $TAP | sed 's/tap//'` * 2) + 1 ]
|
||||||
$IFCONFIG $TAP 192.168.7.$n
|
$IFCONFIG $TAP 192.168.7.$n netmask 255.255.255.255
|
||||||
|
|
||||||
dest=$[ (`echo $TAP | sed 's/tap//'` * 2) + 2 ]
|
dest=$[ (`echo $TAP | sed 's/tap//'` * 2) + 2 ]
|
||||||
$ROUTE add -host 192.168.7.$dest $TAP
|
$ROUTE add -host 192.168.7.$dest $TAP
|
||||||
|
|||||||
Reference in New Issue
Block a user