0071-ar71xx-create-profile-and-build-image-for-the-OpenMesh-OM5P-AC-board.patch 2.2 KB

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