1
0
forked from dan/liminix

small cleanups

This commit is contained in:
Arnout Engelen 2025-01-02 09:51:26 +01:00
parent 43b71201af
commit cb3c8702d5
No known key found for this signature in database
GPG Key ID: 061107B0F74A6DAA

View File

@ -40,8 +40,7 @@
config = "aarch64-unknown-linux-musl";
gcc = {
# https://openwrt.org/docs/techref/instructionset/aarch64_cortex-a53
# openwrt target/linux/mediatek/filogic/target.mk
#abi = "32";
# openwrt ./target/linux/mediatek/filogic/target.mk
# https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
# https://en.wikipedia.org/wiki/Comparison_of_ARM_processors
arch = "armv8-a";
@ -546,9 +545,9 @@
ZSTD_COMPRESS="y";
ZSTD_DECOMPRESS="y";
# from DEVICE_PACKAGES in the openwrt_one section of
# target/linux/mediatek/image/filogic.mk: chop off the
# 'kmod-' prefix and search for 'KernelPackage/...'
# in package/kernel/linux/modules/*.mk, also add
# openwrt's ./target/linux/mediatek/image/filogic.mk:
# chop off the 'kmod-' prefix and search for 'KernelPackage/...'
# in ./package/kernel/linux/modules/*.mk, and remember to add
# modules to kmodloader targets below
AIR_EN8811H_PHY="m";
RTC_DRV_PCF8563="m";
@ -566,7 +565,6 @@
conditionalConfig = {
WLAN = {
MT7915E = "m";
#MT7996E = "m";
};
};
};
@ -658,7 +656,6 @@
};
defaultOutput = "uimage";
#defaultOutput = "tftpboot";
loadAddress = lim.parseInt "0x44000000";
entryPoint = lim.parseInt "0x44000000";
alignment = 2048;
@ -667,7 +664,6 @@
src = "${openwrt.src}/target/linux/mediatek/dts/mt7981b-openwrt-one.dts";
includePaths = [
"${openwrt.src}/target/linux/mediatek/dts"
#"${openwrt.src}/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/"
"${config.system.outputs.kernel.modulesupport}/arch/arm64/boot/dts/mediatek/"
];
};