From: Gustavo Zacarias Date: Sun, 24 Apr 2016 21:34:51 +0000 (+0200) Subject: linux-firmware: allow LINUX_FIRMWARE_FILES to contain wildcards X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=095c04f47cea1a3449ae0552c59e164d1f5d8422;p=buildroot.git linux-firmware: allow LINUX_FIRMWARE_FILES to contain wildcards This commit will allow the LINUX_FIRMWARE_FILES variable to contain wildcards, which will simplify the handling of firmware that are available in numerous revisions. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk index 28fe66c246..c33eb9518b 100644 --- a/package/linux-firmware/linux-firmware.mk +++ b/package/linux-firmware/linux-firmware.mk @@ -356,7 +356,8 @@ endif ifneq ($(LINUX_FIRMWARE_FILES),) define LINUX_FIRMWARE_INSTALL_FILES - $(TAR) c -C $(@D) $(sort $(LINUX_FIRMWARE_FILES)) | \ + cd $(@D) ; \ + $(TAR) c $(sort $(LINUX_FIRMWARE_FILES)) | \ $(TAR) x -C $(TARGET_DIR)/lib/firmware endef endif