| HFW_GLAUKUS_HAL_SITE=repo://vendor/hfw/glaukus-hal |
| HFW_GLAUKUS_HAL_INSTALL_STAGING=YES |
| HFW_GLAUKUS_HAL_INSTALL_TARGET=YES |
| |
| HOST_HFW_GLAUKUS_HAL_DEPENDENCIES=host-hfw_glaukus_protobuf host-bcm_851xxapi |
| HFW_GLAUKUS_HAL_DEPENDENCIES=hfw_glaukus_protobuf bcm_851xxapi |
| |
| HFW_GLAUKUS_HAL_HOST_CFLAGS= |
| HFW_GLAUKUS_HAL_TARGET_CFLAGS= |
| |
| HOST_HFW_GLAUKUS_HAL_ENV= |
| HFW_GLAUKUS_HAL_ENV= |
| |
| HOST_HFW_GLAUKUS_HAL_MFLAGS= \ |
| CFLAGS=-I$(HOST_DIR)/usr/include \ |
| XLDFLAGS=-L$(HOST_DIR)/usr/lib |
| |
| HFW_GLAUKUS_HAL_MFLAGS= \ |
| PCC="$(HOST_DIR)/usr/bin/protoc" \ |
| CC="$(TARGET_CC)" \ |
| CXX="$(TARGET_CXX)" \ |
| LD="$(TARGET_CC)" \ |
| TARGET_CFLAGS=-I$(STAGING_DIR)/usr/include \ |
| XTARGET_LDFLAGS=-L$(STAGING_DIR)/usr/lib \ |
| LIB_INSTALL_DIR=$(STAGING_DIR)/usr/lib \ |
| HEADERS_INSTALL_DIR=$(STAGING_DIR)/usr/include/glaukus \ |
| TOOLS_INSTALL_DIR=$(TARGET_DIR)/sbin \ |
| CONFIG_INSTALL_DIR=$(TARGET_DIR)/etc/glaukus \ |
| STAGING_DIR=$(STAGING_DIR) |
| |
| HOST_HFW_GLAUKUS_HAL_MAKE=$(HOST_HFW_GLAUKUS_HAL_ENV) $(MAKE) $(HOST_HFW_GLAUKUS_HAL_MFLAGS) |
| HFW_GLAUKUS_HAL_MAKE=$(HFW_GLAUKUS_HAL_ENV) $(MAKE) $(HFW_GLAUKUS_HAL_MFLAGS) |
| |
| define HFW_GLAUKUS_HAL_CONFIGURE_CMDS |
| cp $(@D)/platforms/config.chimera $(@D)/.config |
| endef |
| |
| define HOST_HFW_GLAUKUS_HAL_BUILD_CMDS |
| $(HOST_HFW_GLAUKUS_HAL_MAKE) -C $(@D) all |
| endef |
| |
| define HFW_GLAUKUS_HAL_BUILD_CMDS |
| $(HFW_GLAUKUS_HAL_MAKE) -C $(@D) all |
| endef |
| |
| HFW_GLAUKUS_HAL_ETCDIR = $(TARGET_DIR)/etc/gfch100 |
| |
| define HFW_GLAUKUS_HAL_INSTALL_STAGING_CMDS |
| $(HFW_GLAUKUS_HAL_MAKE) -C $(@D) install-lib |
| endef |
| |
| define HFW_GLAUKUS_HAL_INSTALL_TARGET_CMDS |
| $(HFW_GLAUKUS_HAL_MAKE) -C $(@D) install-tools |
| endef |
| |
| $(eval $(call GENTARGETS)) |
| $(eval $(call GENTARGETS,host)) |