diff options
author | Greg Gilbert <greg@treke.net> | 2005-01-26 18:15:51 +0000 |
---|---|---|
committer | Greg Gilbert <greg@treke.net> | 2005-01-26 18:15:51 +0000 |
commit | 7019681b3cd4be0861f35870cb66a3aaa1dd1e2a (patch) | |
tree | c4c1a6d12603c5b9cef30d75a13e64434e2232c5 /packages/simpad-utilities/genboot-native.bb | |
parent | ac47004c827f83ead796ad6c424846b0249597ea (diff) |
Many files:
Adding license
BKrev: 41f7de57sqtuxQQDJhll7nZI8E5lwQ
Diffstat (limited to 'packages/simpad-utilities/genboot-native.bb')
-rw-r--r-- | packages/simpad-utilities/genboot-native.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/simpad-utilities/genboot-native.bb b/packages/simpad-utilities/genboot-native.bb index e69de29bb2..3e98947eca 100644 --- a/packages/simpad-utilities/genboot-native.bb +++ b/packages/simpad-utilities/genboot-native.bb @@ -0,0 +1,20 @@ +SECTION = "console/utils" +PR = "r1" +DESCRIPTION = "Console utility for generating a SIMpad boot image for the proprietary SIEMENS Switzerland bootloader" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/genboot" +SRC_URI = "file://gen_boot.c file://arnold_boot.h file://simpad-make-flashimg" +LICENSE = "GPL" + +DEPENDS = "pad-native" + +inherit native + +do_compile() { + cp ${WORKDIR}/*.h ${WORKDIR}/*.c . + ${CC} -I. -o genboot gen_boot.c +} + +do_stage() { + install -m 0755 genboot ${STAGING_BINDIR}/ + install -m 0755 ${WORKDIR}/simpad-make-flashimg ${STAGING_BINDIR}/ +} |