From 396e7aba4d8d2a3ea04139675a344cac448f8e80 Mon Sep 17 00:00:00 2001 From: OPPEN321 Date: Tue, 23 Sep 2025 19:00:31 +0800 Subject: [PATCH] Create 05-rockchip_target_only.sh --- scripts/05-rockchip_target_only.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/05-rockchip_target_only.sh diff --git a/scripts/05-rockchip_target_only.sh b/scripts/05-rockchip_target_only.sh new file mode 100644 index 0000000..dbff93d --- /dev/null +++ b/scripts/05-rockchip_target_only.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +# 使用特定的优化 +sed -i 's,-mcpu=generic,-march=armv8-a+crc+crypto,g' include/target.mk +sed -i 's,kmod-r8168,kmod-r8169,g' target/linux/rockchip/image/armv8.mk