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 ddb50e64046b894ee4b2e1acf05bad5eaf5f2d5f..fc0db571268665d72125020e108c101d4d89527e 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. \
 ))