This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, 1.0 has been updated
via 756575e5b6d157e81ce3a89cd866b4c17b71e309 (commit)
via 0c91741de0b307a7090125984b327a4374d27142 (commit)
from cddda5f9beb3d61f1122df95ccfcf855931775b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 756575e5b6d157e81ce3a89cd866b4c17b71e309
Author: Yoshinori Sato <ysato(a)users.sourceforge.jp>
Date: Sat Jan 9 16:27:58 2016 +0900
h8300: O_DIRECT and O_DIRECTORY swapping.
Different define of latest kernel.
kernel define is
#define O_DIRECT 00040000 /* direct disk access hint */
#define O_DIRECTORY 00200000 /* must be a directory */
Yoshinori Sato <ysato(a)users.sourceforge.jp>
commit 0c91741de0b307a7090125984b327a4374d27142
Author: Eugene Rudoy <gene(a)freetz.org>
Date: Sat Jan 9 12:00:43 2016 +0100
ARCH_NATIVE_BIT should in the first place be passed when building utils for host
ARCH_NATIVE_BIT should in the first place be passed when building utils
for host (BUILD_CFLAGS-utils). It could also be passed when building utils
for target (CFLAGS-utils), but this is actually not necessary
as ARCH_NATIVE_BIT and __WORDSIZE are identical in this case.
Fixes 5ec4477584b69fe5f1410649b2eb3a63835fb649 (makes it actually work).
Signed-off-by: Eugene Rudoy <gene(a)freetz.org>
-----------------------------------------------------------------------
Summary of changes:
libc/sysdeps/linux/h8300/bits/fcntl.h | 4 ++--
utils/Makefile.in | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libc/sysdeps/linux/h8300/bits/fcntl.h
b/libc/sysdeps/linux/h8300/bits/fcntl.h
index d180cbd..c167ee2 100644
--- a/libc/sysdeps/linux/h8300/bits/fcntl.h
+++ b/libc/sysdeps/linux/h8300/bits/fcntl.h
@@ -44,8 +44,8 @@
#define O_ASYNC 020000
#ifdef __USE_GNU
-# define O_DIRECTORY 040000 /* Must be a directory. */
-# define O_DIRECT 0200000 /* Direct disk access. */
+# define O_DIRECT 040000 /* Direct disk access. */
+# define O_DIRECTORY 0200000 /* Must be a directory. */
# define O_NOFOLLOW 0400000 /* Do not follow links. */
# define O_NOATIME 01000000 /* Do not set atime. */
# define O_CLOEXEC 02000000 /* Set close_on_exec. */
diff --git a/utils/Makefile.in b/utils/Makefile.in
index a601721..6349aa7 100644
--- a/utils/Makefile.in
+++ b/utils/Makefile.in
@@ -14,7 +14,6 @@ CFLAGS-utils := \
-I$(top_srcdir)ldso/include \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \
- -DARCH_NATIVE_BIT=$(ARCH_NATIVE_BIT) \
-I$(top_srcdir)/$(KERNEL_HEADERS) \
-DNOT_IN_libc \
-B$(top_builddir)lib \
@@ -54,6 +53,7 @@ UTILS_CONFIG_FLAGS-$(LDSO_STANDALONE_SUPPORT) +=
-D__LDSO_STANDALONE_SUPPORT__
BUILD_CFLAGS-utils := \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \
+ -DARCH_NATIVE_BIT=$(ARCH_NATIVE_BIT) \
$(UTILS_CONFIG_FLAGS-y)
BUILD_CFLAGS-ldconfig.host := \
-DBUILDING_LINKAGE \
hooks/post-receive
--
uClibc-ng - small C library for embedded systems