# -*-makefile-*- # # Copyright (C) 2006 by Robert Schwebel # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # CROSS_PACKAGES-$(PTXCONF_CROSS_TOOLCHAIN) += cross-toolchain CROSS_TOOLCHAIN_LICENSE := ignore # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- $(STATEDIR)/cross-toolchain.install: @$(call targetinfo) @if [ -e "${PTXCONF_SYSROOT_CROSS}/bin/ptxconfig" ]; then \ rm -rf "${PTXCONF_SYSROOT_CROSS}/bin/ptxconfig"; \ fi @cp ${PTXDIST_PTXCONFIG} ${PTXCONF_SYSROOT_CROSS}/bin/ptxconfig @if [ -e "$(STATEDIR)/toolchain-install-dir" ]; then \ rm -rf "$(STATEDIR)/toolchain-install-dir"; \ fi @ln -s ${PTXCONF_SYSROOT_CROSS} $(STATEDIR)/toolchain-install-dir @$(call touch) # vim: syntax=make