TABLE OF CONTENTS


Preparation

[ Top ] [ Chapter 6 ] [ Concepts ]


src_patch_apply_hook

[ Top ] [ Preparation ] [ Variables ]

DESCRIPTION

src_patch_apply_hook() is an optional function which can be defined to control patch application, for architecture dependent patches, etc. It receives a patch filename as an argument, and a non-zero result causes the patch to be skipped. (This API is not yet stable and is subject to change)


SRC_DIR

[ Top ] [ Preparation ] [ Variables ]

DESCRIPTION

The top-level directory of the primary source tarball. Defaults to PN-PV.

NOTE

If the source tarball does not have a single directory under which all files are unpacked, use SRC_DIR=".".


DISTCLEANFILES

[ Top ] [ Preparation ] [ Variables ]

DESCRIPTION

A list of files to be deleted immediately upon unpacking sources, relative to $S. This is intended to be used with buildsystem-generated files which are incorrectly included in the source tarball.


src_unpack_hook

[ Top ] [ Preparation ] [ Variables ]

DESCRIPTION

src_unpack_hook() is an optional function which can be defined to alter the original source tree, to avoid large patches or long DIFF_EXCLUDES. (This API is not yet stable and is subject to change)


src_patch_hook

[ Top ] [ Preparation ] [ Variables ]

DESCRIPTION

src_patch_hook() an optional function which can be defined, which is called after patches have been applied, for changing permissions, etc., on patched files. (This API is not yet stable and is subject to change)


CYGWIN_FILES

[ Top ] [ Preparation ] [ Variables ]

DESCRIPTION

A list of files which are to be included in the source package, and installed into ${C}.

NOTE

Historically, files in $C were created by a patch file named ${PF}.cygwin.patch, which is automatically applied and generated. This variable should not be set if that file is present.

In the absence of a ${PF}.cygwin.patch file, the default value is 'README' or '${PN}.README' if a file of that name exists, otherwise empty.