diff options
author | Koen Kooi <koen@openembedded.org> | 2009-01-10 10:44:13 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-01-10 10:44:13 +0100 |
commit | d076ad3dbeac4bf7a58a335348c1560dd23799a7 (patch) | |
tree | f402fe30741bb8ea76d0f411a1179c6ac937be76 /packages/robostix-utils/robostix-cmdline.bb | |
parent | 06af67f2e653d6b0d45117f9aaad0b25db1eaa67 (diff) |
gumstix utils: add char-driver, gpio-event, i2c and microwindows
Diffstat (limited to 'packages/robostix-utils/robostix-cmdline.bb')
-rw-r--r-- | packages/robostix-utils/robostix-cmdline.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/robostix-utils/robostix-cmdline.bb b/packages/robostix-utils/robostix-cmdline.bb new file mode 100644 index 0000000000..0eecfc2e14 --- /dev/null +++ b/packages/robostix-utils/robostix-cmdline.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "robostix programs" +SECTION = "base" +PRIORITY = "required" +PR = "r1" + +DEPENDS = robostix-module + +SRC_URI = " \ + file://robostix.h \ + file://robostix.c \ + " + +CMD_NAME=robostix + +S = "${WORKDIR}" + +do_compile () { + ${CC} -o ${CMD_NAME} *.c +} + +do_install () { + install -d ${D}${bindir}/ + install -m 0755 ${WORKDIR}/${CMD_NAME} ${D}${bindir}/ +} + +PACKAGES = "${PN}" +FILES_${PN} = "${bindir}/*" + |