build: if some hal is not in the tree, do not complain

When integrating Zephyr in other environments to build for a specific
product or platform, we should be able to remove HALs that are not
needed and usually huge in size.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-08-03 08:33:40 -04:00 committed by Anas Nashif
parent 80e82e7205
commit 32e6b747ca

View file

@ -3,16 +3,16 @@ ifdef CONFIG_ASF
include $(srctree)/ext/hal/atmel/asf/Makefile
endif
include $(srctree)/ext/hal/cmsis/Makefile
-include $(srctree)/ext/hal/cmsis/Makefile
include $(srctree)/ext/hal/nordic/Makefile
-include $(srctree)/ext/hal/nordic/Makefile
include $(srctree)/ext/hal/nxp/mcux/Makefile
-include $(srctree)/ext/hal/nxp/mcux/Makefile
include $(srctree)/ext/hal/qmsi/Makefile
-include $(srctree)/ext/hal/qmsi/Makefile
include $(srctree)/ext/hal/st/stm32cube/Makefile
-include $(srctree)/ext/hal/st/stm32cube/Makefile
include $(srctree)/ext/hal/ti/cc3200sdk/Makefile
-include $(srctree)/ext/hal/ti/cc3200sdk/Makefile
include $(srctree)/ext/hal/ti/simplelink/Makefile
-include $(srctree)/ext/hal/ti/simplelink/Makefile