diff options
Diffstat (limited to 'recipes/zaurus-utils/nandlogical-klibc-static_1.0.0.bb')
-rw-r--r-- | recipes/zaurus-utils/nandlogical-klibc-static_1.0.0.bb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/recipes/zaurus-utils/nandlogical-klibc-static_1.0.0.bb b/recipes/zaurus-utils/nandlogical-klibc-static_1.0.0.bb index 42d30c90f8..f9a6b0e55d 100644 --- a/recipes/zaurus-utils/nandlogical-klibc-static_1.0.0.bb +++ b/recipes/zaurus-utils/nandlogical-klibc-static_1.0.0.bb @@ -2,9 +2,6 @@ require nandlogical_${PV}.bb FILESPATHPKG =. "nandlogical:" -SRC_URI_append = " file://mtd-user.h \ - file://mtd-abi.h \ - " DEPENDS += "klibc" export CC = ${TARGET_PREFIX}klcc @@ -14,11 +11,6 @@ export CFLAGS = "" export CPPFLAGS = "" export LDFLAGS = "" -do_configure_prepend() { - sed -i 's:<mtd/mtd-user.h>:"mtd-user.h":g' '${S}/nandlogical.c' - sed -i 's:<mtd/mtd-abi.h>:"mtd-abi.h":g' '${S}/mtd-user.h' -} - do_compile() { - ${CC} nandlogical.c -o nandlogical ${CFLAGS} ${LDFLAGS} -static + ${CC} ${CFLAGS} ${LDFLAGS} -static -I${STAGING_INCDIR} nandlogical.c -o nandlogical } |