Skip to content

Latest commit

 

History

History
317 lines (302 loc) · 14.7 KB

README.md

File metadata and controls

317 lines (302 loc) · 14.7 KB

openwrt编译用dl包,加快编译速度

无脑黑的润狗和殖人 不得使用

openwrt源码基于lede
此dl无第三方库所下载的依赖包。
使用方法: make menuconfig,勾选需要的功能后
通过命令行,或者桌面程序进到lede目录下新建一个dl文件夹,
从Releases下载压缩包,解压,
压缩包里有一堆下面这样的文件,不用解压,直接丢进dl文件夹

acl-2.3.1.tar.gz
argp-standalone-1.3.tar.gz
attr-2.5.1.tar.gz
autoconf-2.69.tar.xz

然后执行make download -j8 V=s
另外上面这行命令,可以改为make download -j8 V=s 2>&1 | tee download.log
这样,make download 的输出会在命令行中显示,并且同时保存到 download.log 文件中。
然后你让chatgpt帮你写解析用的命令

下图只是参考,不一定适用,自行测试
image

使用机型,树莓派3B+
make menuconfig前三项选择,
image

Target Images的内核空间Kernel partition size (in MiB) ,给他差不多1G,以避免编译固件的时候,勾选太多东西,
导致编译出来的固件,烧写到设备上以后,不能读写、保存。
image

近期dl包编译时间:2024-10-25
此为较为干净的版本(对于部分人来说,部分依赖库、依赖包没用)
可能有部分没有覆盖到,比如linux5.15 linux5.4 linux6.1这几个源码文件。

文件清单:
acl-2.3.1.tar.gz
argp-standalone-1.3.tar.gz
attr-2.5.1.tar.gz
autoconf-2.69.tar.xz
autoconf-archive-2021.02.19.tar.xz
automake-1.15.1.tar.xz
automake-1.16.5.tar.gz
backports-6.1.24.tar.xz
bc-1.07.1.tar.gz
bcm27xx-userland-c4fd1b8986c6d6d4ae5cd51e65a8bbeb495dfa4e.tar.gz
bcm27xx-utils-2024-01-18.tar.xz
binutils-2.40.tar.xz
bison-3.8.2.tar.xz
bpftools-2022-03-08-04c465fd.tar.xz
broadcom-wl-4.150.10.5.tar.bz2
broadcom-wl-5.100.138.tar.bz2
btrfs-progs-v5.16.1.tar.xz
busybox-1.36.0.tar.bz2
bzip2-1.0.8.tar.gz
ca-certificates_20211016.tar.xz
c-ares-1.18.1.tar.gz
cgroupfs-mount-2020-06-26-05494281.tar.xz
cmake-3.25.2.tar.gz
containerd-1.7.18.tar.gz
coremark-2022-07-27.tar.gz
coreutils-9.3.tar.xz
cpio-2.13.tar.bz2
cpio-2.15.tar.bz2
cryptodev-linux-1.13.tar.gz
curl-8.6.0.tar.bz2
cypress-firmware-5.10.9-2022_0909.tar.xz
cypress-firmware-5.4.18-2021_0812.tar.xz
cypress-nvram-2019-09-03-e7b78df2.tar.xz
dl_list.txt
dnsmasq-2.88.tar.xz
docker-27.0.2.tar.gz
dockerd-27.0.2.tar.gz
dosfstools-4.2.tar.gz
dropbear-2022.82.tar.bz2
dtc-1.6.1.tar.xz
e2fsprogs-1.46.5.tar.xz
e2fsprogs-1.47.0.tar.xz
ELFkickers-3.2.tar.gz
elfutils-0.188.tar.bz2
etherwake_1.09.orig.tar.gz
expat-2.5.0.tar.xz
f2fs-tools-1.16.0.tar.gz
fakeroot_1.29.orig.tar.gz
findutils-4.9.0.tar.xz
firewall-2022-02-17-4cd7d4f3.tar.xz
firmware-utils-2022-12-15-bd856eff.tar.xz
flex-2.6.4.tar.gz
fortify-headers-1.1.tar.gz
fstools-2023-01-22-1ea5855e.tar.xz
fstools-2024-01-22-08cd7083.tar.xz
fullconenat-2022-02-13-108a36cb.tar.xz
fwtool-2019-11-12-8f7fe925.tar.xz
gcc-11.3.0.tar.xz
gcc-11.3.0.tar.xz.dl
gcc-11.3.0.tar.xz.hash
gdb-14.1.tar.xz
gengetopt-2.23.tar.xz
gmp-6.2.1.tar.xz
go1.17.13.src.tar.gz
go1.20.14.src.tar.gz
go1.23.1.src.tar.gz
go1.4-bootstrap-20171003.tar.gz
gperf-3.1.tar.gz
hostapd-2022-07-29-b704dc72.tar.xz
iproute2-6.2.0.tar.xz
ipset-7.17.tar.bz2
ipset-7.21.tar.bz2
iptables-1.8.7.tar.bz2
iw-5.19.tar.xz
json-c-0.16-nodoc.tar.gz
json-c-0.17-nodoc.tar.gz
jsonfilter-2018-02-04-c7e938d6.tar.xz
libcap-2.68.tar.xz
libdeflate-1.17.tar.xz
libev-4.33.tar.gz
libiwinfo-2023-05-17-c9f5c3f7.tar.xz
libiwinfo-2024-03-08-8ffb8bfd.tar.xz
libmnl-1.0.5.tar.bz2
libnl-tiny-2022-11-01-db3b2cdb.tar.xz
libnl-tiny-2023-07-01-d433990c.tar.xz
libpcap-1.10.3.tar.gz
libressl-3.7.0.tar.gz
libseccomp-2.5.4.tar.gz
libselinux-3.5.tar.gz
libsepol-3.3.tar.gz
libsodium-1.0.18.tar.gz
libtool-2.4.2.tar.xz
libtool-2.4.7.tar.xz
libubox-2022-09-27-ea560134.tar.xz
libuv-v1.48.0.tar.gz
libwebsockets-4.3.2.tar.gz
linux-5.15.148.tar.xz
linux-6.1.112.tar.xz
linux-6.1.112.tar.xz.1
linux-6.1.112.tar.xz.dl
linux-6.1.112.tar.xz.hash
linux-atm-2.5.2.tar.gz
linux-firmware-20231211.tar.xz
linux-firmware-20240909.tar.xz
lua-5.1.5.tar.gz
LuaSrcDiet-0.12.1.tar.bz2
lzma-4.65.tar.bz2
lzo-2.10.tar.gz
m4-1.4.19.tar.xz
make-ext4fs-2020-01-05-5c201be7.tar.xz
mbedtls-2.28.5.tar.gz
meson-0.61.5.tar.gz
miniupnpd-2.0.20170421.tar.gz
mklibs_0.1.45.tar.xz
mpc-1.3.1.tar.gz
mpfr-4.2.0.tar.xz
mtd-utils-2.1.5.tar.bz2
mtools-4.0.42.tar.bz2
musl-1.2.4.tar.gz
musl-fts-1.2.7.tar.xz
ncurses-6.4.tar.gz
netifd-2021-06-04-50381d0a.tar.xz
nghttp2-1.51.0.tar.xz
ninja-1.11.1.tar.gz
nlbwmon-2021-09-01-d82c910c.tar.xz
odhcp6c-2021-01-09-53f07e90.tar.xz
odhcpd-2021-06-19-564d25e5.tar.xz
openssl-3.0.13.tar.gz
openssl-3.0.15.tar.gz
openwrt-keyring-2022-03-25-62471e69.tar.xz
opkg-2022-02-24-d038e5b6.tar.xz
patch-2.7.6.tar.xz
patchelf-0.17.2.tar.bz2
pcre2-10.42.tar.bz2
pcre-8.45.tar.bz2
pdnsd-1.2.9b-par.tar.xz
pkgconf-1.9.3.tar.xz
ppp-2.4.9.git-2021-01-04.tar.xz
procd-2023-01-16-190f13a7.tar.xz
quilt-0.67.tar.gz
rpcd-2023-01-21-c0df2a7a.tar.xz
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-bootcode.bin
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-fixup4cd.dat
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-fixup4.dat
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-fixup4x.dat
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-fixup_cd.dat
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-fixup.dat
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-fixup_x.dat
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-LICENCE.broadcom
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-start4cd.elf
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-start4.elf
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-start4x.elf
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-start_cd.elf
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-start.elf
rpi-firmware-3673be308132de102fdff491d1333d9d0f823557-start_x.elf
runc-1.1.13.tar.gz
sed-4.9.tar.xz
shadowsocks-libev-3.3.5.tar.gz
squashfskit-v4.14.tar.xz
tar-1.34.tar.xz
tini-0.19.0.tar.gz
ttyd-1.6.3.tar.gz
u-boot-2023.01.tar.bz2
ubox-2022-08-13-4c7b720b.tar.xz
ubus-2022-06-01-2bebf93c.tar.xz
ucert-2020-05-24-00b921d8.tar.xz
uci-2021-10-22-f84f49f0.tar.xz
uclient-2021-05-14-6a6011df.tar.xz
ucode-2023-01-09-8dad974b.tar.xz
uhttpd-2022-10-31-23977554.tar.xz
usign-2020-05-23-f1f65026.tar.xz
ustream-ssl-2022-12-08-9217ab46.tar.xz
util-linux-2.38.1.tar.xz
util-linux-2.39.3.tar.xz
vlmcsd-svn1113.tar.gz
vsftpd-3.0.5.tar.gz
wget-1.21.3.tar.gz
wireless-regdb-2022.08.12.tar.xz
wol-0.7.1.tar.gz
wolfssl-5.5.4-stable.tar.gz
xray-core-1.3.1.tar.gz
xz-5.4.1.tar.bz2
zip30.tar.gz
zlib-1.2.13.tar.xz
zstd-1.5.5.tar.gz

以下是我个人编译自用的openwrt,make download -j8所下载的内容, 可以自行选择将主域名加入代理,或者直连, 或者可以手动进行下载,然后放置dl目录,以便于后续编译。 https://mirror.iscas.ac.cn/kernel.org/linux/kernel/v5.x/linux-5.15.148.tar.xz
https://musl.libc.org/releases/musl-1.2.4.tar.gz
https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.53/AdGuardHome_frontend.tar.gz
https://sources.cdn.openwrt.org/lucihttp-2023-03-15-9b5b683f.tar.xz
http://git.savannah.nongnu.org/cgit/attr.git/snapshot/attr-2.5.1.tar.gz
https://mirror.iscas.ac.cn/kernel.org/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v5.16.1.tar.xz
https://sources.cdn.openwrt.org/cgi-io-2022-08-10-901b0f04.tar.xz
https://codeload.github.com/eembc/coremark/tar.gz/eefc986ebd3452d6adde22eafaff3e5c859f29e4?/coremark-2022-07-27.tar.gz
https://downloads.sourceforge.net/dns2socks/SourceCode.zip
https://codeload.github.com/zfl9/dns2tcp/tar.gz/v1.1.2?/dns2tcp-1.1.2.tar.gz
https://codeload.github.com/docker/cli/tar.gz/v27.0.2?/docker-27.0.2.tar.gz
https://codeload.github.com/docker/compose/tar.gz/v2.28.1?/v2.28.1.tar.gz
https://codeload.github.com/moby/moby/tar.gz/v27.0.2?/dockerd-27.0.2.tar.gz
https://codeload.github.com/AdguardTeam/AdGuardHome/tar.gz/v0.107.53?/adguardhome-0.107.53.tar.gz
http://ftp.debian.org/debian/pool/main/e/etherwake/etherwake_1.09.orig.tar.gz
http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz
https://github.com/seccomp/libseccomp/releases/download/v2.5.4/libseccomp-2.5.4.tar.gz
https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz
https://dist.libuv.org/dist/v1.48.0/libuv-v1.48.0.tar.gz
https://codeload.github.com/warmcat/libwebsockets/tar.gz/v4.3.2?/libwebsockets-4.3.2.tar.gz
http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
https://codeload.github.com/rofl0r/microsocks/tar.gz/v1.0.4?/microsocks-1.0.4.tar.gz
http://miniupnp.tuxfamily.org/files/miniupnpd-2.0.20170421.tar.gz
https://mirrors.aliyun.com/gnu/nano/nano-7.2.tar.xz
https://github.com/nghttp2/nghttp2/releases/download/v1.51.0/nghttp2-1.51.0.tar.xz
https://sources.cdn.openwrt.org/nlbwmon-2021-09-01-d82c910c.tar.xz
https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.42/pcre2-10.42.tar.bz2
https://sources.openwrt.org/pdnsd-1.2.9b-par.tar.xz
https://codeload.github.com/opencontainers/runc/tar.gz/v1.1.13?/runc-1.1.13.tar.gz
https://mirror2.openwrt.org/sources/pdnsd-1.2.9b-par.tar.xz
https://sources.openwrt.org/tcping-0.3-db9101834732dac9aaa59dbb7fb9c74612dbf723.tar.gz
https://codeload.github.com/krallin/tini/tar.gz/v0.19.0?/tini-0.19.0.tar.gz
https://mirror2.openwrt.org/sources/tcping-0.3-db9101834732dac9aaa59dbb7fb9c74612dbf723.tar.gz
http://ftp.vim.org/pub/vim/unix/vim-8.2.tar.bz2
https://codeload.github.com/Wind4/vlmcsd/tar.gz/svn1113?/vlmcsd-svn1113.tar.gz
https://mirrors.aliyun.com/gnu/wget/wget-1.21.3.tar.gz
https://codeload.github.com/XTLS/Xray-core/tar.gz/v24.10.16?/xray-core-24.10.16.tar.gz
https://codeload.github.com/golgote/neturl/tar.gz/v1.1-1?/neturl-1.1-1.tar.gz
https://codeload.github.com/IrineSistiana/mosdns/tar.gz/v5.3.3?/mosdns-5.3.3.tar.gz
https://codeload.github.com/shadowsocksrr/shadowsocksr-libev/tar.gz/2.5.3?/shadowsocksr-libev-2.5.3.tar.gz
https://sources.cdn.openwrt.org/simple-obfs-0.0.5.tar.xz
https://sources.cdn.openwrt.org/cypress-firmware-5.4.18-2021_0812.tar.xz
https://sources.openwrt.org/simple-obfs-0.0.5.tar.xz
https://mirror2.openwrt.org/sources/simple-obfs-0.0.5.tar.xz
https://raw.githubusercontent.com/raspberrypi/firmware/3673be308132de102fdff491d1333d9d0f823557/boot/LICENCE.broadcom
https://raw.githubusercontent.com/raspberrypi/firmware/3673be308132de102fdff491d1333d9d0f823557/boot/fixup4.dat
https://raw.githubusercontent.com/raspberrypi/firmware/3673be308132de102fdff491d1333d9d0f823557/boot/fixup4x.dat
https://raw.githubusercontent.com/raspberrypi/firmware/3673be308132de102fdff491d1333d9d0f823557/boot/start.elf
http://www.netfilter.org/projects/libmnl/files/libmnl-1.0.5.tar.bz2
https://sources.cdn.openwrt.org/libnl-tiny-2022-11-01-db3b2cdb.tar.xz
https://sources.cdn.openwrt.org/libubox-2022-09-27-ea560134.tar.xz
https://mirrors.aliyun.com/gnu/ncurses/ncurses-6.4.tar.gz
https://downloads.sourceforge.net/pcre/pcre-8.45.tar.bz2
https://raw.githubusercontent.com/raspberrypi/firmware/3673be308132de102fdff491d1333d9d0f823557/boot/start_cd.elf
https://sources.cdn.openwrt.org/uclient-2021-05-14-6a6011df.tar.xz
https://sources.cdn.openwrt.org/ustream-ssl-2022-12-08-9217ab46.tar.xz
https://github.com/wolfSSL/wolfssl/archive/v5.5.4-stable/wolfssl-5.5.4-stable.tar.gz
https://sources.cdn.openwrt.org/firewall-2022-02-17-4cd7d4f3.tar.xz
https://sources.cdn.openwrt.org/netifd-2021-06-04-50381d0a.tar.xz
https://raw.githubusercontent.com/raspberrypi/firmware/3673be308132de102fdff491d1333d9d0f823557/boot/start4.elf
https://mirror2.openwrt.org/sources/fullconenat-2022-02-13-108a36cb.tar.xz
https://sources.cdn.openwrt.org/hostapd-2022-07-29-b704dc72.tar.xz
https://sources.cdn.openwrt.org/ppp-2.4.9.git-2021-01-04.tar.xz
http://mirror2.openwrt.org/sources/backports-6.1.24.tar.xz
https://sources.cdn.openwrt.org/uhttpd-2022-10-31-23977554.tar.xz
https://sources.cdn.openwrt.org/bpftools-2022-03-08-04c465fd.tar.xz
https://netfilter.org/projects/iptables/files/iptables-1.8.7.tar.bz2
https://mirror.iscas.ac.cn/kernel.org/software/network/iw/iw-5.19.tar.xz
https://sources.cdn.openwrt.org/libiwinfo-2023-05-17-c9f5c3f7.tar.xz
https://ftp.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20211016.tar.xz
https://sources.cdn.openwrt.org/fstools-2023-01-22-1ea5855e.tar.xz
https://mirror.leaseweb.com/debian/pool/main/c/ca-certificates/ca-certificates_20211016.tar.xz
https://mirror.netcologne.de/debian/pool/main/c/ca-certificates/ca-certificates_20211016.tar.xz
https://sources.cdn.openwrt.org/ca-certificates_20211016.tar.xz
https://sources.cdn.openwrt.org/procd-2023-01-16-190f13a7.tar.xz
https://sources.cdn.openwrt.org/rpcd-2023-01-21-c0df2a7a.tar.xz
https://sources.cdn.openwrt.org/ubus-2022-06-01-2bebf93c.tar.xz
https://sources.cdn.openwrt.org/ubox-2022-08-13-4c7b720b.tar.xz
https://sources.cdn.openwrt.org/uci-2021-10-22-f84f49f0.tar.xz
https://sources.cdn.openwrt.org/usign-2020-05-23-f1f65026.tar.xz
https://mirror.iscas.ac.cn/kernel.org/linux/kernel/people/tytso/e2fsprogs/v1.47.0/e2fsprogs-1.47.0.tar.xz
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/f2fs-tools-1.16.0.tar.gz
https://sources.cdn.openwrt.org/jsonfilter-2018-02-04-c7e938d6.tar.xz
https://www.lua.org/ftp/lua-5.1.5.tar.gz
https://sources.cdn.openwrt.org/ucode-2023-01-09-8dad974b.tar.xz