summaryrefslogtreecommitdiff
path: root/target
AgeCommit message (Collapse)Author
2010-12-16board: simplify atngw100 supportThomas Petazzoni
Minimize atngw100_defconfig, remove atngw100-base_defconfig, and remove the target skeleton and device table. Instead of having complete copies of new target skeletons (making them hard to maintain), we should just have a post-build script that adds/removes/tweaks the existing target skeleton. Moreover, most of the tweaks in this target skeleton were for specific packages, but the policy now is that board defconfig should just build a basic root filesystem with Busybox, and let the user select whichever set of packages (s)he wants. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16board: remove i386/i686_defconfigThomas Petazzoni
Those are not associated with any specific hardware system (PC or another i386 system). Moreover, the fact that those configurations require the build of a JFFS2 filesystem, very uncommon on PC systems, seems to indicate that those configurations are not really being used today. It would make more sense to have a qemu_i388_defconfig (building a kernel with just the device drivers for Qemu) and possibly a pc_i386_defconfig (building a kernel with many device drivers, and a bootloader such as Grub or Grub 2). We also remove the corresponding kernel configuration files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Remove useless kernel config files for integrator926Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16board: update and minify at91sam9g20dfc_defconfigThomas Petazzoni
Use modern U-Boot and kernel versions, get rid of the now unused kernel configuration file since we use the kernel defconfig instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16board: update and minify at91sam9261ek_defconfigThomas Petazzoni
Use modern U-Boot and kernel versions, and get rid of the useless kernel configuration file, since we now use the kernel defconfig. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16board: update and minify at91sam9263ek_defconfigThomas Petazzoni
Use modern kernel and U-Boot versions, and get rid of the now useless kernel configuration file since we use the kernel defconfig file instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Re-add target/generic/Config.in options to menuconfigThomas Petazzoni
The options to customize the hostname, the banner and the serial port configuration are now inside a menu named 'System configuration'. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Remove crazy set of empty directoriesThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Remove Busybox skeleton from target/device/AtmelThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Remove all Config.in/Makefile.in files in target/deviceThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16Stop referencing the crazy target/device stuffThomas Petazzoni
We don't need Config.in and Makefile in target/device: defconfig files are sufficient to describe the specificities of a board (architecture, compilation flags, bootloader and kernel details, etc.). However, a placeholder such as target/device will be kept in order to host things such as kernel configuration files or various board-specific patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-15Remove mini device table, it isn't usedThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-15Move Config.in.mirrors out of target/deviceThomas Petazzoni
Having Config.in.mirrors (which also to select various download sites) inside target/device sounds strange. This commit moves the contents of Config.in.mirrors directly into the main Config.in file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-15Remove useless target/device/mipsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-15Remove completely useless set of Makefiles specific to AtmelThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-15Remove unused Atmel-specific mirror definitionsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-14target: support generic getty with sysvinit inittabsThomas Petazzoni
In sysvinit inittab the "id" field (first field) must be no longer than 4 bytes, and is not used by init to determine the output terminal. Therefore, we adjust the strategy used to modify the inittab file according to the getty configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-29toolchain targets: fix up c3 and winchip i386 variants, add c3-2Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-25toolchain: LEON SPARC only works with gcc-4.4.xGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-25Cconfig: Add sparc-leon processors, remove deprecated v9 Sparc type.Konrad Eisele
Add the Sparc processor variants hfleon (fpu,v9), hfleonv8 (fpu,v8), sfleon (softfpu,v7) sfleonv8 (softfpu,v8) and tweak the existing ones. Signed-off-by: Konrad Eisele <konrad@gaisler.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30skeleton: fix atstk1005, ststk100x and atngw100 for POSIX complianceYann E. MORIN
Using two '=' for string comparison is a bashism. Revert to using one, as stated in POSIX 1003.1-2008. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30Merge branch 'for-2010.11/remove-deprecated-arch' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2010-09-12Config.in.arch: ARM cortex A9 supportPeter Korsgaard
Based on patch by falls huang. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-31Remove architectures marked as deprecatedThomas Petazzoni
The Alpha, CRIS, IA64 and Sparc64 architectures have been marked as deprecated during the previous release cycle. They are not widely used in embedded systems and/or no longer supported by their manufacturers and/or not properly supported in Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-08-11Mark CRIS architecture as deprecatedThomas Petazzoni
The CRIS architecture support in Buildroot hasn't been updated since a long time. Even a toolchain with recent kernel headers does not build due to missing patches. Moreover, the CRIS architecture has been discontinued by Axis, as visible at http://www.axis.com/products/dev/index.htm. We will remove it from Buildroot at the next release cycle. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-28toolchain: remove multilibThomas Petazzoni
Supporting multilib is much more than just passing --enable-multilib to gcc. You have to actually build the C library several times (once for each multilib variant you want to support in your toolchain), and to pass MULTILIB_OPTIONS/MULTILIB_EXCEPTIONS values to gcc to let it know the set of multilib variants you're interested in. Since we'll probably never support multilib toolchains in Buildroot, just get rid of this BR2_ENABLE_MULTILIB option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-27Deprecate the Alpha, IA64 and Sparc64 supportThomas Petazzoni
Those architectures don't exist anymore (Alpha, IA64) or aren't widely used for embedded systems running Linux. Moreover, no clear Buildroot maintainer has stepped in to maintain these architectures, so it's better to not pretend that we support them. The goal is to mark them as deprecated in 2010.08 and remove them in 2010.11. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-27Create <tuple>/lib -> <sysroot>/lib symlink before installing cross gccThomas Petazzoni
This commit solves bug #1051. The problem in this bug in that WebKit compiles a sample C program, which uses WebKit. As WebKit is written in C++, even though the program it built with CROSS-gcc, it must be linked with libstdc++. However, CROSS-gcc can't find the libstdc++ has it's hidden inside <sysroot>/<tuple>/lib. Therefore, this commit creates a symbolic link <sysroot>/<tuple>/lib -> <sysroot>/lib before running the CROSS-gcc installation. While this may look like a hack, this is the solution used by both Crosstool-NG and OpenWRT. Moreover, with this symbolic link in place, I think bug #1741 may also be solved. The problem in this bug is that the linker tries to link against /lib/libc.so.0. This is due to the fact that the linker finds a libc.so script file in the original toolchain location and not inside the copy of the toolchain sysroot in $(STAGING_DIR). As the script file is found outside of the current toolchain sysroot, ld considers the script has non-sysrooted, and therefore doesn't prefix all paths found in the script file (such as /lib/libc.so.0) with the sysroot path, leading to the failure. So, in details, this commit : * Adds a BR2_ARCH_IS_64 invisible config knob that is used to know if the arch is a 64 bits architecture or not. * Creates the <sysroot>/<tuple>/lib -> <sysroot>/lib symbolic link, and the <sysroot>/<tuple>/lib64 -> <sysroot>/lib64 symbolic link if needed. * Fixes the external toolchain sysroot detection code so that the 'sed' replacement is done *after* the readlink -f evaluation. I have tested this by building ARM, x86 and x86_64 toolchains with Buildroot, and then use these toolchains as external toolchains to build a full X.org/Gtk/WebKit/Midori stack. I have also done a complete ARM Buildroot internal toolchain build with the same full X.org/Gtk/WebKit/Midori stack. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18move default skeleton to fs/ and drop busybox skeletonDmytro Milinevskyy
[Peter: fixup patch, adjust for busybox.mk changes] Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18Atmel/atstk100*: make /etc/mtab a symlink to /proc/mountsPeter Korsgaard
Closes #2233 To match the other skeletons. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23target/device: misc cleanupPeter Korsgaard
Remove outdated and/or unused variables/files. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-23integrator926: use standard uclibc configPeter Korsgaard
I don't see any reason to use a custom config here. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-22Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
Conflicts: target/Makefile.in
2010-06-22Remove now unused Config.in for kernel selectionThomas Petazzoni
It's now linux/Config.in that allows to configure the kernel configuration/compilation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22Remove old Linux infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-22target: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTOPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-21Config.in.mirrors: Use sources.buildroot.net as default backup sitePeter Korsgaard
The buildroot/busybox/uClibc VM is running low on disk space, and we've been asked to move the source mirrors off-site. A redirect has been setup between the old buildroot.net/downloads/sources/ and sources.buildroot.net, so old .configs continue to work, but we might as well use the official one now. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-13linux: fix dependency on mkimageThomas Petazzoni
After the rework of the U-Boot configuration/compilation process, we need to slightly rework how target/linux/Makefile.in.advanced depends on mkimage on the host to produce an uImage. target/linux/Makefile.in doesn't need to be fixed as it just doesn't handle this dependency for the moment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10u-boot: remove arch specific patches infrastructureThomas Petazzoni
A very complicated infrastructure for just a special case, for an ancient version of U-Boot. Recent versions of U-Boot are reported to work just fine on Atmel ARM evaluation boards. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10bootloaders: move bootloader build code to boot/Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-09skeleton: remove loopback interface configuration from inittabBaruch Siach
The lo interface is marked auto in /etc/network/interfaces, so the configuration of the loopback network interface is part of the S40network init script. This causes the "RTNETLINK answers: File exists" error message to appear at startup time. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-08Set correct GCC tune option for ARM926T(==ARM926EJ-S) coreJulien Boibessot
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-28linux: zImage target no longer available on x86Peter Korsgaard
The legacy zImage target for x86 was removed from the kernel in 2.6.30, and we state in Config.in that we'll use bzImage if BR2_PACKAGE_LINUX_FORMAT isn't set, so ensure we do so for x86. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26busybox skeleton: allow logins from ttymxc[0-2]Baruch Siach
Add ttymxc[0-2] to the list is the /etc/securetty of the Busybox skeleton. This is useful for serial logins on i.MX based systems. The same serial devices already appear in the generic "target_skeleton/". Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-21Makefile: move filesystem stuff after u-boot build againPeter Korsgaard
Otherwise u-boot tools / kernel modules are only added to target AFTER the filesystems are built. Long term u-boot/kernel stuff should get splitted from target/device, but this is the safest solution for now. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16target/linux: bump 2.6.32 and 2.6.33 versionsH Hartley Sweeten
New versions of the 2.6.32 and 2.6.33 kernel were released today and it is suggested that all users should upgrade. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03target/generic: inittab: fix devpts mounts when devtmpfs is usedPeter Korsgaard
If devtmpfs (the kernel-maintained /dev filesystem) is used, no /dev/pts directory is created, causing the devpts mount to fail, which in term causes stuff like dropbear to fail. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03Remove last users of the ROOTFS_SUFFIX thingThomas Petazzoni
The ROOTFS_SUFFIX thing has been removed in 325bfd1cbae03fe286796d3fa7de7c0a3227f7a5, so get rid of the last users. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03Get rid of KERNEL_CROSSThomas Petazzoni
In both internal and external toolchain cases, KERNEL_CROSS was defined to *exactly* the same value as TARGET_CROSS. It isn't modified anywhere, and is just used by kernel compilation and pcmcia compilation. Therefore, get rid of KERNEL_CROSS and use TARGET_CROSS instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01linux-advanced: Fix Kernel EXTRAVERSION for BR2_LINUX26_CUSTOMserj.kalichev
Closes #1267 Signed-off-by: serj.kalichev <serj.kalichev@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>