From 095c04f47cea1a3449ae0552c59e164d1f5d8422 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sun, 24 Apr 2016 23:34:51 +0200 Subject: [PATCH] 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 --- package/linux-firmware/linux-firmware.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2