diff options
author | Koen Kooi <koen@openembedded.org> | 2009-03-05 08:59:56 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-03-05 08:59:56 +0100 |
commit | ba4087beedb8c0531e1d3884cc7c7841a40bf3b6 (patch) | |
tree | 1520945ab1f750251473dad6154a7b57a157f289 /packages | |
parent | 2db79270492b68ee74478af901d2d4e2b666217d (diff) | |
parent | e0890f15eea858e7eb1e6e7c17c1b34ad8126c72 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages')
-rw-r--r-- | packages/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch | 29 | ||||
-rw-r--r-- | packages/coreutils/coreutils_6.0.bb | 3 | ||||
-rw-r--r-- | packages/samsung-soc-utils/s3c2410-boot-usb-native_svn.bb (renamed from packages/s3c24xx-utils/s3c2410-boot-usb-native_svn.bb) | 0 | ||||
-rw-r--r-- | packages/samsung-soc-utils/s3c24xx-gpio_svn.bb (renamed from packages/s3c24xx-utils/s3c24xx-gpio_svn.bb) | 0 | ||||
-rw-r--r-- | packages/samsung-soc-utils/s3c64xx-gpio_svn.bb | 18 | ||||
-rw-r--r-- | packages/samsung-soc-utils/sjf2410-linux-native_svn.bb (renamed from packages/s3c24xx-utils/sjf2410-linux-native_svn.bb) | 0 |
6 files changed, 49 insertions, 1 deletions
diff --git a/packages/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch b/packages/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch new file mode 100644 index 0000000000..1af9fb97b6 --- /dev/null +++ b/packages/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch @@ -0,0 +1,29 @@ +Index: coreutils-6.0/src/install.c +=================================================================== +--- coreutils-6.0.orig/src/install.c 2009-03-04 15:37:45.000000000 -0800 ++++ coreutils-6.0/src/install.c 2009-03-04 15:38:57.000000000 -0800 +@@ -526,7 +526,14 @@ + strip (char const *name) + { + int status; +- pid_t pid = fork (); ++ pid_t pid; ++ char *strip_name; ++ ++ strip_name = getenv ("STRIP"); ++ if (strip_name == NULL) ++ strip_name = "strip"; ++ ++ pid = fork (); + + switch (pid) + { +@@ -534,7 +541,7 @@ + error (EXIT_FAILURE, errno, _("fork system call failed")); + break; + case 0: /* Child. */ +- execlp ("strip", "strip", name, NULL); ++ execlp (strip_name, "strip", name, NULL); + error (EXIT_FAILURE, errno, _("cannot run strip")); + break; + default: /* Parent. */ diff --git a/packages/coreutils/coreutils_6.0.bb b/packages/coreutils/coreutils_6.0.bb index 4d4c049465..d0d082bc63 100644 --- a/packages/coreutils/coreutils_6.0.bb +++ b/packages/coreutils/coreutils_6.0.bb @@ -1,12 +1,13 @@ require coreutils.inc -PR = "r2" +PR = "r3" SRC_URI = "\ ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \ file://man.patch;patch=1 \ file://oe-old-tools.patch;patch=1 \ file://futimens.patch;patch=1 \ + file://coreutils-install-use-STRIP.patch;patch=1 \ file://onceonly.m4 \ " diff --git a/packages/s3c24xx-utils/s3c2410-boot-usb-native_svn.bb b/packages/samsung-soc-utils/s3c2410-boot-usb-native_svn.bb index 675d07c910..675d07c910 100644 --- a/packages/s3c24xx-utils/s3c2410-boot-usb-native_svn.bb +++ b/packages/samsung-soc-utils/s3c2410-boot-usb-native_svn.bb diff --git a/packages/s3c24xx-utils/s3c24xx-gpio_svn.bb b/packages/samsung-soc-utils/s3c24xx-gpio_svn.bb index 0a57d2c0e6..0a57d2c0e6 100644 --- a/packages/s3c24xx-utils/s3c24xx-gpio_svn.bb +++ b/packages/samsung-soc-utils/s3c24xx-gpio_svn.bb diff --git a/packages/samsung-soc-utils/s3c64xx-gpio_svn.bb b/packages/samsung-soc-utils/s3c64xx-gpio_svn.bb new file mode 100644 index 0000000000..92110691cf --- /dev/null +++ b/packages/samsung-soc-utils/s3c64xx-gpio_svn.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "A user-space tool to show and modify the state of GPIOs on the S3c64xx platform" +SECTION = "console/utils" +AUTHOR = "Werner Almesberger <werner@openmoko.org>" +LICENSE = "GPL" +PV = "1.0+svnr${SRCREV}" +PR = "r0" + +SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gpio;proto=http" +S = "${WORKDIR}/gpio" + +do_compile() { + ${CC} ${CFLAGS} ${LDFLAGS} -static -o ${PN} gpio-s3c6410.c +} + +do_install() { + install -d ${D}${sbindir} + install -m 0755 ${PN} ${D}${sbindir} +} diff --git a/packages/s3c24xx-utils/sjf2410-linux-native_svn.bb b/packages/samsung-soc-utils/sjf2410-linux-native_svn.bb index fcfbba923d..fcfbba923d 100644 --- a/packages/s3c24xx-utils/sjf2410-linux-native_svn.bb +++ b/packages/samsung-soc-utils/sjf2410-linux-native_svn.bb |