msh is currently the only good choice for uClinux but it doesn't
understands shell functions. In this case there is nothing to gain
by using shell functions anyway.
Signed-off-by: Nicolas Pitre <nico@cam.org>
The ARM uClinux BFLT format apparently doesn't support shared libs nor
-fPIC. So let's distinguish between shared and non shared builds by
having split rules for libz.a and libz.so based on BR2_PREFER_STATIC_LIB.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Currently, BR2_TARGET_ROOTFS_INITRAMFS doesn't actually do anything,
as it doesn't alter $(TARGETS)
This change hooks up the TARGETS variable to INITRAMFS_TARGET (which
is only set if BR2_TARGET_ROOTFS_INITRAMFS=y), so that the initramfs
list is built.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
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>