summaryrefslogtreecommitdiff
path: root/target
AgeCommit message (Collapse)Author
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>
2010-04-21Add support to linux 2.6.30 kernel patches for Atmel arm in menuconfig.Josh.Wu
Signed-off-by: Josh.Wu <josh.wu@atmel.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20target: really remove the target/*/*.mk includePeter Korsgaard
Commit 5faae4869027 claimed to do this, but it didn't - Causing make to error out. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20Repair initramfs dependancies after move to fsWill Wagner
The restructure for building root filesystems changed the target name for the initramfs file, to build the file the trget is now initramfs-root but the generated file is rootfs.initramfs Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19makedevs: move to package/Thomas Petazzoni
Since target/ doesn't contain any .mk file in subdirectories, also remove the include in target/Makefile.in.
2010-04-17Update defconfigs to include BR2_ROOTFS_DEVICE_TABLE definitionThomas Petazzoni
We only bother updating the defconfigs that need a non-default BR2_ROOTFS_DEVICE_TABLE value. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-17Remove all TARGET_DEVICE_TABLE definitionsThomas Petazzoni
We have a special case for Xtensa, which was patching the generic device_table.txt. Instead of doing this, we just keep a copy of the device table, specific to Xtensa, with Xtensa specifities. The fact that the patch wasn't applying anymore on the generic device table is a sign that the existing approach wasn't working anyway. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12Get rid of all usages of BR2_RECENTThomas Petazzoni
Since BR2_RECENT was enabled by default, we do not want entries marked BR2_RECENT (and thus appearing by default in Buildroot) to disappear. Therefore, all the entries marked BR2_RECENT are converted as non-deprecated. We can later decide, on a per-entry basis, to add BR2_DEPRECATED to some of them. But at least, this commit doesn't change the default current behaviour of Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11Update defconfigs after BR2_UPDATE_CONFIG removalThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-04-09Move all filesystem generation code to fs/Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09Remove IMAGE and related configuration optionsThomas Petazzoni
Now, we just hardcode the image filenames to be rootfs.$(FSTYPE), in the $(BINARIES_DIR). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09iso9660: rework in a similar way to ROOTFS_TARGETThomas Petazzoni
Unfortunately, it cannot use the ROOTFS_TARGET infrastructure, due to the specifities of the iso9660 build process. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09target/common: do not use IMAGEThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09initramfs: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09ubifs: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
We also remove the BR2_TARGET_ROOTFS_UBIFS_OUTPUT option, that could be used to specify an alternate name for the generated image file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09jffs2: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
We also remove the BR2_TARGET_ROOTFS_JFFS2_OUTPUT option, that could be used to specify an alternate name for the generated image file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09ext2: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
We also remove the BR2_TARGET_ROOTFS_EXT2_OUTPUT option, that could be used to specify an alternate name for the generated image file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09squashfs: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09tar: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09romfs: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09cramfs: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09cpio: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09cloop: convert to ROOTFS_TARGET infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09target: Add new infrastructure for filesystem generationThomas Petazzoni
In order to avoid code duplication between the different filesystem generation makefile, we introduce a ROOTFS_TARGET macro. Documentation for this macro is contained in the patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09target/: remove the COPYTO messThomas Petazzoni
There's no need to provide options to copy the filesystem image after the build. Just use 'cp' outside of Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>