tce-load -i compiletc efivar-dev cd efibootmgr-15 edit Make/defaults prefix ?= /usr/local/ libdir ?= $(prefix)/lib/ CFLAGS ?= EFI_LOADER := BOOTX64.EFI make EFIDIR="/mnt/sdb2/EFI" CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" sudo make install