summaryrefslogtreecommitdiff
path: root/recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-08-19 23:13:03 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-08-19 23:27:30 +0200
commit46e7caf1193c7d2935067ba5c0c391be732c1a42 (patch)
treee4d2d633bef34276092a8f431b6fe4a9c8969f5b /recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb
parent4fc7d465d684d4952c52adafc1e7032b63039e53 (diff)
nandlogical-klibc-static: rename recipe to nandlogical-klibc
* avoid conflicts with -static suffix
Diffstat (limited to 'recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb')
-rw-r--r--recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb b/recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb
new file mode 100644
index 0000000000..f9a6b0e55d
--- /dev/null
+++ b/recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb
@@ -0,0 +1,16 @@
+require nandlogical_${PV}.bb
+
+FILESPATHPKG =. "nandlogical:"
+
+DEPENDS += "klibc"
+
+export CC = ${TARGET_PREFIX}klcc
+
+# standard oe cflags don't work with klcc
+export CFLAGS = ""
+export CPPFLAGS = ""
+export LDFLAGS = ""
+
+do_compile() {
+ ${CC} ${CFLAGS} ${LDFLAGS} -static -I${STAGING_INCDIR} nandlogical.c -o nandlogical
+}