Rules for tools (host packages)

Rules for target packages


Due to maintainence headache, it is preferrable to avoid emdebian/ directory, and instead wrap change in DEB_BUILD_OPTIONS. Debian already has defined in policy "nostrip" and "noopt" options, we define a few more. If these get used widely, chances are they will be ratified in policy


ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
     LANG=C make check

Similar functionality should also be available in CDBS by using the rules from emdebian-tools instead of from CDBS.

A more controversial issue is handling bootstrap builds. For example libselinux creates a python bindings package, which can't be built until pythin is built. Otoh python can't be built before libselinux..

Building host packages

svn-buildpackage is recommended tool to use for building packages:

svn-buildpackage --svn-tag -rfakeroot -uc -us -sa -D

--svn-tag makes entry in tags/ directory. It's better to use it for each new revision of the package.

Building target packages

The emdebian-tools package will contain the recommended tools to build target packages.

CategoryPermalink CategoryEmdebian