This commit is contained in:
wt
2026-03-06 11:38:35 +07:00
parent 81ffa09e4e
commit 29247e48b6
20 changed files with 56 additions and 17 deletions
+20 -10
View File
@@ -10,11 +10,11 @@ download:
./scripts/build_image.sh download
clean:
./scripts/clean.sh
@./scripts/clean.sh
distclean:
./scripts/clean.sh
if [ -d downloads ]; then \
@./scripts/clean.sh
@if [ -d downloads ]; then \
rm -rv downloads; \
fi
@@ -42,11 +42,21 @@ ko8821au:
sdroot_usable:
./scripts/build_image.sh sdroot_usable
orangepi_pc_defconfig:
cp -v configs/orangepi_pc_defconfig scripts/config.sh
%_defconfig:
@cp -v configs/$@ scripts/config.sh
orangepi_zero_2w_defconfig:
cp -v configs/orangepi_zero_2w_defconfig scripts/config.sh
x86_64_uclibc_defconfig:
cp -v configs/x86_64_uclibc_defconfig scripts/config.sh
list-defconfigs:
@first=true; \
for defconfig in configs/*_defconfig; do \
[ -f "$${defconfig}" ] || continue; \
if $${first}; then \
if [ "$(2)" ]; then \
printf 'External configs in "$(call qstrip,$(2))":\n'; \
else \
printf "Built-in configs:\n"; \
fi; \
first=false; \
fi; \
defconfig="$${defconfig##*/}"; \
printf " %-35s - Build for %s\n" "$${defconfig}" "$${defconfig%_defconfig}"; \
done