Go to file
André Erdmann c95bf441a6 package/systemd: fix getty setup
When trying to run a buildroot system configured with
BR2_TARGET_GENERIC_GETTY_PORT="tty1" (x86_64), the boot process hangs
with the following message:
  "A start job is running for dev-tty1.device (<time> / 1min 30s)"

Replacing /etc/systemd/system/getty.target.wants/serial-getty@tty1.service
(linking to serial-getty@) with getty@tty1.service (-> getty@) fixes the issue.

This patch adds a check that "detects" the tty type by removing digits at the
end of BR2_TARGET_GENERIC_GETTY_PORT and comparing the resulting base name.
An instance of getty@service gets created if the name matches "tty",
otherwise serial-getty@ gets instantiated (as before).

So, tty1,tty2,... are created as links getty@tty1.service -> getty@,
while ttyS0, ttyAMA0, ... are created as instances of serial-getty@.

[Peter: simplify logic]
Signed-off-by: André Erdmann <dywi@mailerd.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-12 15:37:01 +02:00
arch arch: remove BR2_arm10t 2014-09-18 22:09:05 +02:00
board configs/qemu-sparc-ss10: enable tmpfs 2014-10-11 12:59:04 +02:00
boot grub2: modify kernel location to /boot/zImage 2014-10-11 14:55:20 +02:00
configs configs/qemu-sparc-ss10: enable tmpfs 2014-10-11 12:59:04 +02:00
docs docs/manual: document the asciidoc infra 2014-10-12 07:46:28 +02:00
fs .mk files: bulk aligment and whitespace cleanup of assignments 2014-10-07 15:00:28 +02:00
linux .mk files: bulk aligment and whitespace cleanup of assignments 2014-10-07 15:00:28 +02:00
package package/systemd: fix getty setup 2014-10-12 15:37:01 +02:00
support .mk files: bulk aligment and whitespace cleanup of assignments 2014-10-07 15:00:28 +02:00
system
toolchain toolchain: external 3.17 headers typo fix 2014-10-09 13:25:23 +02:00
.defconfig
.gitignore
CHANGES Update for 2014.08 2014-09-01 13:20:56 +02:00
Config.in BR2_DEPRECATED: update option label and help 2014-09-19 23:12:49 +02:00
Config.in.legacy package/linux-firmware: install Xceive/Cresta xc4000 and xc5000c 2014-09-21 21:15:03 +02:00
COPYING
Makefile Makefile: make help: remove <package>- help, add link to online manual 2014-10-12 12:37:56 +02:00
Makefile.legacy
README

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) Use your shiny new root filesystem. Depending on which sort of
    root filesystem you selected, you may want to loop mount it,
    chroot into it, nfs mount it on your target device, burn it
    to flash, or whatever is appropriate for your target system.

You do not need to be root to build or run buildroot.  Have fun!

Offline build:
==============

In order to do an offline-build (not connected to the net), fetch all
selected source by issuing a
$ make source

before you disconnect.
If your build-host is never connected, then you have to copy buildroot
and your toplevel .config to a machine that has an internet-connection
and issue "make source" there, then copy the content of your dl/ dir to
the build-host.

Building out-of-tree:
=====================

Buildroot supports building out of tree with a syntax similar
to the Linux kernel. To use it, add O=<directory> to the
make command line, E.G.:

$ make O=/tmp/build

And all the output files (including .config) will be located under /tmp/build.

More finegrained configuration:
===============================

You can specify a config-file for uClibc:
$ make UCLIBC_CONFIG_FILE=/my/uClibc.config

And you can specify a config-file for busybox:
$ make BUSYBOX_CONFIG_FILE=/my/busybox.config

To use a non-standard host-compiler (if you do not have 'gcc'),
make sure that the compiler is in your PATH and that the library paths are
setup properly, if your compiler is built dynamically:
$ make HOSTCC=gcc-4.3.orig HOSTCXX=gcc-4.3-mine

Depending on your configuration, there are some targets you can use to
use menuconfig of certain packages. This includes:
$ make HOSTCC=gcc-4.3 linux-menuconfig
$ make HOSTCC=gcc-4.3 uclibc-menuconfig
$ make HOSTCC=gcc-4.3 busybox-menuconfig

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org