targets.patch 833 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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,22 @@ 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+=autocore-arm luci-app-cpufreq
  27. +endif
  28. +
  29. +ifeq ($(ARCH),aarch64)
  30. +DEFAULT_PACKAGES+=autocore-arm luci-app-cpufreq
  31. +endif
  32. +
  33. +ifneq ($(CONFIG_USB_SUPPORT),)
  34. +DEFAULT_PACKAGES+=automount
  35. +endif
  36. +
  37. # Add device specific packages (here below to allow device type set from subtarget)
  38. DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))