ucode: reorder BuildPackage calls
authorJo-Philipp Wich <jo@mein.io>
Thu, 28 Apr 2022 08:28:20 +0000 (10:28 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 28 Apr 2022 08:46:49 +0000 (10:46 +0200)
Ensure that the libucode recipe is processed before the ucode one in
order to reliably encode the ABI version into ucode's libucode dependency.

Fixes: #9788
Ref: https://forum.openwrt.org/t/fw4-wont-start-after-upgrade/126308
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 573ce80ca612b0f642b7cbd5d9d33d89b7e96670)

package/utils/ucode/Makefile

index bd31c6f5216b06c2a15e1188413797dacce32638..64edf198cee688aaa59ae36b3278dc7360a72adc 100644 (file)
@@ -201,8 +201,8 @@ define Package/ucode-mod-uci/install
 endef
 
 
-$(eval $(call BuildPackage,ucode))
 $(eval $(call BuildPackage,libucode))
+$(eval $(call BuildPackage,ucode))
 $(eval $(call BuildPackage,ucode-mod-fs))
 $(eval $(call BuildPackage,ucode-mod-math))
 $(eval $(call BuildPackage,ucode-mod-nl80211))