2022-08-26 10:33:22 -04:00
|
|
|
# Makefile - hhl - /usr/src/world/linux-firmware
|
|
|
|
# Copyright 2022 Nathan Fisher <nfisher.sr@gmail.com>
|
|
|
|
#
|
|
|
|
distname = linux-firmware
|
|
|
|
default_goal = install_firmware
|
|
|
|
include world.mk
|
|
|
|
objdir = $(srcdir)
|
|
|
|
|
|
|
|
install_firmware: $(objdir)/.installed
|
|
|
|
|
|
|
|
$(objdir)/.installed: $(srcdir)/.dirstamp | $(DESTDIR)/lib/firmware
|
2022-09-01 09:03:41 -04:00
|
|
|
$(MAKE) DESTDIR=$(DESTDIR) -C $(srcdir) install
|
2022-08-26 10:33:22 -04:00
|
|
|
|
|
|
|
$(DESTDIR)/lib/firmware:
|
|
|
|
install -d $@
|
|
|
|
|
|
|
|
$(srcdir)/.dirstamp: $(distlocal)
|
|
|
|
$(info $(grn)=== Extracting $(distlocal) ===$(reset))
|
|
|
|
tar -xf $(distlocal) -C $(basedir)/build/src-world-$(arch)
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(distlocal):
|
|
|
|
$(MAKE) -C ../distfiles $(distfile)
|