Skip to content

Commit

Permalink
build: enabl 8156
Browse files Browse the repository at this point in the history
  • Loading branch information
stupidloud committed May 4, 2022
1 parent bb5471f commit 4d98156
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion common.seed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ CONFIG_PACKAGE_kmod-fast-classifier=y
CONFIG_PACKAGE_kmod-ipt-offload=y
CONFIG_PACKAGE_kmod-pppol2tp=y
CONFIG_PACKAGE_kmod-tcp-bbr=y
CONFIG_PACKAGE_kmod-usb-net-rtl8152=y
# CONFIG_PACKAGE_kmod-usb-net-rtl8152 is not set
CONFIG_PACKAGE_kmod-usb-net-rtl8152-vendor=y
CONFIG_PACKAGE_losetup=y
CONFIG_PACKAGE_openssh-sftp-server=y
CONFIG_PACKAGE_pv=y
Expand Down
6 changes: 5 additions & 1 deletion scripts/patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,8 @@ if [[ $DEVICE == 'r1s' ]]; then
merge_package https://github.com/immortalwrt/immortalwrt/branches/openwrt-18.06-k5.4/package/emortal/autocore
elif [[ $DEVICE == 'r2s' || $DEVICE == 'r2c' || $DEVICE == 'r1p' || $DEVICE == 'r1p-lts' ]]; then
sed -i 's/5.15/5.4/g' target/linux/rockchip/Makefile
fi
fi

# ...
git revert d15af9ff7c534853695a52bb94f07beb4ffec02a
sed -i 's/kmod-usb-net-rtl8152/kmod-usb-net-rtl8152-vendor/' target/linux/rockchip/image/armv8.mk target/linux/sunxi/image/cortexa53.mk target/linux/sunxi/image/cortexa7.mk

0 comments on commit 4d98156

Please sign in to comment.