From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/qi/files/sanitize-makefile.patch | 27 +++++++++++++++ recipes/qi/qi.inc | 56 ++++++++++++++++++++++++++++++++ recipes/qi/qi_git.bb | 9 +++++ 3 files changed, 92 insertions(+) create mode 100644 recipes/qi/files/sanitize-makefile.patch create mode 100644 recipes/qi/qi.inc create mode 100644 recipes/qi/qi_git.bb (limited to 'recipes/qi') diff --git a/recipes/qi/files/sanitize-makefile.patch b/recipes/qi/files/sanitize-makefile.patch new file mode 100644 index 0000000000..cd1abf3f58 --- /dev/null +++ b/recipes/qi/files/sanitize-makefile.patch @@ -0,0 +1,27 @@ +Index: git/Makefile +=================================================================== +--- git.orig/Makefile ++++ git/Makefile +@@ -16,12 +16,6 @@ + + include config.mk + +-BUILD_DATE := $(shell date) +-BUILD_HOST := $(shell hostname) +-BUILD_BRANCH := $(shell git branch | grep ^\* | cut -d' ' -f2) +-BUILD_HEAD := $(shell git show --pretty=oneline | head -n1 | cut -d' ' -f1 | cut -b1-16) +-BUILD_VERSION := ${BUILD_BRANCH}_${BUILD_HEAD} +- + LDS = src/cpu/$(CPU)/qi.lds + INCLUDE = include + IMAGE_DIR = image +@@ -73,7 +67,7 @@ all:${UDFU_IMAGE} + ${OBJS}:${SRCS} ${INCLUDE}/*.h + + ${MKUDFU}: +- make -C $(TOOLS) ++ gcc tools/mkudfu.c -o ${MKUDFU} -Itools/ + + ${UDFU_IMAGE}:${OBJS} ${MKUDFU} + mkdir -p image + diff --git a/recipes/qi/qi.inc b/recipes/qi/qi.inc new file mode 100644 index 0000000000..949a011463 --- /dev/null +++ b/recipes/qi/qi.inc @@ -0,0 +1,56 @@ +DESCRIPTION = "Qi bootloader w/ Openmoko GTA01, GTA02, and GTA03 support" +LICENSE = "GPL" +SECTION = "bootloader" +PROVIDES = "virtual/bootloader" +LOCALVERSION = "gitr${SRCREV}" +PV = "1.0.2+${LOCALVERSION}" + +EXTRA_OEMAKE = "" +PARALLEL_MAKE = "" + +do_configure() { + echo >config.mk + # uncomment to debug + sed -i s,@,, Makefile + cat >config.mk <