targets.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --- a/include/target.mk
  2. +++ b/include/target.mk
  3. @@ -46,27 +46,27 @@ DEFAULT_PACKAGES.router:=\
  4. dnsmasq-full \
  5. firewall \
  6. iptables \
  7. - ipv6helper \
  8. + ip6tables \
  9. + kmod-ipt-nat \
  10. + kmod-ipt-nat6 \
  11. + kmod-ipt-offload \
  12. + odhcp6c \
  13. + odhcpd-ipv6only \
  14. ppp \
  15. ppp-mod-pppoe
  16. -# For easy usage
  17. -DEFAULT_PACKAGES.tweak:=\
  18. - block-mount \
  19. - default-settings-chn \
  20. - kmod-ipt-raw \
  21. - kmod-nf-nathelper \
  22. - kmod-nf-nathelper-extra \
  23. - luci \
  24. - luci-app-filetransfer \
  25. - luci-compat \
  26. - luci-lib-base \
  27. - luci-lib-fs \
  28. - luci-lib-ipkg
  29. ifneq ($(DUMP),)
  30. all: dumpinfo
  31. endif
  32. +ifeq ($(ARCH),arm)
  33. + DEFAULT_PACKAGES+=luci-app-cpufreq
  34. +endif
  35. +
  36. +ifeq ($(ARCH),aarch64)
  37. + DEFAULT_PACKAGES+=luci-app-cpufreq
  38. +endif
  39. +
  40. target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
  41. ifeq ($(DUMP),)
  42. PLATFORM_DIR:=$(TOPDIR)/target/linux/$(BOARD)
  43. --- a/target/linux/mediatek/image/mt7981.mk
  44. +++ b/target/linux/mediatek/image/mt7981.mk
  45. @@ -2,7 +2,6 @@ KERNEL_LOADADDR := 0x48080000
  46. MT7981_USB_PKGS := automount blkid blockdev fdisk \
  47. kmod-nls-cp437 kmod-nls-iso8859-1 kmod-usb2 kmod-usb3 \
  48. - luci-app-usb-printer luci-i18n-usb-printer-zh-cn \
  49. kmod-usb-net-rndis usbutils
  50. define Device/mt7981-spim-nor-rfb