Changeset 5b586b9 in mainline for boot/meson.build
- Timestamp:
- 2019-08-17T12:49:43Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a73a1453
- Parents:
- 98975a8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-28 17:03:11)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/meson.build
r98975a8 r5b586b9 1 1 subdir('arch' / BARCH) 2 3 if POSTBUILD == 'uimage' 4 boot_image_format = 'binary' 5 endif 2 6 3 7 if BUILD … … 137 141 if boot_image_format == 'binary' 138 142 # Some platforms can't ELF. 139 boot_image = custom_target(boot_image_name ,143 boot_image = custom_target(boot_image_name + '.bin', 140 144 input: boot_elf, 141 output: boot_image_name ,145 output: boot_image_name + '.bin', 142 146 command: [ objcopy, '-O', 'binary', '@INPUT@', '@OUTPUT@' ], 143 147 ) … … 154 158 155 159 if POSTBUILD == 'uboot' 156 # TODO 157 error('unfinished') 160 IMAGE_NAME = 'HelenOS-' + HELENOS_RELEASE 161 162 POST_INPUT = custom_target('uboot-image', 163 output: 'uboot-image.bin', 164 input: boot_image, 165 command: [ 166 mkuimage, 167 '-name', IMAGE_NAME, 168 '-laddr', LADDR, 169 '-saddr', SADDR, 170 '-ostype', UIMAGE_OS, 171 '@INPUT@', 172 '@OUTPUT@', 173 ], 174 ) 158 175 endif 159 176
Note:
See TracChangeset
for help on using the changeset viewer.