-tools-$(CONFIG_TARGET_orion) += wrt350nv2-builder upslug2
-tools-$(CONFIG_TARGET_x86) += qemu
-ifneq ($(CONFIG_LINUX_2_6_25)$(CONFIG_TARGET_ar71xx),)
-tools-y += squashfs lzma-old
-endif
-ifeq ($(CONFIG_LINUX_2_6_25),)
-tools-y += squashfs4 lzma
+tools-y += mm-macros xorg-macros xfce-macros missing-macros xz cmake
+tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2
+tools-$(CONFIG_TARGET_x86) += qemu mkelfimage
+ifneq ($(CONFIG_TARGET_ar71xx),)
+tools-y += lzma-old squashfs