summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8444d1b)
raw | patch | inline | side by side (parent: 8444d1b)
author | Franklin S Cooper Jr <fcooper@ti.com> | |
Thu, 25 Jul 2013 19:20:10 +0000 (14:20 -0500) | ||
committer | Franklin S Cooper Jr <fcooper@ti.com> | |
Fri, 26 Jul 2013 19:45:35 +0000 (14:45 -0500) |
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
recipes-core/goodbye-world/goodbye-world/0001-Patch-for-hello-world.patch | [new file with mode: 0644] | patch | blob |
recipes-core/goodbye-world/goodbye-world_1.0.bb | [new file with mode: 0644] | patch | blob |
recipes-core/packagegroups/packagegroup-meta-custom.bb | [new file with mode: 0644] | patch | blob |
diff --git a/recipes-core/goodbye-world/goodbye-world/0001-Patch-for-hello-world.patch b/recipes-core/goodbye-world/goodbye-world/0001-Patch-for-hello-world.patch
--- /dev/null
@@ -0,0 +1,72 @@
+From cc312e18e1909652291c641c4a50e45ac751ccde Mon Sep 17 00:00:00 2001
+From: Franklin S. Cooper Jr <fcooper@ti.com>
+Date: Wed, 15 May 2013 02:42:56 -0500
+Subject: [PATCH] Patch for hello-world
+
+Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
+---
+ Makefile | 8 ++++----
+ goodbye-world.c | 7 +++++++
+ hello-world.c | 7 -------
+ 3 files changed, 11 insertions(+), 11 deletions(-)
+ create mode 100644 goodbye-world.c
+ delete mode 100644 hello-world.c
+
+diff --git a/Makefile b/Makefile
+index 024cc7d..6dcc118 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,7 +3,7 @@
+ #
+ # @path
+ #
+-# @desc Makefile for Hello World (Debug and Release versions)
++# @desc Makefile for Goodbye World (Debug and Release versions)
+ #
+ # @ver 1.10
+ # ----------------------------------------------------------------------------
+@@ -25,12 +25,12 @@ CC := $(CROSS_COMPILE)gcc
+ # ----------------------------------------------------------------------------
+ # General options, sources and libraries
+ # ----------------------------------------------------------------------------
+-NAME := hello-world
+-SRCS := hello-world.c
++NAME := goodbye-world
++SRCS := goodbye-world.c
+ HDRS :=
+ OBJS :=
+ DEBUG :=
+-BIN := hello-world
++BIN := goodbye-world
+
+
+ # ----------------------------------------------------------------------------
+diff --git a/goodbye-world.c b/goodbye-world.c
+new file mode 100644
+index 0000000..cab1c13
+--- /dev/null
++++ b/goodbye-world.c
+@@ -0,0 +1,7 @@
++#include <stdio.h>
++
++void main()
++{
++ printf("Goodbye world");
++}
++
+diff --git a/hello-world.c b/hello-world.c
+deleted file mode 100644
+index 6be0ecd..0000000
+--- a/hello-world.c
++++ /dev/null
+@@ -1,7 +0,0 @@
+-#include <stdio.h>
+-
+-void main()
+-{
+- printf("Hello world");
+-}
+-
+--
+1.7.0.4
+
diff --git a/recipes-core/goodbye-world/goodbye-world_1.0.bb b/recipes-core/goodbye-world/goodbye-world_1.0.bb
--- /dev/null
@@ -0,0 +1,28 @@
+DESCRIPTION = "Patched version of Hello World"
+HOMEPAGE = "https://gitorious.org/sitara-bootcamp/hello-world"
+SECTION = "console"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=8d30c2460fbf3f17135994e5c6ead1f3"
+
+PR = "r0"
+
+# Commit id/hash associated with the specific git commit that you want to use.
+SRCREV = "57a46eadb835a3951db79e0de3d1226ccd1092a4"
+
+SRC_URI = "git://gitorious.org/sitara-bootcamp/hello-world.git;protocol=git \
+ file://0001-Patch-for-hello-world.patch"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "release"
+
+do_install() {
+ # By default ${bindir} = /usr/bin
+ install -d ${D}${bindir}
+
+ # Install hello-world at /usr/bin on the filesystem.
+ install -m 0755 ${S}/Release/goodbye-world ${D}${bindir}
+}
+
+FILES_${PN} += "${bindir}/goodbye-world"
diff --git a/recipes-core/packagegroups/packagegroup-meta-custom.bb b/recipes-core/packagegroups/packagegroup-meta-custom.bb
--- /dev/null
@@ -0,0 +1,5 @@
+DESCRIPTION = "Collection of meta-custom's packages"
+LICENSE = "MIT"
+PR = "r0"
+
+inherit packagegroup