diff options
author | Matthew Leach <Matthew.Leach@arm.com> | 2014-01-23 17:29:26 +0000 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2014-03-12 11:15:25 +0000 |
commit | bae4ae6a834cd15bf50f0ddc9a7331d8b0ac7168 (patch) | |
tree | ede44c057db9d447028725f6a8e1ba08abe3ca60 /.gitignore | |
parent | 20db29f89a11c023634ccaab152941a6afdf2d52 (diff) |
Add autotools configuration.
This patch adds a basic auto-tools configuration environment for the
bootwrapper consisting of the configure.ac file and the Makefile.am
file.
The configure.ac file includes several options and checks:
- Ensure that an AArch64 compiler is used.
- Add the mandatory --with-kernel-dir option that sets KERN_DIR.
- Check that the correct base dtb file exists in KERN_DIR.
- Add an option, --with-initrd, that allows a user to specify an
initrd file to embed in the image.
- Check for a working dtc and set DTC to the full-path to the
executable.
- Create the necessary symbolic links to the relevant kernel files.
The Makefile.am file includes several changes:
- Use a prebuilt dtb rather than a dts, which is decompiled to inject
the chosen node.
- Use the configured compiler tool names.
- Use the configured SED program rather than assuming it is in PATH.
Signed-off-by: Matthew Leach <matthew.leach@arm.com>
[Mark: use dtb, add options, fix style issues, remove src/]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -3,6 +3,19 @@ *.dts *.dtsi *.o -Image +aclocal.m4 +autom4te.cache/ +config.guess +config.log +config.status +config.sub +configure dtc +fdt.dtb +Image +install-sh +Makefile +Makefile.in +missing model.lds +patches/ |