[openfabrics-ewg] [PATCH 1/2] Add VNIC tools to usermode package configure and Makefile

Vladimir Sokolovsky vlad at mellanox.co.il
Wed Jan 24 08:09:42 PST 2007


On Wed, 2007-01-24 at 03:01 +0530, Ramachandra K wrote:
> Add the QLogic VNIC tools, qlvnictools, to the OFED usermode package
> 
> 
> Signed-off-by: Ramachandra K <ramachandra.kuchimanchi at qlogic.com>
> ---

> +
> +install_qlvnictools:
> +	$(MAKE) -C $(SRC)userspace/qlvnictools/ibvexdmtools install
> +	install -m 0754 $(SRC)userspace/qlvnictools/ql_vnic /etc/init.d/
> +	install -m 0754 $(SRC)userspace/qlvnictools/vnic_parser.pl /usr/local/sbin

vnic_parser.pl should be installed under $(DESTDIR)/$(prefix)/sbin
ql_vnic should be installed under $(DESTDIR)/etc/init.d/

>  		
> @@ -436,7 +455,8 @@ uninstall:
>  	-rm -f $(DESTDIR)/$(prefix)/utils/arping
>  	-rm -f $(DESTDIR)/$(prefix)/bin/mcasthandle
>  	-rm -f $(DESTDIR)/$(prefix)/bin/ipoib_ha.pl
> -
> +	-rm -f /etc/init.d/ql_vnic
> +	-rm -f /usr/local/sbin/vnic_parser.pl

Use $(DESTDIR)/$(prefix) ...
>  
>  help:
>  	@echo

-- 
Vladimir Sokolovsky <vlad at mellanox.co.il>
Mellanox Technologies Ltd.




More information about the ewg mailing list