summaryrefslogtreecommitdiffstats
path: root/cpukit/preinstall.am
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-23 07:58:42 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-01-24 08:39:21 +0100
commitdc9b70445015402d4d043830ecf4dd84b9400d49 (patch)
tree86d06a80d47632c3763c7cbac0243159858ceb1a /cpukit/preinstall.am
parentbsp/lpc32xx: Fix interrupt controller suppport (diff)
downloadrtems-dc9b70445015402d4d043830ecf4dd84b9400d49.tar.bz2
Provide <endian.h> for glibc compatibility
Update #2803.
Diffstat (limited to 'cpukit/preinstall.am')
-rw-r--r--cpukit/preinstall.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/preinstall.am b/cpukit/preinstall.am
index 030f00de08..a6a5879cc9 100644
--- a/cpukit/preinstall.am
+++ b/cpukit/preinstall.am
@@ -18,6 +18,10 @@ $(PROJECT_INCLUDE)/$(dirstamp):
@: > $(PROJECT_INCLUDE)/$(dirstamp)
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
+$(PROJECT_INCLUDE)/endian.h: include/endian.h $(PROJECT_INCLUDE)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/endian.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/endian.h
+
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
@$(MKDIR_P) $(PROJECT_INCLUDE)/rtems
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)