target/device/Soekris/net4521/linux.mk is missing an endif for the first if statement target/device/Soekris/Makefile.in needs to set TARGETS before including linux.mk since the file checks the TARGETS variables
BR2_TARGET_SOEKRIS_NET4521 is enabled.