targets.patch 737 B

123456789101112131415161718192021222324252627282930313233343536
  1. --- a/include/target.mk
  2. +++ b/include/target.mk
  3. @@ -53,10 +53,10 @@ 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-nat6 \
  15. odhcp6c \
  16. odhcpd-ipv6only \
  17. ppp \
  18. @@ -93,6 +93,18 @@ else
  19. endif
  20. endif
  21. +ifneq ($(CONFIG_SMALL_FLASH),)
  22. +DEFAULT_PACKAGES+=-coremark -htop -bash -openssh-sftp-server
  23. +endif
  24. +
  25. +ifeq ($(ARCH),arm)
  26. +DEFAULT_PACKAGES+=luci-app-cpufreq
  27. +endif
  28. +
  29. +ifeq ($(ARCH),aarch64)
  30. +DEFAULT_PACKAGES+=luci-app-cpufreq
  31. +endif
  32. +
  33. # Add device specific packages (here below to allow device type set from subtarget)
  34. DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))