File tree Expand file tree Collapse file tree 5 files changed +26
-6
lines changed Expand file tree Collapse file tree 5 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-aux/Config.in"
55source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-qcow/Config.in"
66source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-gns3a/Config.in"
77source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-itb-rauc/Config.in"
8+ source "$BR2_EXTERNAL_INFIX_PATH/board/common/image/image-readme/Config.in"
89
910endmenu
1011
Original file line number Diff line number Diff line change 1+ config IMAGE_README
2+ bool "Install README.md in images"
3+ default y
4+ help
5+ Install a README.md with useful information about getting
6+ started with Infix in the images directory (thereby also
7+ including it in the resulting release tarball).
File renamed without changes.
Original file line number Diff line number Diff line change 1+ # ###############################################################################
2+ #
3+ # image-readme
4+ #
5+ # ###############################################################################
6+
7+ IMAGE_README_DIR := $(pkgdir )
8+
9+ image-readme : $(BINARIES_DIR ) /README.md
10+
11+ $(BINARIES_DIR ) /README.md : $(IMAGE_README_DIR ) /README.md
12+ @$(call IXMSG,"Installing README.md")
13+ @mkdir -p $(BINARIES_DIR )
14+ @cp $< $@
15+
16+ ifeq ($(IMAGE_README ) ,y)
17+ TARGETS_ROOTFS += image-readme
18+ endif
Original file line number Diff line number Diff line change 11#! /bin/sh
2-
3- # Only for regular builds, not bootloader-only builds
4- if [ " $BR2_TARGET_ROOTFS_SQUASHFS " = " y" ]; then
5- # Quick intro for beginners, with links to more information
6- cp " $BR2_EXTERNAL_INFIX_PATH /board/common/README.txt" " $BINARIES_DIR /"
7- fi
You can’t perform that action at this time.
0 commit comments