4.104.114.84.95
Last change
on this file since 42ed3004 was
04e4829,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/06/00 at 14:04:29
|
Patch rtems-rc-20000626-1.diff from Ralf Corsepius <corsepiu@…>.
Comments follow:
Building linux/posix fails due to including lib/include/sys/cdefs.h
instead of linux's sys/cdefs.h.
AFAIS, this sys/cdefs.h is specific to newlib and should probably
not be used on any unix host.
Therefore, I changed the relevant Makefile.am/configure.in to
condionally install sys/cdefs.h only if newlib is present.
This triggered another bug inside of the newlib-check for one of
RTEMS target's (Unfortunately I can't remember which - mips/i960 ?
... one of the more exotic ...), for which int func() isn't
identical to void func().
Note: This patch needs to be tested under Cygwin and Solaris. I am
particularily unsure about Cygwin/posix, as it applies a different
version newlib which must not trigger RTEMS newlib check (it is
supposed to fail) and if it may need RTEMS's sys/cdefs.h.
|
-
Property mode set to
100644
|
File size:
552 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | if HAS_NETWORKING |
---|
8 | else |
---|
9 | NETWORKING_H_FILES += ioctl.h |
---|
10 | endif |
---|
11 | |
---|
12 | if NEWLIB |
---|
13 | NEWLIB_H_FILES += termios.h cdefs.h |
---|
14 | endif |
---|
15 | |
---|
16 | H_FILES = ioccom.h utime.h $(NEWLIB_H_FILES) $(NETWORKING_H_FILES) |
---|
17 | |
---|
18 | noinst_HEADERS = utime.h termios.h ioctl.h ioccom.h |
---|
19 | |
---|
20 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \ |
---|
21 | $(H_FILES:%=$(PROJECT_INCLUDE)/sys/%) |
---|
22 | |
---|
23 | $(PROJECT_INCLUDE)/sys: |
---|
24 | @$(mkinstalldirs) $@ |
---|
25 | $(PROJECT_INCLUDE)/sys/%.h: %.h |
---|
26 | $(INSTALL_DATA) $< $@ |
---|
27 | |
---|
28 | all-local: $(PREINSTALL_FILES) |
---|
29 | |
---|
30 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.