freewrt_2_0
|
Last change
on this file was 466381d, checked in by Waldemar Brodkorb <wbx@…>, 4 months ago |
|
squashfs: enable ZSTD
|
-
Property mode
set to
100644
|
|
File size:
921 bytes
|
| Line | |
|---|
| 1 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 2 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 3 |
|
|---|
| 4 | PKG_NAME:= squashfs-tools
|
|---|
| 5 | PKG_VERSION:= 4.7
|
|---|
| 6 | PKG_MD5SUM:= a303f3747192f0b0b1f66f695669b88f
|
|---|
| 7 |
|
|---|
| 8 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 9 | PKG_SOURCE_URL:= https://github.com/plougher/squashfs-tools/releases/download/$(PKG_VERSION)/
|
|---|
| 10 |
|
|---|
| 11 | include $(TOPDIR)/rules.mk
|
|---|
| 12 | include ../rules.mk
|
|---|
| 13 |
|
|---|
| 14 | $(WRKBUILD)/squashfs-tools/mksquashfs: ${WRKBUILD}/.prepared
|
|---|
| 15 | mkdir -p $(STAGING_DIR)/bin
|
|---|
| 16 | (cd $(WRKBUILD) && $(MAKE) -C squashfs-tools \
|
|---|
| 17 | LZO_SUPPORT=0 LZ4_SUPPORT=0 XZ_SUPPORT=0 ZSTD_SUPPORT=1 \
|
|---|
| 18 | all)
|
|---|
| 19 |
|
|---|
| 20 | $(STAGING_DIR)/bin/mksquashfs: $(WRKBUILD)/squashfs-tools/mksquashfs
|
|---|
| 21 | $(CP) $< $@
|
|---|
| 22 |
|
|---|
| 23 | source: $(DL_DIR)/$(PKG_SOURCE)
|
|---|
| 24 | prepare: ${WRKBUILD}/.prepared
|
|---|
| 25 | compile: $(WRKBUILD)/squashfs-tools/mksquashfs $(STAGING_DIR)/bin/mksquashfs
|
|---|
| 26 | install: $(STAGING_DIR)/bin/mksquashfs
|
|---|
| 27 | clean:
|
|---|
| 28 | rm -rf $(WRKBUILD)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.