anchor.diff:  	install -d ${D}${includedir}/azureiot/modules/logger
   	install -m 0644 ${S}/modules/logger/inc/*.h ${D}${includedir}/azureiot/modules/logger
   
  +	install -d ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/logger/src
  +	install -d ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/logger/inc
  +	install -m 0644 ${S}/modules/logger/src/*.c ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/logger/src/
  +	install -m 0644 ${S}/modules/logger/inc/*.h ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/logger/inc/
  +
   	# Simulated Device Module
   	install -d ${D}${exec_prefix}/lib/azureiot/modules/simulated_device
   	oe_libinstall -C ${B}/modules/simulated_device/ -so libsimulated_device ${D}${exec_prefix}/lib/azureiot/modules/simulated_device/
   
   	install -d ${D}${includedir}/azureiot/modules/simulated_device
   	install -m 0644 ${S}/modules/simulated_device/inc/*.h ${D}${includedir}/azureiot/modules/simulated_device
  +
  +	install -d ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/simulated_device/src
  +	install -d ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/simulated_device/inc
  +	install -m 0644 ${S}/modules/simulated_device/src/*.c ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/simulated_device/src/
  +	install -m 0644 ${S}/modules/simulated_device/inc/*.h ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/simulated_device/inc/
   
   	# Azure Functions Sample
   	install -d ${D}${datadir}/azureiotgatewaysdk/samples/azure_functions
  
positive.code: 	file://Update-sample-module-paths.patch \
  "
  
  PR = "r1"
  
  B = "${WORKDIR}/build"
  
  
negative.code: 	install -d ${D}${includedir}/azureiot/modules/common
  	install -m 0644 ${S}/modules/common/*.h ${D}${includedir}/azureiot/modules/common
  
  	install -d ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/common
  	install -m 0644 ${S}/modules/common/*.h ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/common/
  
  	# Azure Functions Module
  	install -d ${D}${exec_prefix}/lib/azureiot/modules/azure_functions
  	oe_libinstall -C ${B}/modules/azure_functions/ -so libazure_functions ${D}${exec_prefix}/lib/azureiot/modules/azure_functions/
  
  	install -d ${D}${includedir}/azureiot/modules/azure_functions
  	install -m 0644 ${S}/modules/azure_functions/inc/*.h ${D}${includedir}/azureiot/modules/azure_functions
  
  	install -d ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/azure_functions/src
  	install -d ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/azure_functions/inc
  	install -m 0644 ${S}/modules/azure_functions/src/*.c ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/azure_functions/src/
  	install -m 0644 ${S}/modules/azure_functions/inc/*.h ${D}${exec_prefix}/src/azureiotgatewaysdk/modules/azure_functions/inc/
  
  	# BLE Module
  	if [ -e ${B}/modules/ble/ ]; then
  