-include $(TOPDIR)/config.mk
+# SPDX-License-Identifier: GPL-2.0+
-all: $(obj)easylogo
+hostprogs-y := easylogo
-$(obj)easylogo: $(SRCTREE)/tools/easylogo/easylogo.c
- $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTLDFLAGS) -o $@ $^
-
-clean:
- rm -f $(obj)easylogo
-
-.PHONY: all clean
+always := $(hostprogs-y)