gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / openindiana / bnx / Makefile
blobdf61d9315f4613f4fd5032e2dd2d393660fc8b41
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= bnx
20 COMPONENT_VERSION= 7.8.2
21 COMPONENT_REVISION= 1
22 IPS_COMPONENT_VERSION= 0.5.11
23 HUMAN_VERSION=$(COMPONENT_VERSION)
24 COMPONENT_REVISION=1
25 COMPONENT_SUMMARY= Broadcom NetXtreme II Gigabit Ethernet Adapter Driver
26 COMPONENT_SRC= BRCMbnx
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-S11-i386-$(COMPONENT_VERSION).tar.Z
28 COMPONENT_ARCHIVE_HASH= \
29 sha256:0ef103dd18c96668f968b55f63c6b6c38d1711fd921dffc0d23047a39d708d40
30 # Note, we are not sure if we can distribute this source file, so it is available
31 # only from our build servers
32 # However, you can manually download Solaris GLDv3 driver from
33 # http://www.broadcom.com/support/ethernet_nic/netxtremeii.php ,
34 # extract BRCMbnx-S11-i386-7.8.2.tar.Z and put it in component dir.
35 COMPONENT_ARCHIVE_URL= \
36 http://dlc-int.openindiana.org/hipster/broadcom/BRCMbnx-S11-i386-7.8.2.tar.Z
37 COMPONENT_PROJECT_URL = http://www.broadcom.com/support/ethernet_nic/netxtremeii.php
39 include $(WS_TOP)/make-rules/prep.mk
40 include $(WS_TOP)/make-rules/ips.mk
42 CLEAN_PATHS += $(BUILD_DIR)
44 $(BUILD_32): $(SOURCE_DIR)/.prep
45 $(MKDIR) $(@D)
46 $(TOUCH) $@
48 $(INSTALL_32): $(BUILD_32)
49 $(MKDIR) $(PROTO_DIR)
50 cp -a $(SOURCE_DIR)/reloc/* $(PROTO_DIR)
51 $(TOUCH) $@
53 build: $(BUILD_32)
55 install: $(INSTALL_32)