All pastes #333057 Raw Edit

Untitled

public text v1 · immutable
#333057 ·published 2007-01-30 17:16 UTC
rendered paste body
nice@Slack:~/SlackPAD/oe$ bitbake virtual/kernel                               
NOTE: Using cache in '/home/nice/SlackPAD/oe/tmp/cache/simpad'
NOTE: Handling BitBake files: / (4121/4121) [100 %]
NOTE: Parsing finished. 3957 cached, 0 parsed, 164 skipped, 0 masked.

NOTE: build 200701301853: started

OE Build Configuration:
BB_VERSION     = "1.6.3"
OE_REVISION    = "c061df3c878036b89578269db9b3493694ff3981"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "simpad"
DISTRO         = "angstrom"
DISTRO_VERSION = "test-20070130"
TARGET_FPU     = "soft"

NOTE: multiple providers are available (opensimpad-64+0, handhelds-sa, linux, poodle255-kernel-2.4-embedix, linux-h6300-omap1, linux-dht-walnut, collie-kernels-2.4-embedix, a780-kernel, husky-kernel-2.4-embedix, linux-geodegx, poodle-kernel-2.4-embedix, xanadux-ba-2.6, linux-h1940, ipod, linux-mtx-3, linux-handhelds-2.6, linux-omap-2.6, xanadux-un-2.6, opensimpad, corgi-kernel-2.4-embedix, linux-geodelx, c7x0-kernels-2.4-embedix, linux-xxs1500, LAB-kernel, linux-bast, shepherd-kernel-2.4-embedix);
NOTE: consider defining PREFERRED_PROVIDER_virtual/kernel
NOTE: preferred version 2.5 of glibc not available
NOTE: build 200701301853: completed
Build statistics:
  Attempted builds: 0

##############################################################################################

nice@Slack:~/SlackPAD/oe/org.openembedded.me/packages/linux$ cat simpad-2.6_2.6.19.1.bb
DESCRIPTION = "SIMpad Kernel"
LICENSE = "GPL"
PR="r2"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.19.1.tar.bz2 \
            file://linux-2.6.19.1.SIMpad.mq200.patch;patch=1"
"
S = "${WORKDIR}/simpad-2.6"

COMPATIBLE_HOST = "arm.*-linux"

inherit kernel

do_configure() {
        cp arch/arm/configs/simpad_defconfig .config || die "No default configuration for ${MACHINE} available."
        yes '' | oe_runmake oldconfig
}


###############################################################
# put into deploy directory
#
do_deploy() {
        install -d ${DEPLOY_DIR_IMAGE}
        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
        tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${MACHINE}.tgz -C ${D} lib
}

do_deploy[dirs] = "${S}"

addtask deploy before do_package after do_install

##############################################################################################

nice@Slack:~/SlackPAD/oe/org.openembedded.me/conf/machine$ cat simpad.conf 
#@TYPE: Machine
#@NAME: SIEMENS SIMpad SL4, SIEMENS SIMpad CL4, SIEMENS SIMpad SLC, Telekom T-Sinus PAD
#@DESCRIPTION: Machine configuration for the SA1100 based SIEMENS SIMpad and Telekom T-Sinus PAD devices

MACHINE_KERNEL_VERSION ?= "2.4"
require conf/machine/include/simpad-${MACHINE_KERNEL_VERSION}.conf

TARGET_ARCH = "arm"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
BOOTSTRAP_EXTRA_RDEPENDS += "kernel"

BOOTSTRAP_EXTRA_RRECOMMENDS = "hostap-modules-cs  \
kernel-module-sa1100-ir kernel-module-sa1100usb-core kernel-module-usb-eth \
kernel-module-pcnet-cs kernel-module-8390"

# This is needed for the ramdisk script to work
BOOTSTRAP_EXTRA_RDEPENDS += "e2fsprogs-mke2fs"

EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 -n"
EXTRA_IMAGEDEPENDS = ""
SERIAL_CONSOLE = "ttySA0 115200 vt100"

USE_DEVFS = "1"
GUI_MACHINE_CLASS = "bigscreen"
ROOT_FLASH_SIZE = "16"
USE_VT = "0"
GPE_EXTRA_INSTALL += "suspend-desktop"

require conf/machine/include/tune-strongarm.conf

##############################################################################################

nice@Slack:~/SlackPAD/oe/org.openembedded.me/conf/machine/include$ cat simpad-2.6.conf 
PREFERRED_PROVIDER_virtual/kernel = "simpad-2.6_2.6.19.1"
PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod-2.6:module-init-tools-cross"

BOOTSTRAP_EXTRA_RDEPENDS += "udev module-init-tools"