summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-16 13:11:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-16 13:11:33 +0100
commit422fe42ea4a4f5c5f868736e17a0462e1e5c1c6b (patch)
tree387c24796571c19abda81843ae13e5356091b3bf /tools
parent24db4fb9b27f4ea87b3ecdf8fd4dd07b62ba9514 (diff)
small fixes for iso target
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 \