summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile5
-rw-r--r--tools/syslinux/Makefile1
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 86eb09e22..4a5f1ec92 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -3,7 +3,10 @@
include $(TOPDIR)/rules.mk
-TARGETS:=adk mkcrypt cpio mkimage genext2fs cdrtools syslinux
+TARGETS:=adk mkcrypt cpio mkimage genext2fs
+ifeq ($(ADK_TARGET_ROOTFS_ISO),y)
+TARGETS+=cdrtools syslinux
+endif
TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
diff --git a/tools/syslinux/Makefile b/tools/syslinux/Makefile
index 2f44c301b..1ac6ef672 100644
--- a/tools/syslinux/Makefile
+++ b/tools/syslinux/Makefile
@@ -24,6 +24,7 @@ $(WRKBUILD)/.installed: ${WRKBUILD}/.compiled
${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}' \
INSTALLROOT='${WRKINST}' \
bios install
+ touch $@
${TOOLS_DIR}/extlinux: $(WRKBUILD)/.installed
$(INSTALL_BIN) ${WRKINST}/sbin/extlinux \