only require mkisofs if isofs root is actually selected
authorFelix Fietkau <nbd@openwrt.org>
Tue, 9 Oct 2007 02:45:24 +0000 (02:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 9 Oct 2007 02:45:24 +0000 (02:45 +0000)
SVN-Revision: 9211

target/linux/x86/Makefile

index ddb50e6..fc0db57 100644 (file)
@@ -19,6 +19,6 @@ DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci
 $(eval $(call Target,generic))
 $(eval $(call Target,mediacenter))
 $(eval $(call BuildTarget))
-$(eval $(call RequireCommand,mkisofs, \
+$(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
        Please install mkisofs. \
 ))