Due to this, legacy.c was neither compiled nor linked into the binary
and thus booting legacy DS414 firmware failed. Missing atag setup led to
no console output (and probably stalled boot) after:

| Uncompressing Linux... done, booting the kernel.

Fixes: 9774462e34faa ("arm: Disable ATAGs support")
Signed-off-by: Phil Sutter <[email protected]>
---
 board/Synology/common/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/Synology/common/Makefile b/board/Synology/common/Makefile
index f688b5490631c..87be53321ee64 100644
--- a/board/Synology/common/Makefile
+++ b/board/Synology/common/Makefile
@@ -2,4 +2,4 @@
 #
 # Copyright (C) 2021 Phil Sutter <[email protected]>
 
-obj-$(SUPPORT_PASSING_ATAGS)   += legacy.o
+obj-$(CONFIG_SUPPORT_PASSING_ATAGS)    += legacy.o
-- 
2.52.0

Reply via email to