targets.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --- a/include/target.mk
  2. +++ b/include/target.mk
  3. @@ -53,15 +53,31 @@ DEFAULT_PACKAGES.nas:=\
  4. mdadm
  5. # For router targets
  6. DEFAULT_PACKAGES.router:=\
  7. - dnsmasq \
  8. - firewall4 \
  9. - nftables \
  10. - kmod-nft-offload \
  11. + dnsmasq-full \
  12. + firewall \
  13. + kmod-ipt-nat \
  14. + kmod-ipt-na6 \
  15. odhcp6c \
  16. odhcpd-ipv6only \
  17. ppp \
  18. ppp-mod-pppoe
  19. +ifneq ($(CONFIG_SMALL_FLASH),)
  20. +DEFAULT_PACKAGES+=-coremark -htop -bash -openssh-sftp-server
  21. +endif
  22. +
  23. +ifeq ($(CONFIG_ARCH),arm)
  24. +DEFAULT_PACKAGES+=autocore-arm luci-app-cpufreq
  25. +endif
  26. +
  27. +ifeq ($(CONFIG_ARCH),aarch64)
  28. +DEFAULT_PACKAGES+=autocore-arm luci-app-cpufreq
  29. +endif
  30. +
  31. +ifneq ($(CONFIG_USB_SUPPORT),)
  32. +DEFAULT_PACKAGES+=automount
  33. +endif
  34. +
  35. ifneq ($(DUMP),)
  36. all: dumpinfo
  37. endif
  38. --- a/target/Config.in
  39. +++ b/target/Config.in
  40. @@ -37,6 +37,7 @@ config PWM_SUPPORT
  41. config USB_SUPPORT
  42. select AUDIO_SUPPORT
  43. + select PACKAGE_automount
  44. bool
  45. config USB_GADGET_SUPPORT
  46. @@ -123,6 +124,8 @@ config USES_BOOT_PART
  47. config aarch64
  48. select ARCH_64BIT
  49. + select PACKAGE_autocore-arm
  50. + select PACKAGE_luci-app-cpufreq
  51. bool
  52. config aarch64_be
  53. @@ -138,6 +141,8 @@ config arceb
  54. bool
  55. config arm
  56. + select PACKAGE_autocore-arm
  57. + select PACKAGE_luci-app-cpufreq
  58. bool
  59. config armeb