Currently, udev won't start for me, as we've just mounted a new /dev,
which is completely empty, and udevd requires a /dev/null.
This change manually creates the three base device nodes (zero, null
and console) so that udev can start.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
If the udev extras are built without large file support in uClibc,
I get the following error:
build_powerpc/staging_dir/usr/bin/powerpc-linux-uclibc-gcc -c -g -Wall
-pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wstrict-prototypes
-Wsign-compare -Wshadow -Wchar-subscripts -Wmissing-declarations
-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare
-Wmissing-prototypes -Os ext.c -o ext.o
In file included from build_powerpc/staging_dir/usr/include/stdio.h:28,
from ext.c:19:
build_powerpc/staging_dir/usr/include/features.h:382:4: error:
#error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately,
uClibc was built without large file support enabled.
Although the base udev package builds correctly, the extras pacakges
don't adjust their CFLAGS depending on BR2_LARGEFILE.
This change adds the required CFLAGS modifications to make the
extras build.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
According to udev.mk, the scsi_id package depends on the libvolume_id
library, so add this dependency to Config.mk
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
The configure script tries to find out if enums can be negative, this is not
supported when cross compiling, since it tries to run the binary. This commit
sets the test to yes, i.e. negative enums are possible.
Avahi uses autoconf during ./configure, make sure it is available and used
before building avahi.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
install-strip unconditionally overwrites $(TARGET_DIR)/etc/init.d/ifplugd.*,
so the check in _HOOK_POST_INSTALL is useless.
Fix it by using install-exec and manually stripping the target binaries
instead.
CPUs. It is required by various GStreamer plugins.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Modifications by Thomas Petazzoni:
- Remove the glib2 dependency, which is only necessary to build a few
examples. If glib2 is enabled in the configuration, then we still
depend on it in order to build the examples, but that's just
pedantic, not so useful.
- Remove the oil-bugreport program installed to the target by
install-strip.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
cc1: warnings being treated as errors
buildroot/buildroot/build_powerpc/makedevs/makedevs.c: In function main:
buildroot/buildroot/build_powerpc/makedevs/makedevs.c:531: error:
ignoring return value of system, declared with attribute warn_unused_result
This change adds a simple warning if system() fails.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>