Skip to content

kxtzownsu/elogtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elogtool

this is a standalone way to build elogtool

source code

the source code is from MrChromebox's coreboot fork on branch MrChromebox-2509

the source code is also modified so that whenever elogtool clear is called, the LOG_CLEAR event is not added to the firmware logs.

building

native build:

make

the binary will be at build/elogtool

clean build output:

make clean

verbose build:

make VERBOSE=1

cross-compilation works by setting CROSS_COMPILE to the toolchain prefix. for example, to build with aarch64-linux-musl-gcc:

make CROSS_COMPILE=aarch64-linux-musl-

to build with the debian/ubuntu style gnu cross compiler:

make CROSS_COMPILE=aarch64-linux-gnu-

the Makefile always appends gcc, so include the trailing dash and do not include gcc itself in CROSS_COMPILE.

custom output dirs/names:

make BUILD_DIR=build-aarch64 OUTPUT=elogtool-aarch64 CROSS_COMPILE=aarch64-linux-gnu-

About

standalone compilation of `elogtool` from coreboot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors