diff -r 3112a7eca680 -r 64163110c734 components/open-fabrics/perftest/Makefile --- a/components/open-fabrics/perftest/Makefile Mon Dec 30 09:33:11 2013 -0800 +++ b/components/open-fabrics/perftest/Makefile Mon Dec 30 09:33:11 2013 -0800 @@ -18,7 +18,7 @@ # # CDDL HEADER END # -# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. # include ../../../make-rules/shared-macros.mk @@ -60,6 +60,13 @@ COMPONENT_BUILD_ARGS += $(COMMON_ARGS) COMPONENT_INSTALL_ARGS += $(COMMON_ARGS) +# need to translate ctrl-M in downloaded send_bw.c +COMPONENT_POST_UNPACK_ACTION= \ + cd $(@D); \ + /usr/bin/tr -d '\r' < send_bw.c > send_bw.c.tmp; \ + mv send_bw.c.tmp send_bw.c; \ + cd ..; + COMPONENT_PREP_ACTION = $(TOUCH) $(@D)/configure COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))