mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 01:34:12 +00:00
keep binary versions of boot logo in repo
Signed-off-by: Thomas Watson <twatson52@icloud.com>
This commit is contained in:
parent
8c82a7cb92
commit
753f48e929
6 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y build-essential bash git locales gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler imagemagick \
|
RUN apt-get update && apt-get install -y build-essential bash git locales gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
||||||
ENV LANG en_US.utf8
|
ENV LANG en_US.utf8
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -186,10 +186,10 @@ update_cfg:
|
||||||
build/build_tag.h: update_tag
|
build/build_tag.h: update_tag
|
||||||
build/build_cfg.h: update_cfg
|
build/build_cfg.h: update_cfg
|
||||||
|
|
||||||
build/%.bin: data/%.png
|
build/%.bin: data/%.bin
|
||||||
@echo " IMG $@"
|
@echo " IMG $@"
|
||||||
@mkdir -p "$(dir $@)"
|
@mkdir -p "$(dir $@)"
|
||||||
@convert $< -background black -flatten -depth 8 rgba:$@
|
@cp $< $@
|
||||||
|
|
||||||
build/%.o: build/%.bin
|
build/%.o: build/%.bin
|
||||||
@echo " BIN $@"
|
@echo " BIN $@"
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
You need an `aarch64-linux-gnu-gcc` cross-compiler toolchain (or a native one, if running on ARM64).
|
You need an `aarch64-linux-gnu-gcc` cross-compiler toolchain (or a native one, if running on ARM64).
|
||||||
You also need `convert` (from ImageMagick) for the boot logos.
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ git clone --recursive https://github.com/AsahiLinux/m1n1.git
|
$ git clone --recursive https://github.com/AsahiLinux/m1n1.git
|
||||||
|
@ -21,7 +20,7 @@ Building on ARM64 macOS is supported with clang and LLVM; you need to use Homebr
|
||||||
install the required dependencies:
|
install the required dependencies:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ brew install llvm imagemagick
|
$ brew install llvm
|
||||||
```
|
```
|
||||||
|
|
||||||
After that, just type `make`.
|
After that, just type `make`.
|
||||||
|
|
BIN
data/bootlogo_128.bin
Normal file
BIN
data/bootlogo_128.bin
Normal file
Binary file not shown.
BIN
data/bootlogo_256.bin
Normal file
BIN
data/bootlogo_256.bin
Normal file
Binary file not shown.
2
data/makelogo.sh
Executable file
2
data/makelogo.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
convert bootlogo_128.png -background black -flatten -depth 8 rgba:bootlogo_128.bin
|
||||||
|
convert bootlogo_256.png -background black -flatten -depth 8 rgba:bootlogo_256.bin
|
Loading…
Reference in a new issue