diff options
Diffstat (limited to 'meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb')
-rw-r--r-- | meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb b/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb new file mode 100644 index 0000000000..9a28684236 --- /dev/null +++ b/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Kernel header preprocessor" | ||
2 | SECTION = "devel" | ||
3 | LICENSE = "BSD-2-Clause" | ||
4 | |||
5 | PR = "r1" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://${WORKDIR}/unifdef.c;endline=32;md5=1a33f5c39aa718a89058721df61979bd" | ||
8 | |||
9 | SRC_URI = "file://unifdef.c" | ||
10 | |||
11 | inherit native | ||
12 | |||
13 | do_compile() { | ||
14 | ${CC} ${CFLAGS} ${LDFLAGS} -o unifdef ${WORKDIR}/unifdef.c | ||
15 | } | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}${bindir} | ||
19 | install -m 0755 unifdef ${D}${bindir} | ||
20 | } | ||
21 | |||