aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* toolchain/gcc: block unsupported CPUs according to versionGustavo Zacarias2012-05-191-7/+0
| | | | | | | | Block unsupported processors according to gcc version. Also remove the comments since we now hide them according to this. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/arch: x86/prescott doesn't define BR2_ARCH, fix itGustavo Zacarias2012-05-091-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* blackfin: adjust available ABIsThomas Petazzoni2012-05-091-5/+2
| | | | | | | | | | | | | | | | | | | The FLAT (Separate Data) and FLAT Shared ABIs are rarely used, and the FLAT Shared ABI requires the user to manually assign an unique ID to each shared library, which we will never support in Buildroot. Therefore, restrict ourselves to FLAT and FDPIC. In addition to this, ensure that when FLAT is selected, only static libraries are produced, because this is what FLAT supports. It will fix problems such as http://autobuild.buildroot.org/results/2d756d75162e8737e99df8189bde93ed1a09feef/build-end.log. Moreover, we make FDPIC the default ABI, since if someone is using Buildroot, it's most likely to generate a fairly elaborate embedded Linux system, on which shared libraries are probably useful. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: fix BR2_GCC_TARGET_ABI for MIPS n64Kevin Cernekee2012-05-031-1/+1
| | | | | | | | | | | | | gcc 4.3/4.4/4.5 accept the following arguments for --with-abi= "" | 32 | o64 | n32 | 64 | eabi) So, the "n64" argument coming from buildroot should be changed to "64" so that gcc's ./configure step does not error out. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox 1.20.x: add if-post-up.d and if-pre-down.d to device tableGustavo Zacarias2012-04-291-0/+2
| | | | | | | | | Busybox 1.20.0 add functionality to execute scripts from if-post-up.d and if-pre-down.d, so add the missing directories to the device table to get them created and avoid unnecessary warnings if not. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/: mark Xtensa architecture support as deprecatedPeter Korsgaard2012-04-251-0/+1
| | | | | | | Hasn't been updated since it was added in 2009, and requires quite some special handling in BR. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/gcc: add 4.7.x seriesGustavo Zacarias2012-04-151-0/+1
| | | | | | | | Add gcc 4.7.0 to the toolchain options. [Peter: drop 0001-toolchain-gcc-add-4.7.x-series.txt] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in.arch: add help and less cryptic names to architecture menuAlvaro G. M2012-03-201-13/+99
| | | | | | | [Peter: fixup s/big-endian/big endian/ as pointed out by Thomas] Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Config.in.arch: Fix microblaze-be double quote issuePeter Korsgaard2012-03-181-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Microblaze: added architecture support for both big endian and low endianAlvaro G. M2012-03-181-2/+13
| | | | | | | | Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Tested-by: Stephan Hoffmann <sho@relinux.de> Tested Microblaze LE on a clean install Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sh: Add additional ttySCsPhil Edworthy2012-03-111-1/+1
| | | | | | | There are a couple of Renesas SH devices with 8 serial ports used. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add the Atom processor in the list of supported x86/x86_64 processorsThomas Petazzoni2012-03-011-0/+12
| | | | | | | This allows to easily select the corresponding Atom multilib variant in the Sourcery CodeBench toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add x86_64 variants to BR2_GCC_TARGET_ARCHThomas Petazzoni2012-03-011-0/+5
| | | | | | | | | With the Sourcery CodeBench IA32/AMD64 toolchain, the proper -march= switch must be passed. So, on x86_64, we make sure that BR2_GCC_TARGET_ARCH gets defined to the correct value, just as we do on x86. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: bump to 181 and other fixesYegor Yefremov2012-02-081-0/+5
| | | | | | | | | | | | | | | | | | | Changes: - Linux kernel requirement: 2.6.34 and above (devtmpfs is mandatory) (this also applies to the chosen toolchain, because of Kernel headers) - optional dependency on libusb and usbutils removed - added dependency on kmod - added dependency on util-linux for libblkid - install in /lib/udev instead of /usr/libexec/udev - udevd moved to /lib/udev - fixed path to pci.ids and usb.ids - persistent rules generator is disabled by default, so option is introduced to enable this option if desired [Peter: fix build on uClibc, Config.in tweaks] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Migrate Xenomai to the new infrastructureMaxime Ripard2012-02-011-5/+0
| | | | | | | | | | Xenomai used to have commented out devices to be created in the device table that the user had to uncomment. Use the new infrastructure to do just that. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Convert busybox to the device declaration methodMaxime Ripard2012-02-011-2/+0
| | | | | | | | | | | Busybox used to declare and create files even if the package was not enabled through the device table. Remove the entries for busybox in the device table and move them to the package declaration. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: add powerpc SPE ABI supportGustavo Zacarias2012-01-071-1/+20
| | | | | | | | | | | | | | | | | Add the ability for buildroot to build an SPE ABI enabled toolchain. This is mandatory for e500v1/v2 cores since they don't support classic FPU mode as the e500mc does. Useful for Freescale's PowerQUICC III and single/dual-core QorIQ line of processors. The new TARGET_ABI variable is used rather than TARGET_CFLAGS for uclibc's UCLIBC_EXTRA_CFLAGS to avoid breakish CFLAGS leaking in, a good example being -mthumb for ARM. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add xenomai real-time Framework to buildrootThomas De Schampheleire2011-09-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Fixes by Thomas, including comments from Arnout: * Use AUTOTARGETS instead of GENTARGETS * Use $(KERNEL_ARCH) instead of $(BR2_ARCH) as argument to the prepare-kernel.sh script. This allows the arch name to be fixed with the usual sed expressions and the quotes to be stripped. * Add the --verbose option to prepare-kernel.sh. This allows to get some clear error message when no Xenomai patch has been found for the current kernel version. * Improve the help texts as suggested by Arnout, and remove the now useless README file. * Add a BR2_PACKAGE_XENOMAI_SMP option, instead of poking inside the kernel configuration to find out whether SMP is enabled or not. This cannot work because: 1) the kernel might be built outside of Buildroot and 2) if the kernel is built inside Buildroot, it is built *after* Xenomai, so the kernel configuration file is typically not yet present. * Simplify the ARM subarchitecture selection as suggested by Arnout. * Remove the documentation and development files according to Buildroot standards (using BR2_HAVE_DOCUMENTATION and BR2_HAVE_DEVFILES). * Simplify the /etc/ld.so.conf modification logic. ] [Peter: whitespace fixes] Signed-off-by: Benoit Mauduit <benoit.mauduit@openwide.fr> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: drop BR2_PROGRAM_INVOCATION optionPeter Korsgaard2011-07-272-2/+2
| | | | | | | | | | | | Remove the BR option and enable the configuration setting in the uClibc defconfigs. The BR2_PROGRAM_INVOCATION option only adds very little overhead to uClibc, and we have a number of packages needing it, so simply always enable it - Simplifying the kconfig logic and the number of choices users have to make. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* System config: split static-dev device table setting into seperate optionPeter Korsgaard2011-07-251-8/+15
| | | | | | | | | | | | | As discussed here: http://lists.busybox.net/pipermail/buildroot/2011-May/043251.html Add BR2_ROOTFS_STATIC_DEVICE_TABLE for the extra device table file(s) to create device nodes in /dev, rather than complicated logic in BR2_ROOTFS_DEVICE_TABLE, making it complicated to move between static and dynamic modes. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sh: Fix Buildroot sh targets to match gnuconfig targetsPhil Edworthy2011-07-181-13/+19
| | | | | | | | | | | | | | sh2eb and sh2a_nofpueb gnuconfig targets are no longer supported in Buildroot. This patch replaces these Buildroot targets with sh2 and sh2a respectively, and adds sh4a targets as these are widely used. To build for devices without an fpu, the relevant toolchain flags will have to be specified. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/skeleton: allow rootfs not to be remounted read-writeLuca Ceresoli2011-07-102-0/+24
| | | | | | | [Peter: prefix option with TARGET_GENERIC_] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* BR2_ARCH definition was missing for 32-bit AMD architecture variants.Arnout Vandecappelle (Essensium - Mind)2011-07-071-0/+7
| | | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: default to i586 for x86Peter Korsgaard2011-07-051-1/+1
| | | | | | | | The i586 was introduced almost 20 years ago, and some software (NPTL, libstdc++, ..) doesn't work nicely with i386 anymore, so it is time to move on. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Move rootfs content options under system configurationPeter Korsgaard2011-05-121-0/+75
| | | | | | | | | Instead of the current mix between system config and filesystem menus. At the same time rename 'Target filesystem options' menu to 'Filesystem images' as it now only contains options about image formats. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/generic: only show getty port option if default skeleton is usedPeter Korsgaard2011-05-122-7/+4
| | | | | | | | The special marker in etc/inittab might not be present with a custom skeleton. At the same time make the option always active, remove the hardcoded tty1/tty2 gettys and reword the option description slightly. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Allow several device tables and split in two parts our device tableThomas Petazzoni2011-05-092-176/+154
| | | | | | | | | | | | | | This allows to have a device table for all directories/files and another device table for the device files themselves. Both are needed for static /dev, but only the first one is needed when devtmpfs/mdev/udev are used. We take this opportunity to move the documentation of the device table format in a common location, package/makedevs/README. [Peter: simplify code slightly, fix indentation] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add Renesas ttySC* devicesPhil Edworthy2011-04-261-0/+1
| | | | | Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target-generic-hostname: add /etc/hosts entry as wellPeter Korsgaard2011-04-221-0/+2
| | | | | | | Some applications (like proftpd) tries to resolve hostname at startup, so add it to /etc/hosts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initial support for Blackfin processorsMike Frysinger2011-02-071-1/+18
| | | | | | | [Peter: don't allow MMU on bfin] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target/generic: add /dev/ttyAM* device nodesH Hartley Sweeten2011-01-111-0/+1
| | | | | | | Add ttyAM support for the ARM AMBA serial ports on the Cirrus EP93xx. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS optionGustavo Zacarias2010-12-291-1/+0
| | | | | | | | | It's really not very useful, all it does is install a target strace and ldd in a target_utils directory in staging. While at it clean up the strace makefile a bit. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xtensa: remove unused and useless skeleton patchThomas Petazzoni2010-12-171-45/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Free text field for serial port configurationYegor Yefremov2010-12-161-116/+4
| | | | | | | | | BR2_TARGET_GENERIC_GETTY_PORT has now a string type instead of choice. This makes port configuration flexible and compact. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove the few remaining unused Atmel-specific bitsThomas Petazzoni2010-12-1674-45111/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: remove Valka v100sc2Thomas Petazzoni2010-12-1659-4592/+0
| | | | | | | | This default configuration did not even build a kernel image, which is the main point of having board default configuration. So remove it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: remove atstk1005_defconfigThomas Petazzoni2010-12-1661-8406/+0
| | | | | | | | | Neither the kernel nor U-Boot have support for a 1005 board, so let's get rid of this board configuration, the corresponding target skeleton, kernel and busybox configuration and device table. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: update and minimize atstk100x_defconfigThomas Petazzoni2010-12-1662-8027/+0
| | | | | | | | | Use recent U-Boot and kernel version, remove target skeleton and use the default one instead, remove useless kernel configuration, busybox configuration and device table. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: remove support for at91sam9260pfThomas Petazzoni2010-12-163-2521/+0
| | | | | | | | | | | | | | | It was supposed to be the support for AT91SAM9260 using a parallel flash (instead of the usual dataflash). But the provided U-Boot configuration at91sam9260pf.h was not used anywhere, and it was unsufficient to add correct support in U-Boot (some changes in U-Boot Makefile would also be needed). Additionnally, this configuration has not been merged into U-Boot upstream since 2007 (when it was added to Buildroot). Therefore, let's get rid of this configuration. If some users are interested, we can re-introduce it properly with their help. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: update and minify at91sam9260dfc_defconfigThomas Petazzoni2010-12-161-1640/+0
| | | | | | | | Use recent U-Boot and kernel versions, remove useless kernel configuration file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: update and minify at91rm9200df_defconfigThomas Petazzoni2010-12-161-1570/+0
| | | | | | | | Use recent U-Boot and kernel versions, remove useless kernel configuration file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: simplify kb9202 boardThomas Petazzoni2010-12-1641-2822/+0
| | | | | | | | | | | | | Minimize the board defconfig, remove custom busybox configuration, custom kernel configuration (use the kernel defconfig instead), custom device table and target skeleton. The only difference in the target skeleton was the support of mdev and the usage of an automount script. Instead of adding this in a board-specific way, we should provide board-independent configuration options. There are already patches contributed to add support for mdev. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: simplify atngw100 supportThomas Petazzoni2010-12-16106-14518/+0
| | | | | | | | | | | | | | | | 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>
* board: remove i386/i686_defconfigThomas Petazzoni2010-12-162-4269/+0
| | | | | | | | | | | | | | | | | | 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>
* Remove useless kernel config files for integrator926Thomas Petazzoni2010-12-162-2457/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* board: update and minify at91sam9g20dfc_defconfigThomas Petazzoni2010-12-161-1650/+0
| | | | | | | | 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>
* board: update and minify at91sam9261ek_defconfigThomas Petazzoni2010-12-161-1432/+0
| | | | | | | | 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>
* board: update and minify at91sam9263ek_defconfigThomas Petazzoni2010-12-161-1440/+0
| | | | | | | | | 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>
* Re-add target/generic/Config.in options to menuconfigThomas Petazzoni2010-12-161-2/+2
| | | | | | | | 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>
* Remove crazy set of empty directoriesThomas Petazzoni2010-12-1612-0/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>