equal
deleted
inserted
replaced
20 # |
20 # |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 # OFED only builds with GCC |
24 # OFED only builds with GCC |
25 COMPILER=gcc3 |
25 COMPILER=gcc |
26 |
26 |
27 include ../../../make-rules/shared-macros.mk |
27 include ../../../make-rules/shared-macros.mk |
28 |
28 |
29 COMPONENT_NAME= infiniband-diags |
29 COMPONENT_NAME= infiniband-diags |
30 COMPONENT_VERSION= 1.5.8 |
30 COMPONENT_VERSION= 1.5.8 |
47 cp solaris_set_nodedesc.c $(@D)/src |
47 cp solaris_set_nodedesc.c $(@D)/src |
48 |
48 |
49 COMPONENT_INSTALL_ENV += PERL=$(PERL) |
49 COMPONENT_INSTALL_ENV += PERL=$(PERL) |
50 |
50 |
51 CONFIGURE_ENV += PERL=$(PERL) |
51 CONFIGURE_ENV += PERL=$(PERL) |
|
52 |
|
53 CONFIGURE_OPTIONS += --sbindir=$(USRSBINDIR) |
52 |
54 |
53 # it apears that configure is broken |
55 # it apears that configure is broken |
54 COMPONENT_BUILD_ARGS += LIBS="$(LIBS)" |
56 COMPONENT_BUILD_ARGS += LIBS="$(LIBS)" |
55 |
57 |
56 COMPONENT_PRE_CONFIGURE_ACTION =\ |
58 COMPONENT_PRE_CONFIGURE_ACTION =\ |
79 COMPONENT_POST_INSTALL_ACTION =\ |
81 COMPONENT_POST_INSTALL_ACTION =\ |
80 $(RM) $(CLEANUP_FILES);\ |
82 $(RM) $(CLEANUP_FILES);\ |
81 $(INSTALL) -m 644 manpages/set_nodedesc.sh.1m $(PROTOMAN)/man1m |
83 $(INSTALL) -m 644 manpages/set_nodedesc.sh.1m $(PROTOMAN)/man1m |
82 |
84 |
83 # common targets |
85 # common targets |
84 configure: $(CONFIGURE_32) |
86 configure: $(CONFIGURE_32_and_64) |
85 |
87 |
86 build: $(BUILD_32) |
88 build: $(BUILD_32_and_64) |
87 |
89 |
88 install: $(INSTALL_32) #$(PROTOMAN1MFILES) |
90 install: $(INSTALL_32_and_64) #$(PROTOMAN1MFILES) |
89 |
91 |
90 test: $(NO_TESTS) |
92 test: $(NO_TESTS) |
91 |
93 |
92 system-test: $(NO_TESTS) |
94 system-test: $(NO_TESTS) |