src/world/u-boot-rpi64/Makefile
Nathan Fisher 61db92519f Numerous changes to toolchain optional packages and world default packages
bin/head - accept -[num] style arguments
usr.bin/uname - alias -o to -s
2021-02-26 12:46:11 -05:00

24 lines
616 B
Makefile

# Makefile - /src/world/u-boot-rpi64
# Copyright 2021 Nathan Fisher
#
distname = u-boot
distext = bz2
include world.mk
config_cmd = $(MAKE) -C $(srcdir)
config_cmd += KBUILD_OUTPUT=$(objdir)
config_cmd += CROSS_COMPILE=$(tgt)-
config_cmd += rpi_arm64_config
build_cmd = $(MAKE) -C $(srcdir)
build_cmd += KBUILD_OUTPUT=$(objdir)
build_cmd += CROSS_COMPILE=$(tgt)-
install_cmd = install $(objdir)/u-boot.bin $(DESTDIR)/boot/kernel8.img
define post_install
$(objdir)/tools/mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt $(DESTDIR)/boot/boot.scr
endef
include targets.mk