RDEPENDS += "kernel (${KERNEL_VERSION})" DEPENDS += "virtual/kernel" inherit module-base python populate_packages_prepend() { v = bb.data.getVar("PARALLEL_INSTALL_MODULES", d, 1) or "0" if v == "1": kv = bb.data.getVar("KERNEL_VERSION", d, 1) packages = bb.data.getVar("PACKAGES", d, 1) for p in packages.split(): pkg = bb.data.getVar("PKG_%s" % p, d, 1) or p newpkg = "%s-%s" % (pkg, kv) bb.data.setVar("PKG_%s" % p, newpkg, d) rprovides = bb.data.getVar("RPROVIDES_%s" % p, d, 1) if rprovides: rprovides = "%s %s" % (rprovides, pkg) else: rprovides = pkg bb.data.setVar("RPROVIDES_%s" % p, rprovides, d) } module_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ KERNEL_SRC=${STAGING_KERNEL_DIR} \ KERNEL_VERSION=${KERNEL_VERSION} \ CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ ${MAKE_TARGETS} } module_do_install() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" CC="${KERNEL_CC}" LD="${KERNEL_LD}" modules_install } pkg_postinst_append () { if [ -n "$D" ]; then exit 1 fi depmod -A update-modules || true } pkg_postrm_append () { update-modules || true } EXPORT_FUNCTIONS do_compile do_install FILES_${PN} = "/etc /lib/modules" gned-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> bb files: Revert the introduction of FILE_PR 2008-10-18T16:02:07+00:00 Holger Hans Peter Freyther zecke@selfish.org 2008-10-15T08:56:42+00:00 c0b6dd9b41279ff00c5a90e49108945a0fee9cdd This is a partial revert of aa03004ace2fabb135a6208ef8c2d2b312aa7b0b. The approach that was taken leads to disagreement and the change was pushed too early. DISTRO_PR is going to say and will be used inside the package creation. There will be more disucssion on the list about where to continue from here.
    This is a partial revert of aa03004ace2fabb135a6208ef8c2d2b312aa7b0b. The
    approach that was taken leads to disagreement and the change was pushed
    too early. DISTRO_PR is going to say and will be used inside the package
    creation. There will be more disucssion on the list about where to continue
    from here.
[PR] Change PR to FILE_PR and intro PR as FILE_PR + DISTRO_PR 2008-10-15T19:41:43+00:00 Holger Hans Peter Freyther zecke@selfish.org 2008-10-15T08:56:42+00:00 aa03004ace2fabb135a6208ef8c2d2b312aa7b0b Allow a distribution to globally bump the PR of every package this is useful when there was a change in the toolchain and every package is going to be different. find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR="/"FILE_PR ="/ {} \; find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR ="/"FILE_PR ="/ {} \; Acked-By: Koen Kooi <koen@openembedded.org>
    Allow a distribution to globally bump the PR of every package
    this is useful when there was a change in the toolchain and
    every package is going to be different.

    find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR="/"FILE_PR ="/ {} \;
    find packages/ \( -name '*.bb' -or -name '*.inc' \) -exec sed -i s/"^PR ="/"FILE_PR ="/ {} \;

Acked-By: Koen Kooi <koen@openembedded.org>
mtn2git: remove .mtn2git_empty files in non-empty directories 2008-10-15T13:27:49+00:00 Jan Luebbe jluebbe@debian.org 2008-10-15T13:26:10+00:00 869ba9e1fb2237b75560feed13545a35f3c3569d

divers: remove lines of the form "PACKAGES = ${PN}" from 63 files 2008-01-25T13:50:52+00:00 Rolf Leggewie oe-devel@rolf.leggewie.biz 2008-01-25T13:50:52+00:00 d32bcf39f06ea4d51ca342c6253e06b6ceb5088a

start removing task-bootstrap* as stated in removal.txt 2006-12-22T09:16:57+00:00 Koen Kooi koen@openembedded.org 2006-12-22T09:16:57+00:00 c00cd09f520da9d74176f4b9ab1b21db5e9067e1