summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Remove Busybox skeleton from target/device/AtmelThomas Petazzoni2010-12-1622-881/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove all Config.in/Makefile.in files in target/deviceThomas Petazzoni2010-12-1628-859/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Stop referencing the crazy target/device stuffThomas Petazzoni2010-12-161-3/+0
| | | | | | | | | | | | | 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>
* Remove mini device table, it isn't usedThomas Petazzoni2010-12-151-176/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Move Config.in.mirrors out of target/deviceThomas Petazzoni2010-12-151-68/+0
| | | | | | | | | 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>
* Remove useless target/device/mipsThomas Petazzoni2010-12-151-4/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove completely useless set of Makefiles specific to AtmelThomas Petazzoni2010-12-155-13/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove unused Atmel-specific mirror definitionsThomas Petazzoni2010-12-152-30/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: support generic getty with sysvinit inittabsThomas Petazzoni2010-12-141-2/+12
| | | | | | | | | | 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>
* toolchain targets: fix up c3 and winchip i386 variants, add c3-2Gustavo Zacarias2010-11-291-3/+11
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: LEON SPARC only works with gcc-4.4.xGustavo Zacarias2010-11-251-0/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Cconfig: Add sparc-leon processors, remove deprecated v9 Sparc type.Konrad Eisele2010-11-251-12/+19
| | | | | | | | 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>
* skeleton: fix atstk1005, ststk100x and atngw100 for POSIX complianceYann E. MORIN2010-09-303-9/+9
| | | | | | | | 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>