Commit Graph

637 Commits

Author SHA1 Message Date
Peter Korsgaard
7139678f78 make the default etc/init.d/S40network compatible with msh
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>
2008-12-08 14:52:16 +00:00
Peter Korsgaard
7cb7952b40 target/initramfs: actually build initramfs target
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>
2008-12-08 13:42:04 +00:00
Peter Korsgaard
326ae9c89b target/tar: remove unused cut'n'paste leftover 2008-12-08 09:07:01 +00:00
Peter Korsgaard
224c62ecf8 target: paths may need stripping
r24310 removed a few too many strips.
2008-12-08 09:06:59 +00:00
Peter Korsgaard
4b72854dde target/: get rid of unneeded $(strip ..) 2008-12-08 08:15:58 +00:00
Peter Korsgaard
6dbe1188de taget/linux: handle non-modular kernels
Based on b151271 in Bernhard's tree.
2008-12-07 06:55:36 +00:00
Thomas Petazzoni
be5be0ec5a Compiling current SVN fails with the following error for me:
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>
2008-12-02 22:26:00 +00:00
Peter Korsgaard
63402d7737 target/cramfs/cramfs.mk: Fix device table not being passed to mkcramfs
While mkcramfs was being patched to support a device table, the target device table was not being passed to the mkcramfs options. This patch fixes that

Signed-off-by: Jared Holzman <j.holzman@genesysdesign.com.au>
2008-12-02 09:15:08 +00:00
Ulf Samuelsson
1158bc9a25 Add support for AT91SAM9G20 & -EK 2008-11-29 22:00:29 +00:00
Ulf Samuelsson
074da836d2 Add AT91 support for 2.6.27.7 and 2.6.28-rc6 2008-11-29 21:58:48 +00:00
Ulf Samuelsson
4f1887e424 Update Linux versions 2008-11-29 21:56:25 +00:00
Peter Korsgaard
193508d257 linux: remove unused BR2_LINUX_BOARD_PATCH
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-11-14 13:39:58 +00:00
Peter Korsgaard
204821c56c target/Config.in.toolchain: cleanup 2008-11-14 10:06:44 +00:00
Ivan Kuten
da6f419424 revert 23987 until proper implementation 2008-11-10 11:17:21 +00:00
Ivan Kuten
1f370768bc Download Kernel.org minor patches at the same time as full sources.
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
2008-11-10 10:45:46 +00:00
Thomas Petazzoni
f5ca546b76 Fix Grub tarball version as the current version has disappeared from
Debian mirrors.

Patch provided by Roberto A. Foglietta <roberto.foglietta@gmail.com>
2008-11-08 22:24:39 +00:00
Hans-Christian Egtvedt
12b5b0124b linux26: make installation of modules rule depend on .depend_done
This patch will make the installation of modules rule depend on .depend_done instead of .configured to make sure make prepare is run before modules are installed.

Make kernelversion does not work before make prepare has been run.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-11-05 12:59:32 +00:00
Peter Korsgaard
ab1c8b3943 Kernel build fix related to external toolchain use
This patch prevents the user from select "linux (Same version as linux
headers)" as a choice for building the kernel when an external binary
toolchain is used, since "same version as linux headers" doesn't make
sense when an external toolchain is used.

It fixes the issue encountered by Hartley <hartleys@visionengravers.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-04 19:58:48 +00:00
Peter Korsgaard
e9bbc07625 syslinux: fix download url 2008-11-02 19:21:12 +00:00
Arnar Mar Sigurðsson
057eca1834 Update valka target 2008-10-31 17:22:59 +00:00
Hans-Christian Egtvedt
fc23ee8dea linux: skip installing modules if modules are disabled in kernel config
This patch will check if CONFIG_MODULES is set in the kernel .config, if not
yes then it will skip installing the modules.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:56:58 +00:00
Hans-Christian Egtvedt
fed8349509 linux: make touch also create the dependency file when installing modules
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:22:11 +00:00
Hans-Christian Egtvedt
aabaf095a0 linux: fix typo in status printout
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:47 +00:00
Hans-Christian Egtvedt
4c1a34471d linux: add probing for kernel version when installing modules
This patch will ask the kernel for the specific version before doing
modules_install, that way Buildroot will know which directories to remove and
what parameters to use for depmod. Needed when compiling a kernel grabbed from
GIT or vendor specific releases.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-30 14:02:05 +00:00
Peter Korsgaard
cb9d03ca6e target: add /sys directory to target skeletons needing it
The remaining target_skeletons where /etc/fstab mentions sysfs
2008-10-18 13:00:58 +00:00
Peter Korsgaard
ca672dc4dc target/device/Atmel: add /sys to target skeletons
Reported by John Schimandle
2008-10-18 12:47:42 +00:00
Peter Korsgaard
921eb994f8 Add Xilinx UARTLITE and MPC5200 PSC device files (serial ports)
From: Grant Likely <grant.likely@secretlab.ca>

The Xilinx UART Lite and MPC5200 Programmable Serial Controller (PSC)
devices have dedicated major/minor numbers.  Add them to the device
table data file so they get are present in the root filesystem
2008-10-17 10:19:41 +00:00
Hans-Christian Egtvedt
0fbec516fd linux: fix copy of Busybox config to target directory
This patch fixes bug report #5204. The Busybox config was not copied from the
correct place.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-03 07:24:34 +00:00
Peter Korsgaard
5c662fee80 target/linux/advanced: don't hardcode date suffix
Use ROOTFS_SUFFIX instead of hardcoding -$(DATE).

Reported by Lars Lockenvitz.
2008-09-22 12:04:05 +00:00
Peter Korsgaard
49e3aba2d9 target/generic: add uartlite ttyULx devices to securetty 2008-09-16 18:44:54 +00:00
Peter Korsgaard
8a00a1ac65 jffs2: cleanup
Patch by Markus Heidelberg <markus.heidelberg@web.de>

* remove needless help in invisible config options
* correct wrong indenting
* remove unused BR2 variables for default pagesize and devfile
2008-09-07 14:31:39 +00:00
Peter Korsgaard
f8bc2e1e31 target/generic/mini: remove udhcpc default.script entry
It isn't provided in the target skeleton, and avahi gets the
permissions correct so it isn't needed and just confuses users.
2008-08-31 06:26:40 +00:00
Peter Korsgaard
b71d24d032 ubifs: fix long help text lines 2008-08-27 20:19:53 +00:00
Peter Korsgaard
df6555a017 cloop: fix long help text lines 2008-08-27 20:19:50 +00:00
Peter Korsgaard
98f17d003c target/device/jp: fix long help text lines 2008-08-27 20:18:40 +00:00
Peter Korsgaard
f1258adf6b target/device/Atmel: fix long help text lines
And remove trailing spaces while we're at it.
2008-08-27 20:18:37 +00:00
Peter Korsgaard
dc8423d97f squashfs: bump version 2008-08-27 07:46:55 +00:00
Ulf Samuelsson
cc1ab5e670 Update AT91 patches to latest Linux 2008-08-23 20:45:42 +00:00
Ulf Samuelsson
fd3742248d Add configurations for current linux versions 2008-08-23 20:25:29 +00:00
Peter Korsgaard
644b251f62 u-boot: bump version 2008-08-20 20:04:18 +00:00
Peter Korsgaard
b4aeef0f1c u-boot: fix broken insert_define in Makefile
Patch by Markus Heidelberg <markus.heidelberg@web.de>
2008-08-20 20:04:14 +00:00
Peter Korsgaard
b7a45746a4 u-boot: fix wrong syntax in Makefile
Patch by Markus Heidelberg <markus.heidelberg@web.de>

Some $(call insert_define, ..., ...) calls were lacking the comma after
the variable. That didn't lead to a syntax error but it didn't have any
effect on the output u-boot/include/config.h
2008-08-20 20:04:11 +00:00
Peter Korsgaard
0fa75a11ee target/device: enable uclibc globbing support
Enable UCLIBC_HAS_GNU_GLOB like in the generic config for target specific
uclibc configs. Fixes globbing issue reported on the uclibc list.
2008-08-14 06:52:15 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
38e12fd263 linux-advanced: add linux26-force like in the simple linux makefile
Patch by Brian Beattie.
2008-07-13 06:32:58 +00:00
Ulf Samuelsson
04a4d946fc Do not use a localversion of kernel, to allow modules to be installed in the correct directory 2008-07-10 16:12:36 +00:00
Ulf Samuelsson
42b7d4bf56 Add AVR32 patches for 2.6.25.10 2008-07-10 15:15:52 +00:00
Ulf Samuelsson
e49a025f4b Fix comments regarding latest stable kernel 2008-07-10 15:14:17 +00:00
Ulf Samuelsson
2e350eb011 Update 'latest' kernel info 2008-07-10 14:58:04 +00:00