- move compatibility headers to /lib/hardware

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-12-21 22:30:34 +01:00
committed by Thilo Graf
parent bc03da48b5
commit 5c413dce45
57 changed files with 81 additions and 79 deletions

8
lib/hardware/audio.h Normal file
View File

@@ -0,0 +1,8 @@
#if HAVE_COOL_HARDWARE
#include <audio_cs.h>
#elif USE_STB_HAL
#include <audio_hal.h>
#else
#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined.
#error do you need to include config.h?
#endif

8
lib/hardware/dmx.h Normal file
View File

@@ -0,0 +1,8 @@
#if HAVE_COOL_HARDWARE
#include <dmx_cs.h>
#elif USE_STB_HAL
#include <dmx_hal.h>
#else
#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined.
#error do you need to include config.h?
#endif

10
lib/hardware/video.h Normal file
View File

@@ -0,0 +1,10 @@
#if HAVE_COOL_HARDWARE
#include <cs_api.h>
#include <video_cs.h>
#elif USE_STB_HAL
#include <init_td.h>
#include <video_hal.h>
#else
#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined.
#error do you need to include config.h?
#endif