debian swirl logo

Back to the packages list mkelfimage

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

export CFLAGS += -fno-stack-protector
export LDFLAGS += -Wl,-O1 -Wl,--as-needed

DEB_CONFIGURE_EXTRA_FLAGS += --with-$(DEB_BUILD_ARCH_CPU) 
DEB_INSTALL_CHANGELOGS_ALL += News

cleanbuilddir::
		@# Clean up extra files.
		rm -rf objdir Makefile.conf
		@# Configure once to generate Makefile.conf.
		./configure
		$(MAKE) clean
		@# Configure once more for the build itself.

common-binary-post-install-arch common-binary-post-install-indep:: list-missing
		@# Delete extraneous directory created by upstream Makefile install target.
		rm -rf debian/mkelfimage/usr/share/mkelfImage

Builds:

mkelfimage
utility to create elf boot images from linux kernel images