[oe-commits] org.oe.dev helloworld 1.0.0: Remove duplicate content.

pfalcon commit openembedded-commits at lists.openembedded.org
Sun Jun 10 22:57:25 UTC 2007


helloworld 1.0.0: Remove duplicate content.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 5dd9508758c05d4c0efb57f8ddf636febfd0a2bb
ViewMTN: http://monotone.openembedded.org/revision.psp?id=5dd9508758c05d4c0efb57f8ddf636febfd0a2bb
Files:
1
packages/helloworld/helloworld_1.0.0.bb
Diffs:

#
# mt diff -r8ef6b7361d83c3e4b4e019f67967fcfed09ac8f8 -r5dd9508758c05d4c0efb57f8ddf636febfd0a2bb
#
# 
# 
# patch "packages/helloworld/helloworld_1.0.0.bb"
#  from [492893ab2416dc2fd82d53b0d4050c585b9b06e3]
#    to [1b2bf451b37e9d4a7c2ac6608651e2c41a8ba2e7]
# 
============================================================
--- packages/helloworld/helloworld_1.0.0.bb	492893ab2416dc2fd82d53b0d4050c585b9b06e3
+++ packages/helloworld/helloworld_1.0.0.bb	1b2bf451b37e9d4a7c2ac6608651e2c41a8ba2e7
@@ -22,29 +22,3 @@ do_install () {
 	install -d ${D}${base_bindir}
 	ln -sf ${bindir}/helloworld ${D}${base_bindir}/init
 }
-
-DESCRIPTION = "Minimal statically compiled Hello world!"
-LICENSE = "GPL"
-PR = "r0"
-
-S = "${WORKDIR}/${P}"
-
-do_fetch () {
-	mkdir -p ${WORKDIR}/${P}
-	cd ${WORKDIR}/${P}
-	echo -e "#include <stdio.h>\nint main(void)\n{\n\tprintf(\"Hello world!\\\n\");\twhile(1);\n\treturn 0;\n}\n" >helloworld.c
-}
-
-do_compile () {
-	${CC} -o helloworld helloworld.c -static
-}
-
-do_install () {
-	install -d ${D}${bindir}
-	install -m 0755 helloworld ${D}${bindir}/
-	# /bin/init is on purpose, it is tried after /sbin/init and /etc/init
-	# so if a sysvinit is installed, it will be used instead of helloworld
-	install -d ${D}${base_bindir}
-	ln -sf ${bindir}/helloworld ${D}${base_bindir}/init
-}
-






More information about the Openembedded-commits mailing list