[PATCH v3 02/23] lib/rationale: compile for pbl

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 13 03:26:49 PST 2025


Upcoming K3 PLL support needs rational_best_approximation() in PBL, so
enable it for PBL.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 lib/math/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/math/Makefile b/lib/math/Makefile
index 197f92a097..3a31567c58 100644
--- a/lib/math/Makefile
+++ b/lib/math/Makefile
@@ -2,6 +2,6 @@
 
 obj-y += div64.o
 pbl-y += div64.o
-obj-y += rational.o
+obj-pbl-y += rational.o
 obj-y += int_pow.o
 obj-y += int_sqrt.o

-- 
2.39.5




More information about the barebox mailing list