summaryrefslogtreecommitdiff
path: root/packages/nandlogical
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-08-15 15:33:18 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-08-15 15:33:18 +0000
commita90bc97904bb65d840555713886909e2248b25e6 (patch)
tree07c7ef0bac073ba5cb021f7602d4aecb838a2537 /packages/nandlogical
parent0459ca51cb49110c9f65db98ce6339e277e168a7 (diff)
nandlogical: split static and dynamic packages
Diffstat (limited to 'packages/nandlogical')
-rw-r--r--packages/nandlogical/nandlogical-static_1.0.0.bb5
-rw-r--r--packages/nandlogical/nandlogical_1.0.0.bb2
2 files changed, 6 insertions, 1 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 a868576add..ba851bf513 100644
--- a/packages/nandlogical/nandlogical_1.0.0.bb
+++ b/packages/nandlogical/nandlogical_1.0.0.bb
@@ -9,7 +9,7 @@ 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 () {