mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
* Fix format of the pciutils pci.ids.gz data file
- If ZLIB is present the filename of pci.ids is changed to pci.ids.gz but its not compressed, add a compressor to ensure its gzipped
This commit is contained in:
@@ -17,9 +17,11 @@ PCIIDS_CAT:=$(BZCAT)
|
|||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
PCIUTILS_HAVE_ZLIB=yes
|
PCIUTILS_HAVE_ZLIB=yes
|
||||||
PCIIDS_FILE=pci.ids.gz
|
PCIIDS_FILE=pci.ids.gz
|
||||||
|
PCIIDS_COMPRESSOR=gzip -9 -c
|
||||||
else
|
else
|
||||||
PCIUTILS_HAVE_ZLIB=no
|
PCIUTILS_HAVE_ZLIB=no
|
||||||
PCIIDS_FILE=pci.ids
|
PCIIDS_FILE=pci.ids
|
||||||
|
PCIIDS_COMPRESSOR=cat
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(DL_DIR)/$(PCIUTILS_SOURCE):
|
$(DL_DIR)/$(PCIUTILS_SOURCE):
|
||||||
@@ -30,7 +32,7 @@ $(DL_DIR)/$(PCIIDS_SOURCE):
|
|||||||
|
|
||||||
$(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)
|
$(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE)
|
||||||
$(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
$(PCIIDS_CAT) $(DL_DIR)/$(PCIIDS_SOURCE) > $(PCIUTILS_DIR)/$(PCIIDS_FILE)
|
$(PCIIDS_CAT) $(DL_DIR)/$(PCIIDS_SOURCE) | $(PCIIDS_COMPRESSOR) > $(PCIUTILS_DIR)/$(PCIIDS_FILE)
|
||||||
toolchain/patch-kernel.sh $(PCIUTILS_DIR) package/pciutils pciutils-$(PCIUTILS_VERSION)\*.patch
|
toolchain/patch-kernel.sh $(PCIUTILS_DIR) package/pciutils pciutils-$(PCIUTILS_VERSION)\*.patch
|
||||||
#$(CONFIG_UPDATE) $(@D)
|
#$(CONFIG_UPDATE) $(@D)
|
||||||
$(SED) 's/uname -s/echo Linux/' \
|
$(SED) 's/uname -s/echo Linux/' \
|
||||||
|
|||||||
Reference in New Issue
Block a user