summaryrefslogtreecommitdiff
path: root/misc/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-05-30 20:37:50 +1000
committerChris Johns <chrisj@rtems.org>2019-06-12 09:49:00 +1000
commit98f2f02f1293daccfa6a2d464ce0d2591a3b4d0b (patch)
treee0e35516339b18552a9fc1e7e6895024e6863381 /misc/wscript
parent757578d3ab6da61a917d39842b48d21e874bd1e2 (diff)
misc/boot-image: Add a tool to create boot images.
- FreeBSD support. - MacOS support. - Linux support. - Support for 1st and 2nd loaders. - Support uenv templates and uenv.txt support.
Diffstat (limited to '')
-rw-r--r--misc/wscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/wscript b/misc/wscript
index cd31091..f83c74b 100644
--- a/misc/wscript
+++ b/misc/wscript
@@ -70,5 +70,19 @@ def build(bld):
cflags = conf['cflags'] + conf['warningflags'],
linkflags = conf['linkflags'])
+ #
+ # Install the boot image code.
+ #
+ bld(features = 'py',
+ source = ['tools/boot.py',
+ 'tools/cmd-boot-image.py'],
+ install_from = '.',
+ install_path = '${PREFIX}/share/rtems/misc')
+ bld.install_files('${PREFIX}/bin',
+ ['rtems-boot-image'],
+ chmod = 0o755)
+ bld.install_files('${PREFIX}/share/rtems/tools/config',
+ 'tools/config/rtems-boot.ini')
+
def tags(ctx):
ctx.exec_command('etags $(find . -name \*.[sSch])', shell = True)