summaryrefslogtreecommitdiff
path: root/tools/syslinux/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:32:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:32:10 +0100
commitb700bbdede249dd290dc67ff2ebdaf730e3ffa6a (patch)
tree53c9e6bbdee8b73c4061d0132776791a8ab46787 /tools/syslinux/Makefile
parent9e358d94cc283c8022091e67fe3ca0580301a62a (diff)
move target/tools to tools, use ADK_HOST_NEED variable to build a tool, when required. Add archivers to tools, remove prereq checks for them. Rename host_ dir in preparation for shared openadk source via nfs/smb from different host systems. Make some abi cleanup
Diffstat (limited to 'tools/syslinux/Makefile')
-rw-r--r--tools/syslinux/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/syslinux/Makefile b/tools/syslinux/Makefile
index 5543813d5..1344538d1 100644
--- a/tools/syslinux/Makefile
+++ b/tools/syslinux/Makefile
@@ -12,27 +12,26 @@ PKG_SITES:= http://www.kernel.org/pub/linux/utils/boot/syslinux/
include ../rules.mk
WRKINST:= ${WRKBUILD}/openadk_installroot
-install: ${BIN_DIR}/extlinux ${STAGING_HOST_DIR}/usr/share/syslinux/.installed
+install: ${STAGING_HOST_DIR}/usr/bin/extlinux ${STAGING_HOST_DIR}/usr/share/syslinux/.installed
$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
- #(cd ${WRKBUILD}; ./configure)
${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}' bios installer
- touch $@
+ @touch $@
$(WRKBUILD)/.installed: ${WRKBUILD}/.compiled
mkdir -p ${WRKINST}
${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}' \
INSTALLROOT='${WRKINST}' \
bios install
- touch $@
+ @touch $@
-${BIN_DIR}/extlinux: $(WRKBUILD)/.installed
+${STAGING_HOST_DIR}/usr/bin/extlinux: $(WRKBUILD)/.installed
$(INSTALL_BIN) ${WRKINST}/sbin/extlinux \
- ${BIN_DIR}
+ ${STAGING_HOST_DIR}/usr/bin
${STAGING_HOST_DIR}/usr/share/syslinux/.installed: ${WRKBUILD}/.installed
mkdir -p ${STAGING_HOST_DIR}/usr/share
${CP} ${WRKINST}/usr/share/syslinux ${STAGING_HOST_DIR}/usr/share
- touch ${STAGING_HOST_DIR}/usr/share/syslinux/.installed
+ @touch ${STAGING_HOST_DIR}/usr/share/syslinux/.installed
include $(TOPDIR)/mk/tools.mk