diff options
| author | Khem Raj <raj.khem@gmail.com> | 2014-08-25 16:45:03 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-27 12:12:07 +0100 |
| commit | 7562021eef5b7585122c92db8b686808ebe7d85e (patch) | |
| tree | 1624fcad4af0647ce1ca0fedca4aaeed251f8973 /meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch | |
| parent | 8003ce0df3f6297391a709cc9720adffbd8fbd0f (diff) | |
| download | openembedded-core-7562021eef5b7585122c92db8b686808ebe7d85e.tar.gz openembedded-core-7562021eef5b7585122c92db8b686808ebe7d85e.tar.bz2 openembedded-core-7562021eef5b7585122c92db8b686808ebe7d85e.zip | |
uclibc: Support systemd builds
Systemd needs some extra defines e.g.
ADJ_NANO and IPTOS_CLASS_CS6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch')
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch b/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch new file mode 100644 index 0000000000..5d6a0a5366 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch @@ -0,0 +1,33 @@ +From f489cc44a209f6c4370e94c9c788fc9cc4820be1 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Mon, 25 Aug 2014 16:22:57 -0700 +Subject: [PATCH] timex: Sync with glibc + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Upstream-status: Pending +--- + include/sys/timex.h | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/include/sys/timex.h b/include/sys/timex.h +index 9082a28..57059bd 100644 +--- a/include/sys/timex.h ++++ b/include/sys/timex.h +@@ -67,8 +67,12 @@ struct timex + #define ADJ_ESTERROR 0x0008 /* estimated time error */ + #define ADJ_STATUS 0x0010 /* clock status */ + #define ADJ_TIMECONST 0x0020 /* pll time constant */ +-#define ADJ_TICK 0x4000 /* tick value */ +-#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ ++#define ADJ_TAI 0x0080 /* set TAI offset */ ++#define ADJ_MICRO 0x1000 /* select microsecond resolution */ ++#define ADJ_NANO 0x2000 /* select nanosecond resolution */ ++#define ADJ_TICK 0x4000 /* tick value */ ++#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ ++#define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */ + + /* xntp 3.4 compatibility names */ + #define MOD_OFFSET ADJ_OFFSET +-- +2.1.0 + |
