mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 04:30:00 +00:00
klibc: upgrade from 2.0 to 2.0.1
* remove unused patches legacy of oe-classic Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -1,111 +0,0 @@
|
|||||||
Patch was imported from the OpenEmbedded git server
|
|
||||||
(git://git.openembedded.org/openembedded)
|
|
||||||
as of commit id ad67a97e8fbfb03a68088a6ca6ad87b086c88094
|
|
||||||
Signed-off-by: Thomas Kunze <thommycheck@gmx.de>
|
|
||||||
Minor adjustments tracking upstream changes
|
|
||||||
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
|
|
||||||
|
|
||||||
diff -uNr klibc-1.5.22.orig//usr/dash/miscbltin.c klibc-1.5.22/usr/dash/miscbltin.c
|
|
||||||
--- klibc-1.5.22.orig//usr/dash/miscbltin.c 2011-06-11 02:08:49.000000000 +0200
|
|
||||||
+++ klibc-1.5.22/usr/dash/miscbltin.c 2011-06-11 13:55:32.000000000 +0200
|
|
||||||
@@ -46,6 +46,7 @@
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <inttypes.h>
|
|
||||||
#include <time.h> /* strtotimeval() */
|
|
||||||
+#include <termios.h>
|
|
||||||
|
|
||||||
#include "shell.h"
|
|
||||||
#include "options.h"
|
|
||||||
@@ -149,6 +150,11 @@
|
|
||||||
int timeout;
|
|
||||||
int i;
|
|
||||||
fd_set set;
|
|
||||||
+ int n_flag = 0;
|
|
||||||
+ unsigned int nchars = 0;
|
|
||||||
+ int silent = 0;
|
|
||||||
+ struct termios tty, old_tty;
|
|
||||||
+
|
|
||||||
struct timeval ts, t0, t1, to;
|
|
||||||
|
|
||||||
ts.tv_sec = ts.tv_usec = 0;
|
|
||||||
@@ -156,11 +162,18 @@
|
|
||||||
rflag = 0;
|
|
||||||
timeout = 0;
|
|
||||||
prompt = NULL;
|
|
||||||
- while ((i = nextopt("p:rt:")) != '\0') {
|
|
||||||
+ while ((i = nextopt("p:rt:n:s")) != '\0') {
|
|
||||||
switch(i) {
|
|
||||||
case 'p':
|
|
||||||
prompt = optionarg;
|
|
||||||
break;
|
|
||||||
+ case 'n':
|
|
||||||
+ nchars = strtoul(optionarg, NULL, 10);
|
|
||||||
+ n_flag = nchars; /* just a flag "nchars is nonzero" */
|
|
||||||
+ break;
|
|
||||||
+ case 's':
|
|
||||||
+ silent = 1;
|
|
||||||
+ break;
|
|
||||||
case 't':
|
|
||||||
p = strtotimeval(optionarg, &ts);
|
|
||||||
if (*p || (!ts.tv_sec && !ts.tv_usec))
|
|
||||||
@@ -182,6 +197,24 @@
|
|
||||||
}
|
|
||||||
if (*(ap = argptr) == NULL)
|
|
||||||
sh_error("arg count");
|
|
||||||
+ if (n_flag || silent) {
|
|
||||||
+ if (tcgetattr(0, &tty) != 0) {
|
|
||||||
+ /* Not a tty */
|
|
||||||
+ n_flag = 0;
|
|
||||||
+ silent = 0;
|
|
||||||
+ } else {
|
|
||||||
+ old_tty = tty;
|
|
||||||
+ if (n_flag) {
|
|
||||||
+ tty.c_lflag &= ~ICANON;
|
|
||||||
+ tty.c_cc[VMIN] = nchars < 256 ? nchars : 255;
|
|
||||||
+ }
|
|
||||||
+ if (silent) {
|
|
||||||
+ tty.c_lflag &= ~(ECHO | ECHOK | ECHONL);
|
|
||||||
+ }
|
|
||||||
+ tcsetattr(0, TCSANOW, &tty);
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
|
|
||||||
status = 0;
|
|
||||||
if (timeout) {
|
|
||||||
@@ -200,12 +231,14 @@
|
|
||||||
goto start;
|
|
||||||
|
|
||||||
- for (;;) {
|
|
||||||
+ do {
|
|
||||||
if (timeout) {
|
|
||||||
gettimeofday(&t1, NULL);
|
|
||||||
if (t1.tv_sec > ts.tv_sec ||
|
|
||||||
(t1.tv_sec == ts.tv_sec &&
|
|
||||||
t1.tv_usec >= ts.tv_usec)) {
|
|
||||||
status = 1;
|
|
||||||
+ if (n_flag)
|
|
||||||
+ tcsetattr(0, TCSANOW, &old_tty);
|
|
||||||
break; /* Timeout! */
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -222,6 +255,8 @@
|
|
||||||
FD_SET(0, &set);
|
|
||||||
if (select(1, &set, NULL, NULL, &to) != 1) {
|
|
||||||
status = 1;
|
|
||||||
+ if (n_flag)
|
|
||||||
+ tcsetattr(0, TCSANOW, &old_tty);
|
|
||||||
break; /* Timeout! */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -263,6 +298,9 @@
|
|
||||||
newloc = startloc - 1;
|
|
||||||
}
|
|
||||||
- }
|
|
||||||
+ } while (!n_flag || --nchars);
|
|
||||||
+ if (n_flag || silent)
|
|
||||||
+ tcsetattr(0, TCSANOW, &old_tty);
|
|
||||||
+
|
|
||||||
out:
|
|
||||||
recordregion(startloc, p - (char *)stackblock(), 0);
|
|
||||||
STACKSTRNUL(p);
|
|
||||||
-74
@@ -1,74 +0,0 @@
|
|||||||
Patch was imported from the OpenEmbedded git server
|
|
||||||
(git://git.openembedded.org/openembedded)
|
|
||||||
as of commit id 2a98e2a2c1b55a0eb0ac09f2f9b55db2e4c23553
|
|
||||||
Signed-off-by: Thomas Kunze <thommycheck@gmx.de>
|
|
||||||
Refresh and fixes as of commit id 5dbd8d611f3cb7eb8baddb17211d6077e2060fdb
|
|
||||||
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
|
|
||||||
|
|
||||||
Index: klibc-1.5.22/usr/kinit/fstype/fstype.c
|
|
||||||
===================================================================
|
|
||||||
--- a/usr/kinit/fstype/fstype.c
|
|
||||||
+++ b/usr/kinit/fstype/fstype.c
|
|
||||||
@@ -20,7 +20,7 @@
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <sys/utsname.h>
|
|
||||||
#include <sys/vfs.h>
|
|
||||||
-
|
|
||||||
+#include <linux/types.h>
|
|
||||||
#define cpu_to_be32(x) __cpu_to_be32(x) /* Needed by romfs_fs.h */
|
|
||||||
|
|
||||||
#include "btrfs.h"
|
|
||||||
@@ -38,6 +38,12 @@
|
|
||||||
#include "squashfs_fs.h"
|
|
||||||
#include "xfs_sb.h"
|
|
||||||
|
|
||||||
+#if __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
+#include <linux/byteorder/big_endian.h>
|
|
||||||
+#else
|
|
||||||
+#include <linux/byteorder/little_endian.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
/*
|
|
||||||
* Slightly cleaned up version of jfs_superblock to
|
|
||||||
* avoid pulling in other kernel header files.
|
|
||||||
@@ -60,6 +66,30 @@
|
|
||||||
/* Swap needs the definition of block size */
|
|
||||||
#include "swap_fs.h"
|
|
||||||
|
|
||||||
+static int jffs2_image(const void *buf, unsigned long long *blocks)
|
|
||||||
+{
|
|
||||||
+ const unsigned char *p = buf;
|
|
||||||
+
|
|
||||||
+ if (p[0] == 0x85 && p[1] == 0x19) {
|
|
||||||
+ *blocks=0;
|
|
||||||
+ return 1;
|
|
||||||
+ }
|
|
||||||
+ return 0;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static int vfat_image(const void *buf, unsigned long long *blocks)
|
|
||||||
+{
|
|
||||||
+ const char *p = buf;
|
|
||||||
+
|
|
||||||
+ if (!strncmp(p + 54, "FAT12 ", 8)
|
|
||||||
+ || !strncmp(p + 54, "FAT16 ", 8)
|
|
||||||
+ || !strncmp(p + 82, "FAT32 ", 8)) {
|
|
||||||
+ *blocks=0;
|
|
||||||
+ return 1;
|
|
||||||
+ }
|
|
||||||
+ return 0;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
static int gzip_image(const void *buf, unsigned long long *bytes)
|
|
||||||
{
|
|
||||||
const unsigned char *p = buf;
|
|
||||||
@@ -495,6 +525,8 @@ static struct imagetype images[] = {
|
|
||||||
{1, "ext3", ext3_image},
|
|
||||||
{1, "ext2", ext2_image},
|
|
||||||
{1, "minix", minix_image},
|
|
||||||
+ {0, "jffs2", jffs2_image},
|
|
||||||
+ {0, "vfat", vfat_image},
|
|
||||||
{1, "nilfs2", nilfs2_image},
|
|
||||||
{2, "ocfs2", ocfs2_image},
|
|
||||||
{8, "reiserfs", reiserfs_image},
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,245 +0,0 @@
|
|||||||
Patch was imported from the OpenEmbedded git server
|
|
||||||
(git://git.openembedded.org/openembedded)
|
|
||||||
as of commit id acb6fa33fccf7196c86a3a28f927d4fa441d05eb
|
|
||||||
|
|
||||||
klibc: add wc to tools
|
|
||||||
* for use with uniboot
|
|
||||||
|
|
||||||
Signed-off-by: Thomas Kunze <thommycheck@gmx.de>
|
|
||||||
|
|
||||||
diff --git a/usr/utils/Kbuild b/usr/utils/Kbuild
|
|
||||||
index a52ea61..7c8ccfb 100644
|
|
||||||
--- a/usr/utils/Kbuild
|
|
||||||
+++ b/usr/utils/Kbuild
|
|
||||||
@@ -3,7 +3,7 @@
|
|
||||||
#
|
|
||||||
|
|
||||||
progs := chroot dd mkdir mkfifo mknod mount pivot_root umount
|
|
||||||
-progs += true false sleep ln mv nuke minips cat ls losetup
|
|
||||||
+progs += true false sleep ln mv nuke minips cat ls losetup wc
|
|
||||||
progs += uname halt kill readlink cpio sync dmesg modprobe
|
|
||||||
|
|
||||||
static-y := $(addprefix static/, $(progs))
|
|
||||||
@@ -62,6 +62,8 @@ static/losetup-y := losetup.o
|
|
||||||
shared/losetup-y := losetup.o
|
|
||||||
static/modprobe-y := modprobe.o
|
|
||||||
shared/modprobe-y := modprobe.o
|
|
||||||
+static/wc-y := wc.o
|
|
||||||
+shared/wc-y := wc.o
|
|
||||||
|
|
||||||
# Additionally linked targets
|
|
||||||
always := static/reboot static/poweroff shared/reboot shared/poweroff
|
|
||||||
diff --git a/usr/utils/wc.c b/usr/utils/wc.c
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..f5059fc
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/usr/utils/wc.c
|
|
||||||
@@ -0,0 +1,208 @@
|
|
||||||
+/* vi: set sw=4 ts=4: */
|
|
||||||
+/*
|
|
||||||
+ * wc implementation for busybox
|
|
||||||
+ *
|
|
||||||
+ * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
|
|
||||||
+ *
|
|
||||||
+ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
+/* BB_AUDIT SUSv3 _NOT_ compliant -- option -m is not currently supported. */
|
|
||||||
+/* http://www.opengroup.org/onlinepubs/007904975/utilities/wc.html */
|
|
||||||
+
|
|
||||||
+/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
|
|
||||||
+ *
|
|
||||||
+ * Rewritten to fix a number of problems and do some size optimizations.
|
|
||||||
+ * Problems in the previous busybox implementation (besides bloat) included:
|
|
||||||
+ * 1) broken 'wc -c' optimization (read note below)
|
|
||||||
+ * 2) broken handling of '-' args
|
|
||||||
+ * 3) no checking of ferror on EOF returns
|
|
||||||
+ * 4) isprint() wasn't considered when word counting.
|
|
||||||
+ *
|
|
||||||
+ * TODO:
|
|
||||||
+ *
|
|
||||||
+ * When locale support is enabled, count multibyte chars in the '-m' case.
|
|
||||||
+ *
|
|
||||||
+ * NOTES:
|
|
||||||
+ *
|
|
||||||
+ * The previous busybox wc attempted an optimization using stat for the
|
|
||||||
+ * case of counting chars only. I omitted that because it was broken.
|
|
||||||
+ * It didn't take into account the possibility of input coming from a
|
|
||||||
+ * pipe, or input from a file with file pointer not at the beginning.
|
|
||||||
+ *
|
|
||||||
+ * To implement such a speed optimization correctly, not only do you
|
|
||||||
+ * need the size, but also the file position. Note also that the
|
|
||||||
+ * file position may be past the end of file. Consider the example
|
|
||||||
+ * (adapted from example in gnu wc.c)
|
|
||||||
+ *
|
|
||||||
+ * echo hello > /tmp/testfile &&
|
|
||||||
+ * (dd ibs=1k skip=1 count=0 &> /dev/null; wc -c) < /tmp/testfile
|
|
||||||
+ *
|
|
||||||
+ * for which 'wc -c' should output '0'.
|
|
||||||
+ */
|
|
||||||
+#include <stdio.h>
|
|
||||||
+#include <stdlib.h>
|
|
||||||
+#include <string.h>
|
|
||||||
+#include <unistd.h>
|
|
||||||
+#undef isspace
|
|
||||||
+#undef isprint
|
|
||||||
+#define isspace(c) ((((c) == ' ') || (((unsigned int)((c) - 9)) <= (13 - 9))))
|
|
||||||
+#define isprint(c) (((unsigned int)((c) - 0x20)) <= (0x7e - 0x20))
|
|
||||||
+#define isspace_given_isprint(c) ((c) == ' ')
|
|
||||||
+
|
|
||||||
+#define COUNT_T unsigned long
|
|
||||||
+#define COUNT_FMT "u"
|
|
||||||
+#define optind 1
|
|
||||||
+FILE *fopen_or_warn_stdin(const char *filename)
|
|
||||||
+{
|
|
||||||
+ FILE *fp = stdin;
|
|
||||||
+
|
|
||||||
+ if (filename[0]) {
|
|
||||||
+ fp = fopen(filename, "r");
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ return fp;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+enum {
|
|
||||||
+ WC_LINES = 0,
|
|
||||||
+ WC_WORDS = 1,
|
|
||||||
+ WC_CHARS = 2,
|
|
||||||
+ WC_LENGTH = 3
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+int main(int argc, char **argv)
|
|
||||||
+{
|
|
||||||
+ FILE *fp;
|
|
||||||
+ const char *s, *arg;
|
|
||||||
+ const char *start_fmt = "%9"COUNT_FMT;
|
|
||||||
+ const char *fname_fmt = " %s\n";
|
|
||||||
+ COUNT_T *pcounts;
|
|
||||||
+ COUNT_T counts[4];
|
|
||||||
+ COUNT_T totals[4];
|
|
||||||
+ unsigned linepos;
|
|
||||||
+ unsigned u;
|
|
||||||
+ int num_files = 0;
|
|
||||||
+ int c;
|
|
||||||
+ signed char status = EXIT_SUCCESS;
|
|
||||||
+ signed char in_word;
|
|
||||||
+ unsigned print_type;
|
|
||||||
+
|
|
||||||
+ print_type = getopt(argc, argv, "lwcL");
|
|
||||||
+
|
|
||||||
+ if (print_type == 0) {
|
|
||||||
+ print_type = (1 << WC_LINES) | (1 << WC_WORDS) | (1 << WC_CHARS);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ argv += optind;
|
|
||||||
+ if (!argv[0]) {
|
|
||||||
+ *--argv = (char *) "wc";
|
|
||||||
+ fname_fmt = "\n";
|
|
||||||
+ if (!((print_type-1) & print_type)) /* exactly one option? */
|
|
||||||
+ start_fmt = "%"COUNT_FMT;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ memset(totals, 0, sizeof(totals));
|
|
||||||
+
|
|
||||||
+ pcounts = counts;
|
|
||||||
+
|
|
||||||
+ while ((arg = *argv++) != 0) {
|
|
||||||
+ ++num_files;
|
|
||||||
+ fp = fopen_or_warn_stdin(arg);
|
|
||||||
+ if (!fp) {
|
|
||||||
+ status = EXIT_FAILURE;
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ memset(counts, 0, sizeof(counts));
|
|
||||||
+ linepos = 0;
|
|
||||||
+ in_word = 0;
|
|
||||||
+
|
|
||||||
+ do {
|
|
||||||
+ /* Our -w doesn't match GNU wc exactly... oh well */
|
|
||||||
+
|
|
||||||
+ ++counts[WC_CHARS];
|
|
||||||
+ c = getc(fp);
|
|
||||||
+ if (isprint(c)) {
|
|
||||||
+ ++linepos;
|
|
||||||
+ if (!isspace_given_isprint(c)) {
|
|
||||||
+ in_word = 1;
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
+ } else if (((unsigned int)(c - 9)) <= 4) {
|
|
||||||
+ /* \t 9
|
|
||||||
+ * \n 10
|
|
||||||
+ * \v 11
|
|
||||||
+ * \f 12
|
|
||||||
+ * \r 13
|
|
||||||
+ */
|
|
||||||
+ if (c == '\t') {
|
|
||||||
+ linepos = (linepos | 7) + 1;
|
|
||||||
+ } else { /* '\n', '\r', '\f', or '\v' */
|
|
||||||
+ DO_EOF:
|
|
||||||
+ if (linepos > counts[WC_LENGTH]) {
|
|
||||||
+ counts[WC_LENGTH] = linepos;
|
|
||||||
+ }
|
|
||||||
+ if (c == '\n') {
|
|
||||||
+ ++counts[WC_LINES];
|
|
||||||
+ }
|
|
||||||
+ if (c != '\v') {
|
|
||||||
+ linepos = 0;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ } else if (c == EOF) {
|
|
||||||
+/* if (ferror(fp)) {
|
|
||||||
+ status = EXIT_FAILURE;
|
|
||||||
+ }
|
|
||||||
+*/ --counts[WC_CHARS];
|
|
||||||
+ goto DO_EOF; /* Treat an EOF as '\r'. */
|
|
||||||
+ } else {
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ counts[WC_WORDS] += in_word;
|
|
||||||
+ in_word = 0;
|
|
||||||
+ if (c == EOF) {
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
+ } while (1);
|
|
||||||
+
|
|
||||||
+ if (totals[WC_LENGTH] < counts[WC_LENGTH]) {
|
|
||||||
+ totals[WC_LENGTH] = counts[WC_LENGTH];
|
|
||||||
+ }
|
|
||||||
+ totals[WC_LENGTH] -= counts[WC_LENGTH];
|
|
||||||
+
|
|
||||||
+ if(fp != stdin)
|
|
||||||
+ fclose(fp);
|
|
||||||
+
|
|
||||||
+ OUTPUT:
|
|
||||||
+ /* coreutils wc tries hard to print pretty columns
|
|
||||||
+ * (saves results for all files, find max col len etc...)
|
|
||||||
+ * we won't try that hard, it will bloat us too much */
|
|
||||||
+ s = start_fmt;
|
|
||||||
+ u = 0;
|
|
||||||
+ do {
|
|
||||||
+ if (print_type & (1 << u)) {
|
|
||||||
+ printf(s, pcounts[u]);
|
|
||||||
+ s = " %9"COUNT_FMT; /* Ok... restore the leading space. */
|
|
||||||
+ }
|
|
||||||
+ totals[u] += pcounts[u];
|
|
||||||
+ } while (++u < 4);
|
|
||||||
+ printf(fname_fmt, arg);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ /* If more than one file was processed, we want the totals. To save some
|
|
||||||
+ * space, we set the pcounts ptr to the totals array. This has the side
|
|
||||||
+ * effect of trashing the totals array after outputting it, but that's
|
|
||||||
+ * irrelavent since we no longer need it. */
|
|
||||||
+ if (num_files > 1) {
|
|
||||||
+ num_files = 0; /* Make sure we don't get here again. */
|
|
||||||
+ arg = "total";
|
|
||||||
+ pcounts = totals;
|
|
||||||
+ --argv;
|
|
||||||
+ goto OUTPUT;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ fflush(stdout);
|
|
||||||
+ exit(status);
|
|
||||||
+}
|
|
||||||
@@ -40,7 +40,6 @@ do_install_append() {
|
|||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mkdir ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mkdir ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mkfifo ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mkfifo ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mknod ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mknod ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/modprobe ${D}${base_sbindir}
|
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mount ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mount ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mv ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/mv ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/nuke ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/nuke ${D}${base_bindir}
|
||||||
@@ -53,7 +52,6 @@ do_install_append() {
|
|||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/true ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/true ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/umount ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/umount ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/uname ${D}${base_bindir}
|
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/uname ${D}${base_bindir}
|
||||||
install -m 755 usr/utils/${KLIBC_UTILS_VARIANT}/wc ${D}${base_bindir}
|
|
||||||
ln -s gzip ${D}${base_bindir}/gunzip
|
ln -s gzip ${D}${base_bindir}/gunzip
|
||||||
ln -s gzip ${D}${base_bindir}/zcat
|
ln -s gzip ${D}${base_bindir}/zcat
|
||||||
}
|
}
|
||||||
@@ -77,7 +75,6 @@ RDEPENDS_klibc-utils-minips = "${THIS_LIBKLIBC}"
|
|||||||
RDEPENDS_klibc-utils-mkdir = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-mkdir = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-mkfifo = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-mkfifo = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-mknod = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-mknod = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-modprobe = "${THIS_LIBKLIBC}"
|
|
||||||
RDEPENDS_klibc-utils-mount = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-mount = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-mv = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-mv = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-nfsmount = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-nfsmount = "${THIS_LIBKLIBC}"
|
||||||
@@ -94,7 +91,6 @@ RDEPENDS_klibc-utils-sync = "${THIS_LIBKLIBC}"
|
|||||||
RDEPENDS_klibc-utils-true = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-true = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-umount = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-umount = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-uname = "${THIS_LIBKLIBC}"
|
RDEPENDS_klibc-utils-uname = "${THIS_LIBKLIBC}"
|
||||||
RDEPENDS_klibc-utils-wc = "${THIS_LIBKLIBC}"
|
|
||||||
|
|
||||||
PACKAGES_DYNAMIC = "${KLIBC_UTILS_PKGNAME}-*"
|
PACKAGES_DYNAMIC = "${KLIBC_UTILS_PKGNAME}-*"
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8
|
|||||||
# debugsources.list: No such file or directory:
|
# debugsources.list: No such file or directory:
|
||||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||||
|
|
||||||
INC_PR = "r1"
|
INC_PR = "r0"
|
||||||
|
|
||||||
KLIBC_ARCH = '${TARGET_ARCH}'
|
KLIBC_ARCH = '${TARGET_ARCH}'
|
||||||
KLIBC_ARCH_armeb = 'arm'
|
KLIBC_ARCH_armeb = 'arm'
|
||||||
@@ -21,17 +21,13 @@ KLIBC_ARCH_i586 = 'i386'
|
|||||||
KLIBC_ARCH_i686 = 'i386'
|
KLIBC_ARCH_i686 = 'i386'
|
||||||
KLIBC_ARCH_pentium = 'i386'
|
KLIBC_ARCH_pentium = 'i386'
|
||||||
|
|
||||||
SRCREV = "7cd9efd314a3d567c62f354bc2b5c0aaa3b35024"
|
SRCREV = "1a6f222b01cead2ec48556203f0e200107eb4c2f"
|
||||||
SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git;protocol=git"
|
SRC_URI = "git://git.kernel.org/pub/scm/libs/klibc/klibc.git;protocol=git"
|
||||||
|
|
||||||
SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch"
|
SRC_URI_append_linux-gnueabi = " file://klibc-config-eabi.patch"
|
||||||
SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch"
|
SRC_URI_append_linux-uclibceabi = " file://klibc-config-eabi.patch"
|
||||||
|
|
||||||
SRC_URI += "file://fstype-sane-vfat-and-jffs2-for-1.5.patch \
|
SRC_URI += "file://klibc-linux-libc-dev.patch \
|
||||||
file://klibc-linux-libc-dev.patch \
|
|
||||||
file://modprobe.patch \
|
|
||||||
file://dash_readopt.patch \
|
|
||||||
file://wc.patch \
|
|
||||||
file://prefix.patch \
|
file://prefix.patch \
|
||||||
file://staging.patch \
|
file://staging.patch \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user