diff options
Diffstat (limited to 'packages/nandlogical')
-rw-r--r-- | packages/nandlogical/nandlogical-static_1.0.0.bb | 5 | ||||
-rw-r--r-- | packages/nandlogical/nandlogical_1.0.0.bb | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/packages/nandlogical/nandlogical-static_1.0.0.bb b/packages/nandlogical/nandlogical-static_1.0.0.bb new file mode 100644 index 0000000000..e2eaf4e1f5 --- /dev/null +++ b/packages/nandlogical/nandlogical-static_1.0.0.bb @@ -0,0 +1,5 @@ +require nandlogical_${PV}.bb + +do_compile () { + ${CC} -o nandlogical ${WORKDIR}/nandlogical.c -static +} diff --git a/packages/nandlogical/nandlogical_1.0.0.bb b/packages/nandlogical/nandlogical_1.0.0.bb index 7d8fc04b4e..ba851bf513 100644 --- a/packages/nandlogical/nandlogical_1.0.0.bb +++ b/packages/nandlogical/nandlogical_1.0.0.bb @@ -1,15 +1,15 @@ DESCRIPTION = "Nandlogical for Sharp mtd1" LICENSE = "GPL" DEPENDS = "mtd-utils" -COMPATIBLE_MACHINE = "(c7x0)" -PR = "r0" +COMPATIBLE_MACHINE = "(poodle|c7x0|akita|spitz|tosa)" +PR = "r1" SRC_URI = "file://nandlogical.c" S = "${WORKDIR}/${P}" do_compile () { - ${CC} -o nandlogical ${WORKDIR}/nandlogical.c -static + ${CC} -o nandlogical ${WORKDIR}/nandlogical.c } do_install () { |