diff options
Diffstat (limited to 'recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb')
-rw-r--r-- | recipes/zaurus-utils/nandlogical-klibc_1.0.0.bb | 16 |
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 +} |