0052-ar71xx-create-profile-and-build-image-for-the-OpenMesh-MR1750-board.patch 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  2. Date: Mon, 14 Sep 2015 20:11:51 +0000
  3. Subject: ar71xx: create profile and build image for the OpenMesh MR1750 board
  4. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  5. Backport of r46932
  6. Forwarded: https://patchwork.ozlabs.org/patch/624179/
  7. diff --git a/target/linux/ar71xx/generic/profiles/openmesh.mk b/target/linux/ar71xx/generic/profiles/openmesh.mk
  8. index 41b462e..06cf135 100644
  9. --- a/target/linux/ar71xx/generic/profiles/openmesh.mk
  10. +++ b/target/linux/ar71xx/generic/profiles/openmesh.mk
  11. @@ -49,9 +49,20 @@ endef
  12. $(eval $(call Profile,MR900))
  13. +define Profile/MR1750
  14. + NAME:=OpenMesh MR1750
  15. + PACKAGES:=kmod-ath9k kmod-ath10k ath10k-firmware-qca988x
  16. +endef
  17. +
  18. +define Profile/MR1750/Description
  19. + Package set optimized for the OpenMesh MR1750.
  20. +endef
  21. +
  22. +$(eval $(call Profile,MR1750))
  23. +
  24. define Profile/OPENMESH
  25. NAME:=OpenMesh products
  26. - PACKAGES:=kmod-ath9k om-watchdog
  27. + PACKAGES:=kmod-ath9k kmod-ath10k om-watchdog
  28. endef
  29. define Profile/OPENMESH/Description
  30. diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
  31. index f91e20e..b74aa45 100644
  32. --- a/target/linux/ar71xx/image/Makefile
  33. +++ b/target/linux/ar71xx/image/Makefile
  34. @@ -2045,6 +2045,7 @@ $(eval $(call SingleProfile,OpenMesh,squashfs-only,OM2P,om2p,,,,OM2P))
  35. $(eval $(call SingleProfile,OpenMesh,squashfs-only,OM5P,om5p,,,,OM5P))
  36. $(eval $(call SingleProfile,OpenMesh,squashfs-only,MR600,mr600,,,,MR600))
  37. $(eval $(call SingleProfile,OpenMesh,squashfs-only,MR900,mr900,,,,MR900))
  38. +$(eval $(call SingleProfile,OpenMesh,squashfs-only,MR1750,mr1750,,,,MR1750))
  39. $(eval $(call SingleProfile,PB4X,128k,ALL0305,all0305,ALL0305,ttyS0,115200))
  40. $(eval $(call SingleProfile,PB4X,128k,EAP7660D,eap7660d,EAP7660D,ttyS0,115200))
  41. @@ -2138,7 +2139,7 @@ $(eval $(call MultiProfile,AP121,AP121_2M AP121_4M))
  42. $(eval $(call MultiProfile,DIR615IX,DIR615I1 DIR615I3))
  43. $(eval $(call MultiProfile,AP136,AP136_010 AP136_020))
  44. $(eval $(call MultiProfile,EWDORIN, EWDORINAP EWDORINRT EWDORIN16M))
  45. -$(eval $(call MultiProfile,OPENMESH,OM2P OM5P MR600 MR900))
  46. +$(eval $(call MultiProfile,OPENMESH,OM2P OM5P MR600 MR900 MR1750))
  47. $(eval $(call MultiProfile,TEW652BRP,TEW652BRP_FW TEW652BRP_RECOVERY))
  48. $(eval $(call MultiProfile,TLMR3220,TLMR3220V1))
  49. $(eval $(call MultiProfile,TLMR3420,TLMR3420V1))