bsp/gen5200: Fix i2c.h and i2cdrv.h installation

Install these files only as <bsp/i2c.h> and <bsp/i2cdrv.h>.

Update #3254.
This commit is contained in:
Sebastian Huber
2018-01-19 15:28:33 +01:00
parent cf2024bc8a
commit d898f6e18e
8 changed files with 8 additions and 17 deletions

View File

@@ -12,8 +12,7 @@ include_bestcomm_task_apidir = $(include_bestcommdir)/task_api
dist_project_lib_DATA = bsp_specs
include_HEADERS = include/bsp.h include/i2cdrv.h \
include/i2c.h
include_HEADERS = include/bsp.h
include_HEADERS += include/tm27.h
nodist_include_HEADERS = include/bspopts.h

View File

@@ -36,11 +36,11 @@
*/
#include <bsp.h>
#include <bsp/i2c.h>
#include <bsp/i2cdrv.h>
#include <stdlib.h>
#include <string.h>
#include "../include/i2c.h"
#include "../include/i2cdrv.h"
#include "mpc5200mbus.h"
#ifndef I2C_NUMBER_OF_BUSES

View File

@@ -33,7 +33,7 @@
#include "../i2c/mpc5200mbus.h"
#include <bsp/mpc5200.h>
#include <bsp/irq.h>
#include <i2c.h>
#include <bsp/i2c.h>
/* Events of I2C machine */
typedef enum i2c_event {

View File

@@ -35,7 +35,7 @@
#define __MPC5200BSP_MPC5200MBUS_H__
#include <bsp/mpc5200.h>
#include <i2c.h>
#include <bsp/i2c.h>
/* States of I2C machine */

View File

@@ -142,7 +142,7 @@ LINKER_SYMBOL(MBAR);
#ifndef ASM
#include <rtems.h>
#include <i2cdrv.h>
#include <bsp/i2cdrv.h>
#include <bsp/irq.h>
#include <bsp/vectors.h>
#include <bsp/u-boot.h>

View File

@@ -61,14 +61,6 @@ $(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
$(PROJECT_INCLUDE)/i2cdrv.h: include/i2cdrv.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/i2cdrv.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/i2cdrv.h
$(PROJECT_INCLUDE)/i2c.h: include/i2c.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/i2c.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/i2c.h
$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h

View File

@@ -42,10 +42,10 @@
#include <rtems.h>
#include <bsp/fatal.h>
#include <bsp/i2c.h>
#include <libchip/rtc.h>
#include <string.h>
#include "../tod/pcf8563.h"
#include "../include/i2c.h"
/* Convert from/to Binary-Coded Decimal representation */
#define From_BCD( _x ) ((((_x) >> 4) * 10) + ((_x) & 0x0F))

View File

@@ -33,7 +33,7 @@
*/
#include <bsp.h>
#include "../include/i2c.h"
#include <bsp/i2c.h>
#include <libchip/rtc.h>
#include "../tod/pcf8563.h"