diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 12:36:10 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 12:36:10 +0000 |
commit | 49abf93f5a0b8c4055cac3f6e76937971b1ac4dd (patch) | |
tree | 361d2fa8dd0167b9ffe1f329b95eda0c8578f0ae | |
parent | a7d453bdcd39e4320e82b5a1c65c99e92a284fcc (diff) | |
download | poky-49abf93f5a0b8c4055cac3f6e76937971b1ac4dd.tar.gz |
genext2fs: Convert to use do_install for staging and use BBCLASSEXTEND for native recipe
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/genext2fs/genext2fs-native_1.3.bb | 11 | ||||
-rw-r--r-- | meta/packages/genext2fs/genext2fs_1.3.bb | 3 |
2 files changed, 3 insertions, 11 deletions
diff --git a/meta/packages/genext2fs/genext2fs-native_1.3.bb b/meta/packages/genext2fs/genext2fs-native_1.3.bb deleted file mode 100644 index 2e26fa0110..0000000000 --- a/meta/packages/genext2fs/genext2fs-native_1.3.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | require genext2fs_${PV}.bb | ||
2 | inherit native | ||
3 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/genext2fs-${PV}', '${FILE_DIRNAME}/genext2fs', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | ||
4 | |||
5 | do_stage () { | ||
6 | install -m 0755 genext2fs ${STAGING_BINDIR}/ | ||
7 | } | ||
8 | |||
9 | do_install () { | ||
10 | : | ||
11 | } | ||
diff --git a/meta/packages/genext2fs/genext2fs_1.3.bb b/meta/packages/genext2fs/genext2fs_1.3.bb index e57f78ae50..be67f5b3c7 100644 --- a/meta/packages/genext2fs/genext2fs_1.3.bb +++ b/meta/packages/genext2fs/genext2fs_1.3.bb | |||
@@ -10,6 +10,9 @@ do_compile () { | |||
10 | oe_runmake | 10 | oe_runmake |
11 | } | 11 | } |
12 | 12 | ||
13 | NATIVE_INSTALL_WORKS = "1" | ||
13 | do_install () { | 14 | do_install () { |
14 | oe_runmake 'DESTDIR=${D}' install | 15 | oe_runmake 'DESTDIR=${D}' install |
15 | } | 16 | } |
17 | |||
18 | BBCLASSEXTEND = "native" | ||