Commit Graph

7598 Commits

Author SHA1 Message Date
Joshua Lock 49df0b84fa .gitignore: Ignore the built bsp-guide
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-08 17:29:56 +01:00
Joshua Lock 79f330c6c9 handbook: point out required Python version
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-08 17:29:56 +01:00
Joshua Lock 3a6948a2af handbook: add documentation for layers
Collections and overlays are deprecated in favour of layers, a much cleaner and
non-intrusive way of extending Poky with custom recipes, classes and
configuration.

This patch updates the Extending Poky section of the handbook to show how to
use layers to tailor Poky while dropping  the existing section on using
collections.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-08 17:29:56 +01:00
Joshua Lock 6a9312cccc sanity.bbclass: Check for Python 2.6 or newer
In relocatable.bbclass and utility-tasks.bbclass we depend on functionality
that was only introduced with Pytrhon 2.6, so we now check that the build
system has it in the sanity class.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-08 17:29:46 +01:00
Joshua Lock 8f34dcfdbc handbook: Use new style patch application syntax
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-08 17:07:03 +01:00
Richard Purdie 40b0d41fd1 task-poky-standalone-sdk-target: Add libgcc-dev and libstdc++-dev to allow compiling in meta-toolchain to work
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-08 13:13:18 +01:00
Dongxiao Xu f8c0b93562 gcc-cross: Fix install path typo.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-06-08 17:09:33 +08:00
Richard Purdie 1a53b52071 linux-moblin: Fix defconfig-netbook
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-07 23:29:58 +01:00
Richard Purdie 2f7b3e3f31 gcc-runtime: Make sure multiple target builds work correctly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-07 23:09:00 +01:00
Richard Purdie 6118da2a7f syslinux: Fix native install to use the correct paths
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-07 21:58:21 +01:00
Richard Purdie 2160dddcc1 base.bbclass: Fix after bb.decodeurl was fixed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-07 21:16:16 +01:00
Joshua Lock c4a0b5463d sanity.bbclass: version each of the files in the build/conf/ directory
We already have versioning of the local.conf file but it's entirely plausible
for the bblayers.conf and site.conf to change incompatibly so we should version
those too.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-07 16:16:35 +01:00
Saul Wold cab1009b08 Fixes for Qemu to use VGA and Touch Screen
Added usb tablet options to poky-qemu-internal script, and adjusted the
xorg.conf script for x86 to use VGA screen and tablet input device

Signed-off-by: Saul Wold <saul.wold@intel.com>
2010-06-07 16:13:00 +01:00
Jeff Dike bf59d217a8 qemu: Update to 0.12.4
Renamed the recipe to 0.12.4.

Moved the patches directory to qemu-0.12.4 - when it was named
qemu-0.12, bitbake silently ignored the patches, and only failed when
it came time to apply them.

Added a FILESDIR to the git recipe and changed its PV to 0.12.4 so it
can use the same patches as the normal recipe for now.

Removed the series file - it wasn't needed.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-06-07 16:10:19 +01:00
Nitin A Kamble fc81ca7d2d insane.bbclass: Throw better error if path is bad
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-07 16:05:12 +01:00
Nitin A Kamble c3682bf89b bitbake decodeurl: fix the file:// url handling
Without this patch decoding a url of this kind file://dir/filename gives
path=/filename host=dir.
With the patch it decodes as path=/dir/filename host=""

Probably nobody stumbled on this issue yet because nobody used
file:// urls with directory names in the path.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-07 16:05:00 +01:00
Jeff Dike 807e983632 e2fsprogs: Remove all mention of anything associated with uuids
--disable-libuuid is added to the configure command line.  This has
the effect of disabling the compilation of uuidgen and libuuid.so.

These two are specified as making up their own packages, which turn
out to be empty, and thus aren't created in the first place.  The
error which manifests itself is at the final creation of the rootfs
when the global package depends on the e2fsprogs-uuidgen and libuuid,
which turn out not to exist, because they weren't created.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-06-07 16:04:00 +01:00
Jeff Dike 42e7e4f3e2 wpa-supplicant: Don't run populate-volatile.sh on the build system
Move the populate-volatile.sh call to below the offline check.
Otherwise, it will try to run during the build, on a system which
likely doesn't have populate-volatile.sh.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-06-07 16:03:45 +01:00
Joshua Lock 8f367b6930 packaged-staging: Add the correct architectures to the opkg conf
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-04 20:02:09 +01:00
Joshua Lock 1ccbc1549e handbook: use XML catalogues to make building work on all(?) distros
Thanks to Damien's pointers we should now be able to generate the handbook
regardless of host distro

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-04 20:02:06 +01:00
Joshua Lock f5d0471541 busybox: Fix redirection of fd 0 in ash interactive
Backported change from the 1.16.1 ash patches.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-04 20:02:01 +01:00
Jeff Dike fe4e6fc997 module-init-tools: Don't cross-build static binaries
When building the native version, I get errors from ld complaining
about not being able to find a static libc.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-06-03 12:28:10 +01:00
Kevin Tian 3161c9b15a utility-tasks.bbclass: automatic upstream version check
Automatic upstream version check can be triggered by "bitbake xxx -c checkpkg".
The rationale behind is to find a automatic way for version comparison between
current in-use one and upstream progress. The tricky thing is how to find out
useful version string from mass diverse information. Fortunately now it mostly
work for wget based protocol, except some sites (e.g. sourceforge) not providing
a directory service. Repo (git/svn/cvs) based protocols are handled in a very
simple manner, by always tagging as update required. This will be further
improved later. Use 'world' target to retrieve a full version check for all
active recipes.

Along with version check, other package information is also collected from
existing fields in .bb file

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-06-03 12:23:22 +01:00
Richard Purdie 50224b5afa libtool-cross: Allow the compile to run else we can generate invalid (unpatched) libtool files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-03 09:05:03 +01:00
Joshua Lock 9d9b64aaf0 bitbake.conf: Remove util-linux from ASSUME_PROVIDED
We need to build our own util-linux now

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-02 16:15:15 +01:00
Joshua Lock 17f3c548ca util-linux: bump to 2.17 based on OE recipe
Needed to increase version to one which includes libuuid and change do_install
for building a native version.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-02 16:14:54 +01:00
Joshua Lock c4476f7914 e2fsprogs: add util-linux to depends
e2fsprogs requires libuuid to build and we have disabled its built in version
in favour of the one in util-linux, therefore we need util-linux in the DEPENDS

Drop old configure option --enable-dynamic-e2fsck

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-02 15:25:23 +01:00
Joshua Lock 7ada79de07 sanity.bbclass: check for invalid characters in OEROOT
Some characters in the path for OEROOT are known to cause issues, so check for
them in the sanity checker.
Currerently we warn on +'s and spaces.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-02 15:25:00 +01:00
Richard Purdie 9ea69b17f7 utility-tasks: Remove unneeded addtask parameter
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-02 14:07:59 +01:00
Nitin A Kamble 6b82b70c93 Handbook: Documentation for DISTRO_PN_ALIAS
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com
2010-06-02 14:06:03 +01:00
Nitin A Kamble 682983b548 xset: Defining DISTRO_PN_ALIAS for distro_check
This recipe has different names in the different distros. So defining
these aliases for the distro_check task use.

Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-02 14:06:03 +01:00
Nitin A Kamble 2ccd2e67c5 Handbook: Documentation for LIC_FILES_CHKSUM
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-02 14:06:02 +01:00
Nitin A Kamble 5ae3f65531 do_distro_check: Recipe exists in other distros?
This adds a new task (distro_check) for each recipe.
The task generates the source package list for Fedora OpenSuSE
Ubuntu Debian & Mandriva Linux distros.

As one recipe or source package can generate multiple target packages
the recipe name is compared with the source package name list of LInux
distributions.

Thread locking is used to avoid multiple threads racing for the
package list update.

Then the recipe name (PN) is checked if it exists in the package
list of distros. And if the DISTRO_PN_ALIAS then it is used to copmare
pacakge_name instead of the PN variable. Just for example the
DISTRO_PN_ALIAS can be defined in the recipe (.bb) files like this

In the file xset_1.0.4.bb:

DISTRO_PN_ALIAS = "Fedora=xorg-x11-server-utils;\
   Ubuntu=x11-xserver-utils; Debian=x11-xserver-utils;Opensuse=xorg-x11"

The final results are stored in the tmp/log/distro_check-${DATETIME}.result
file.

FYI this command will generate the results for all recipies:
bitbake world -f -c distro_check

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-02 14:06:02 +01:00
Nitin A Kamble 8514bcf5f8 iproute2: fix an issues with DATETIME
The DATE variable in this bb files was distrubing the DATETIME variable
used by the distro_check task.
Renamed the DATE variable to SRCDATE

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-02 14:06:02 +01:00
Nitin A Kamble 2ddc6c4b03 bitbake.conf: add the LOG_DIR variable
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-06-02 14:06:02 +01:00
Richard Purdie 648290d5bf libtool: Make sure ltmain.sh is always regenerated. We can't just remove it since it has to be present to run configure 2010-06-02 11:57:49 +01:00
Richard Purdie 420b1d8488 initscripts: Tweak checkroot to work with recent versions of busybox
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-02 11:45:59 +01:00
Richard Purdie 5b1c702566 e2fsprogs: Upgrade 1.41.5 -> 1.45.12
* The no-hardlinks patch is no longer required
* There was an autoconf macro issue which required a new patch (details in patch)
* libuuid was disabled, this should be provided by util-linux on modern systems
* Not providing libuuid is useful for the -native tools as it stops library symbol
  confusion with those from the host system.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-01 22:13:35 +01:00
Richard Purdie fe37d679e0 gcc-configure-runtime: Make sure the sysroot is configured
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-01 17:52:53 +01:00
Richard Purdie 7dcf1e47b7 sanity.bbclass: Check for SDKMACHINE=i686 and error if found
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-01 17:25:05 +01:00
Joshua Lock 7f0181202a dropbear: don't apply no-password patch
The patch.bbclass changes default to applying listed patches without an
apply/patch parameter. Set the apply parameter to no.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-01 15:17:12 +01:00
Joshua Lock e2598fefaa busybox: disable mdev, we use udev
The import from OE had included some mdev configuration, whereas Poky switched
to udev and a static (tarred) dev some time ago.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-01 15:17:12 +01:00
Joshua Lock 09536a7592 patch.bbclass: Merge patch enhancements from OE by Chris Larson
Chris made some interesting changes to the patch handling in OE. Firstly the
patch and pnum parameters have been renamed, to better reflect their function,
to apply and striplevel. The apply parameter now takes either yes or no as its
value.

Therefore a patch line would be changed from:
file://some.patch;patch=1;pnum=2
to:
file://some.patch;apply=yes;striplevel=2

Secondly the apply parameter is inferred if not defined. Entries in SRC_URI
with diff or patch filename extensions will be automatically applied as patches
if the apply parameter is not set to no (or an unknown value).

Note: We have disabled the warnings when using the old style parameters for now

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-01 15:17:12 +01:00
Richard Purdie 1f2646981f pm-utils: Upgrade to 1.3.0 and fix SRC_URI not to point at SCM generated tarballs
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-01 15:14:26 +01:00
Richard Purdie 3cbbd0b002 eds-dbus: Disable parallel make
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-06-01 12:45:07 +01:00
Joshua Lock 2700a620d0 qemu: add some extra ldflags to make it link succesfully
qemu-native was failing to link on my 64bit Fedora 13 machine with this error:

| /usr/bin/ld: libqemu.a(helper_opengl.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
| /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
| /lib64/libdl.so.2: could not read symbols: Invalid operation

So I did as the linker told me and added -ldl to the linker flags

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-28 15:32:42 +01:00
Joshua Lock 138df217ef Drop vm_mmap_min_addr checks from scripts and sanity class
QEMU 0.12.x is relocatable so we no longer need these tests, which is good
because it doesn't work reliably with modern kernels.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-28 15:32:41 +01:00
Joshua Lock 32a85c1570 qemu: reduce duplication, use an inc file and share common patches
There's no need to carry around two copies of the same patches for qemu-git and
qemu-0.12 so drop the qemu-git directory and update the git recipe to use the
qemu-0.12 directory for patches.

Move common code from the two recipes to an inc file.

Signed-off-by: Joshua Lock <josh@linux.intel.com>

fweh
2010-05-28 15:31:54 +01:00
Jeff Dike 3d6e7e7d0c qemu: Update the static recipe to 0.12.0
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-05-27 15:22:50 -04:00
Jeff Dike 4de4707213 qemu: updated the glflags patch, which is needed by qemusdk.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
2010-05-27 13:16:59 -04:00