Out-of-tree code can still be using the old file locations. Introduce header shims to include the headers from the new correct location and print a warning message. Add also a new Kconfig symbol to suppress such warning. The shim will go away after two releases, so make sure to adapt your application for the new locations. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
16 lines
401 B
C
16 lines
401 B
C
/*
|
|
* Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_THREAD_H_
|
|
#define ZEPHYR_INCLUDE_ARCH_ARM_THREAD_H_
|
|
|
|
#ifndef CONFIG_COMPAT_INCLUDES
|
|
#warning "This header file has moved, include <arch/arm/aarch32/thread.h> instead."
|
|
#endif
|
|
|
|
#include <arch/arm/aarch32/thread.h>
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_THREAD_H_ */
|