diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/kexec | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/kexec')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch | 51 | ||||
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools.inc | 15 | ||||
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb | 5 |
3 files changed, 71 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch b/meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch new file mode 100644 index 0000000000..1f0b507731 --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools-2.0.1/configurefix.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | kexec-tools: Fix synatx error with recent autoconf+automake | ||
2 | |||
3 | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> | ||
4 | |||
5 | Move it to kexec-tools-2.0.1 directory. Dongxiao Xu <dongxiao.xu@intel.com> | ||
6 | |||
7 | Index: kexec-tools-1.101/configure.ac | ||
8 | =================================================================== | ||
9 | --- kexec-tools-1.101.orig/configure.ac 2010-02-02 15:14:43.173906722 +0000 | ||
10 | +++ kexec-tools-1.101/configure.ac 2010-02-02 15:15:07.623910565 +0000 | ||
11 | @@ -100,23 +100,23 @@ | ||
12 | BUILD_CFLAGS='-O2 -Wall $(CPPFLAGS)' | ||
13 | |||
14 | dnl ---Sanity checks | ||
15 | -if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]) fi | ||
16 | -if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]) fi | ||
17 | -if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]) fi | ||
18 | -if test "$AS" = "no"; then AC_MSG_ERROR([as not found]) fi | ||
19 | -if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]) fi | ||
20 | -if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]) fi | ||
21 | - | ||
22 | -if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]) fi | ||
23 | -if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]) fi | ||
24 | -if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]) fi | ||
25 | -if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]) fi | ||
26 | -if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]) fi | ||
27 | -if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]) fi | ||
28 | -if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]) fi | ||
29 | -if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]) fi | ||
30 | -if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]) fi | ||
31 | -if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]) fi | ||
32 | +if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]); fi | ||
33 | +if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]); fi | ||
34 | +if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]); fi | ||
35 | +if test "$AS" = "no"; then AC_MSG_ERROR([as not found]); fi | ||
36 | +if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]); fi | ||
37 | +if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]); fi | ||
38 | + | ||
39 | +if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]); fi | ||
40 | +if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]); fi | ||
41 | +if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]); fi | ||
42 | +if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]); fi | ||
43 | +if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]); fi | ||
44 | +if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]); fi | ||
45 | +if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]); fi | ||
46 | +if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]); fi | ||
47 | +if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]); fi | ||
48 | +if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]); fi | ||
49 | |||
50 | dnl ---Output variables... | ||
51 | |||
diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc new file mode 100644 index 0000000000..55ab906a9d --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel" | ||
2 | AUTHOR = "Eric Biederman" | ||
3 | HOMEPAGE = "http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/" | ||
4 | SECTION = "kernel/userland" | ||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \ | ||
7 | file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09" | ||
8 | DEPENDS = "virtual/kernel zlib" | ||
9 | |||
10 | SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools//kexec-tools-${PV}.tar.gz \ | ||
11 | file://configurefix.patch;patch=1" | ||
12 | |||
13 | inherit autotools | ||
14 | |||
15 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*)-(linux|freebsd.*)' | ||
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb new file mode 100644 index 0000000000..758d3ec9fd --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.1.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | require kexec-tools.inc | ||
2 | export LDFLAGS = "-L${STAGING_LIBDIR}" | ||
3 | EXTRA_OECONF = " --with-zlib=yes" | ||
4 | |||
5 | PR = "r0" | ||