diff options
-rw-r--r-- | classes/kernel.bbclass | 5 | ||||
-rw-r--r-- | classes/package.bbclass | 8 | ||||
-rw-r--r-- | conf/distro/angstrom-2006.9.conf | 2 | ||||
-rw-r--r-- | conf/distro/angstrom.conf | 4 | ||||
-rw-r--r-- | packages/automake/automake-native.inc | 2 | ||||
-rw-r--r-- | packages/automake/automake.inc | 23 | ||||
-rw-r--r-- | packages/automake/automake_1.7.7.bb | 3 | ||||
-rw-r--r-- | packages/automake/automake_1.8.2.bb | 3 | ||||
-rw-r--r-- | packages/automake/automake_1.8.4.bb | 3 | ||||
-rw-r--r-- | packages/automake/automake_1.9.2.bb | 3 | ||||
-rw-r--r-- | packages/automake/automake_1.9.3.bb | 3 | ||||
-rw-r--r-- | packages/classpath/classpath.inc | 1 | ||||
-rw-r--r-- | packages/jikes/jikes_1.22.bb | 1 | ||||
-rw-r--r-- | packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb | 2 | ||||
-rw-r--r-- | packages/module-init-tools/module-init-tools-cross_3.2.2.bb | 1 | ||||
-rw-r--r-- | packages/module-init-tools/module-init-tools_3.2.2.bb | 2 | ||||
-rw-r--r-- | packages/modutils/modutils-cross_2.4.27.bb | 3 | ||||
-rw-r--r-- | packages/modutils/modutils_2.4.27.bb | 4 | ||||
-rw-r--r-- | packages/mpfr/mpfr_2.1.1.bb | 5 |
19 files changed, 60 insertions, 18 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index c5f667747c..ab8c03014f 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -194,7 +194,7 @@ ALLOW_EMPTY_kernel-image = "1" pkg_postinst_modules () { if [ -n "$D" ]; then - ${HOST_PREFIX}depmod -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_RELEASE} ${KERNEL_VERSION} + ${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_RELEASE} ${KERNEL_VERSION} else depmod -A update-modules || true @@ -262,8 +262,9 @@ python populate_packages_prepend () { kernelver_stripped = m.group(1) path = bb.data.getVar("PATH", d, 1) host_prefix = bb.data.getVar("HOST_PREFIX", d, 1) or "" + major_version = bb.data.getVar('KERNEL_MAJOR_VERSION', d, 1) - cmd = "PATH=\"%s\" %sdepmod -n -a -r -b %s -F %s/boot/System.map-%s %s" % (path, host_prefix, dvar, dvar, kernelver, kernelver_stripped) + cmd = "PATH=\"%s\" %sdepmod-%s -n -a -r -b %s -F %s/boot/System.map-%s %s" % (path, host_prefix, major_version, dvar, dvar, kernelver, kernelver_stripped) f = os.popen(cmd, 'r') deps = {} diff --git a/classes/package.bbclass b/classes/package.bbclass index d32cf53828..97e091c254 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -241,6 +241,14 @@ python populate_packages () { return 0 return (s[stat.ST_MODE] & stat.S_IEXEC) + # Sanity check PACKAGES for duplicates - should be moved to + # sanity.bbclass once we have he infrastucture + pkgs = [] + for pkg in packages.split(): + if pkg in pkgs: + bb.error("%s is listed in PACKAGES mutliple times. Undefined behaviour will result." % pkg) + pkgs += pkg + for pkg in packages.split(): localdata = bb.data.createCopy(d) root = os.path.join(workdir, "install", pkg) diff --git a/conf/distro/angstrom-2006.9.conf b/conf/distro/angstrom-2006.9.conf index 4894c3ac27..e3af317d3f 100644 --- a/conf/distro/angstrom-2006.9.conf +++ b/conf/distro/angstrom-2006.9.conf @@ -14,7 +14,7 @@ FEED_URIS += " \ # ${MACHINE}##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/${MACHINE} \ # updates##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/updates" -SRCDATE = "20060425" +SRCDATE ?= "20060425" # Opie diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf index 547436cd1a..40f57430d0 100644 --- a/conf/distro/angstrom.conf +++ b/conf/distro/angstrom.conf @@ -36,8 +36,8 @@ BUILD_OPTIMIZATION = "-Os" TARGET_FPU_arm = "soft" #Always ship these packages -BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version dropbear sysvinit" -BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version dropbear sysvinit" +BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version coreutils dropbear sysvinit" +BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version coreutils dropbear sysvinit" #Name the generated images in a sane way IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" diff --git a/packages/automake/automake-native.inc b/packages/automake/automake-native.inc index 9e89ac8621..7b69252ff0 100644 --- a/packages/automake/automake-native.inc +++ b/packages/automake/automake-native.inc @@ -1,7 +1,7 @@ SECTION = "devel" include automake_${PV}.bb DEPENDS = "autoconf-native" -RDEPENDS_${PN} = "autoconf-native perl-native-runtime" +RDEPENDS_automake-native = "autoconf-native perl-native-runtime" inherit native diff --git a/packages/automake/automake.inc b/packages/automake/automake.inc new file mode 100644 index 0000000000..fa59c1f5cc --- /dev/null +++ b/packages/automake/automake.inc @@ -0,0 +1,23 @@ +RDEPENDS_automake += "\ + autoconf \ + perl \ + perl-module-bytes \ + perl-module-constant \ + perl-module-cwd \ + perl-module-data-dumper \ + perl-module-dynaloader \ + perl-module-errno \ + perl-module-exporter-heavy \ + perl-module-file-basename \ + perl-module-file-compare \ + perl-module-file-copy \ + perl-module-file-glob \ + perl-module-file-spec-unix \ + perl-module-file-stat \ + perl-module-getopt-long \ + perl-module-io \ + perl-module-io-file \ + perl-module-posix \ + perl-module-strict \ + perl-module-text-parsewords \ + perl-module-vars " diff --git a/packages/automake/automake_1.7.7.bb b/packages/automake/automake_1.7.7.bb index 619361bcfd..7483868ee4 100644 --- a/packages/automake/automake_1.7.7.bb +++ b/packages/automake/automake_1.7.7.bb @@ -7,7 +7,8 @@ PR = "r7" inherit autotools FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" -RDEPENDS_${PN} += "autoconf-native perl-native" + +include automake.inc do_install () { oe_runmake 'DESTDIR=${D}' install diff --git a/packages/automake/automake_1.8.2.bb b/packages/automake/automake_1.8.2.bb index cdcd1690e1..9921a8d6a4 100644 --- a/packages/automake/automake_1.8.2.bb +++ b/packages/automake/automake_1.8.2.bb @@ -11,7 +11,8 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/automake-${PV}" inherit autotools FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" -RDEPENDS_${PN} += "autoconf perl" + +include automake.inc do_install () { oe_runmake 'DESTDIR=${D}' install diff --git a/packages/automake/automake_1.8.4.bb b/packages/automake/automake_1.8.4.bb index 56cf80a327..493d2cc907 100644 --- a/packages/automake/automake_1.8.4.bb +++ b/packages/automake/automake_1.8.4.bb @@ -11,7 +11,8 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/automake-${PV}" inherit autotools FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" -RDEPENDS_${PN} += "autoconf perl" + +include automake.inc do_install () { oe_runmake 'DESTDIR=${D}' install diff --git a/packages/automake/automake_1.9.2.bb b/packages/automake/automake_1.9.2.bb index 0bf4288650..4027862768 100644 --- a/packages/automake/automake_1.9.2.bb +++ b/packages/automake/automake_1.9.2.bb @@ -12,7 +12,8 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/automake-${PV}" inherit autotools FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" -RDEPENDS_${PN} += "autoconf perl" + +include automake.inc do_install () { oe_runmake 'DESTDIR=${D}' install diff --git a/packages/automake/automake_1.9.3.bb b/packages/automake/automake_1.9.3.bb index 71bf0bd58b..fb75b83b68 100644 --- a/packages/automake/automake_1.9.3.bb +++ b/packages/automake/automake_1.9.3.bb @@ -13,7 +13,8 @@ inherit autotools export AUTOMAKE = "${@bb.which('automake', bb.data.getVar('PATH', d, 1))}" FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" -RDEPENDS_${PN} += "autoconf perl" + +include automake.inc do_install () { oe_runmake 'DESTDIR=${D}' install diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc index cbbab0ad16..c2c9c1281b 100644 --- a/packages/classpath/classpath.inc +++ b/packages/classpath/classpath.inc @@ -2,6 +2,7 @@ DESCRIPTION = "GNU Classpath standard Java libraries" HOMEPAGE = "http://www.gnu.org/software/classpath/" LICENSE = "Classpath" PRIORITY = "optional" +MAINTAINER = "Rene Wagner <rw@handhelds.org>" SECTION = "libs" PBN = "classpath" diff --git a/packages/jikes/jikes_1.22.bb b/packages/jikes/jikes_1.22.bb index 3ed510a7f1..728b30087a 100644 --- a/packages/jikes/jikes_1.22.bb +++ b/packages/jikes/jikes_1.22.bb @@ -1,6 +1,7 @@ DESCRIPTION = "Java compiler adhering to language and VM specifications" HOMEPAGE = "http://jikes.sourceforge.net/" PRIORITY = "optional" +MAINTAINER = "Rene Wagner <rw@handhelds.org>" SECTION = "devel" LICENSE = "IBM" PR = "r0" diff --git a/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb b/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb index 5e562798de..76e1769e31 100644 --- a/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb +++ b/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb @@ -58,7 +58,7 @@ pkg_postinst_kernel () { pkg_postinst_modules () { if [ -n "$D" ]; then - ${HOST_PREFIX}depmod -A -b $D -F $D/boot/System.map-${PV} ${KERNEL_VERSION} + ${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F $D/boot/System.map-${PV} ${KERNEL_VERSION} else depmod -A fi diff --git a/packages/module-init-tools/module-init-tools-cross_3.2.2.bb b/packages/module-init-tools/module-init-tools-cross_3.2.2.bb index 4bcc311709..fc8b461945 100644 --- a/packages/module-init-tools/module-init-tools-cross_3.2.2.bb +++ b/packages/module-init-tools/module-init-tools-cross_3.2.2.bb @@ -8,6 +8,7 @@ EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}" do_stage () { oe_runmake install + mv ${bindir}/${TARGET_PREFIX}depmod ${bindir}/${TARGET_PREFIX}depmod-2.6 } do_install () { diff --git a/packages/module-init-tools/module-init-tools_3.2.2.bb b/packages/module-init-tools/module-init-tools_3.2.2.bb index b0d2f34e5e..727bfaac1b 100644 --- a/packages/module-init-tools/module-init-tools_3.2.2.bb +++ b/packages/module-init-tools/module-init-tools_3.2.2.bb @@ -3,7 +3,7 @@ removing kernel modules for Linux (versions 2.5.48 and above). It serves \ the same function that the modutils package serves for Linux 2.4." LICENSE = "GPL" SECTION = "base" -PR = "r1" +PR = "r2" PACKAGES =+ "module-init-tools-insmod-static module-init-tools-depmod" RDEPENDS_${PN} += "module-init-tools-depmod" diff --git a/packages/modutils/modutils-cross_2.4.27.bb b/packages/modutils/modutils-cross_2.4.27.bb index 2b301d7d09..9ecdfba5da 100644 --- a/packages/modutils/modutils-cross_2.4.27.bb +++ b/packages/modutils/modutils-cross_2.4.27.bb @@ -1,6 +1,6 @@ SECTION = "base" include modutils_${PV}.bb -PR = "r6" +PR = "r7" inherit cross S = "${WORKDIR}/modutils-${PV}" DEPENDS = "" @@ -19,6 +19,7 @@ CFLAGS_prepend_mipseb = "-D__MIPSEB__" do_stage () { oe_runmake install + mv ${bindir}/${TARGET_PREFIX}-depmod ${bindir}/${TARGET_PREFIX}-depmod-2.4 } do_install () { diff --git a/packages/modutils/modutils_2.4.27.bb b/packages/modutils/modutils_2.4.27.bb index 9fa7cef105..56420f7de0 100644 --- a/packages/modutils/modutils_2.4.27.bb +++ b/packages/modutils/modutils_2.4.27.bb @@ -39,10 +39,10 @@ for f in sbin/insmod sbin/modprobe sbin/rmmod bin/lsmod; do done if test -n "$D"; then D="-r $D" - if test -n "`which ${TARGET_PREFIX}depmod`"; then + if test -n "`which ${TARGET_PREFIX}depmod-2.4`"; then for kerneldir in `ls -p ${IMAGE_ROOTFS}/lib/modules|grep /`; do kernelver=`basename $kerneldir` - ${TARGET_PREFIX}depmod -a -b ${IMAGE_ROOTFS} -C ${IMAGE_ROOTFS}/${sysconfdir}/modules.conf -r $kernelver + ${TARGET_PREFIX}depmod-2.4 -a -b ${IMAGE_ROOTFS} -C ${IMAGE_ROOTFS}/${sysconfdir}/modules.conf -r $kernelver done fi fi diff --git a/packages/mpfr/mpfr_2.1.1.bb b/packages/mpfr/mpfr_2.1.1.bb index 8b739c0803..1bf29fb6b1 100644 --- a/packages/mpfr/mpfr_2.1.1.bb +++ b/packages/mpfr/mpfr_2.1.1.bb @@ -3,7 +3,7 @@ LICENSE = "LGPL" MAINTAINER = "Rene Wagner <rw@handhelds.org>" SECTION = "libs" DEPENDS = "gmp" -PR = "r1" +PR = "r2" SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2" S = "${WORKDIR}/mpfr-${PV}" @@ -15,5 +15,6 @@ do_stage() { bindir=${STAGING_BINDIR} \ includedir=${STAGING_INCDIR} \ libdir=${STAGING_LIBDIR} \ - datadir=${STAGING_DATADIR} + datadir=${STAGING_DATADIR} \ + infodir=${STAGING_DIR}/${HOST_SYS}/info } |