targets.patch 861 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- a/include/target.mk
  2. +++ b/include/target.mk
  3. @@ -46,28 +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-app-turboacc \
  26. - luci-compat \
  27. - luci-lib-base \
  28. - luci-lib-fs \
  29. - luci-lib-ipkg
  30. ifneq ($(DUMP),)
  31. all: dumpinfo
  32. endif
  33. +ifeq ($(ARCH),arm)
  34. + DEFAULT_PACKAGES+=luci-app-cpufreq
  35. +endif
  36. +
  37. +ifeq ($(ARCH),aarch64)
  38. + DEFAULT_PACKAGES+=luci-app-cpufreq
  39. +endif
  40. +
  41. target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
  42. ifeq ($(DUMP),)
  43. PLATFORM_DIR:=$(TOPDIR)/target/linux/$(BOARD)