Changeset 3e828ea in mainline for tools/mkarray_for_meson.sh
- Timestamp:
- 2019-09-23T12:49:29Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9be2358
- Parents:
- 9259d20 (diff), 1a4ec93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
- File:
-
- 1 moved
-
tools/mkarray_for_meson.sh (moved) (moved from boot/Makefile.uboot ) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tools/mkarray_for_meson.sh
-
Property mode
changed from
100644to100755
r9259d20 r3e828ea 1 #!/bin/sh 2 1 3 # 2 # Copyright (c) 201 0 Jiri Svoboda4 # Copyright (c) 2019 Jiří Zárevúcky 3 5 # All rights reserved. 4 6 # … … 27 29 # 28 30 29 .PHONY: all clean 31 TOOLS_DIR=`which -- "$0" 2>/dev/null` 32 if [ -z "$TOOLS_DIR" ]; then 33 TOOLS_DIR=`which -- "$BASH_SOURCE" 2>/dev/null` 34 fi 35 TOOLS_DIR=`dirname $TOOLS_DIR` 36 TOOLS_DIR=`cd $TOOLS_DIR && echo $PWD` 30 37 31 include Makefile.common32 38 33 IMAGE_NAME = HelenOS-$(RELEASE) 34 BIN_OUTPUT = image.bin 39 _outdir="$1" 40 _arg1="$2" 41 _arg2="$3" 42 _arg3="$4" 43 _arg4="$5" 44 _inputs="" 35 45 36 all: $(POST_OUTPUT) 46 shift 5 37 47 38 $(BIN_OUTPUT): $(BOOT_OUTPUT) 39 $(OBJCOPY) -O binary $< $@ 48 for file in "$@"; do 49 _inputs="$_inputs $PWD/${file}" 50 done 40 51 41 $(POST_OUTPUT): $(BIN_OUTPUT) 42 $(MKUIMAGE) -name "$(IMAGE_NAME)" -laddr $(LADDR) -saddr $(SADDR) -ostype $(UIMAGE_OS) $< $@ 43 44 clean: 45 rm -f $(BIN_OUTPUT) 52 cd $_outdir 53 $TOOLS_DIR/mkarray.py "$_arg1" "$_arg2" "$_arg3" "$_arg4" $_inputs > /dev/null -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
