summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-03-21 21:11:24 +0100
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-03-21 21:26:09 +0100
commit08e3c56737530330355bf836baa18e8e9e47321c (patch)
treeb8e520dcdd8174abe95375acf9fe7c8401a50d47 /Makefile
parentf3367d8ca74e78428da12c26110fef22a8122994 (diff)
downloadfreebsd-wifibox-alpine-08e3c56737530330355bf836baa18e8e9e47321c.zip
Add support for deployment of extra firmware files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 83450d1..66aff3d 100644
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,9 @@ $(GUESTDIR)/.done:
--no-chown \
$(PACKAGES)
$(TAR) -xf $(MINIROOTFS) -C $(GUESTDIR) $(APK)
+ # install extra firmware files manually
+ [ -d guest/lib/firmware ] \
+ && $(CP) -R guest/lib/firmware/ $(GUESTDIR)/lib/firmware
# busybox-extras.post-install
.for binary in $(BUSYBOX_EXTRAS)
$(LN) -s /bin/busybox-extras $(GUESTDIR)/${binary}