diff options
author | John Rigby <john.rigby@linaro.org> | 2012-02-15 10:20:08 -0700 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-02-15 20:45:06 -0700 |
commit | 078c1eeb7224cb885d91499a2bea35fae133da6c (patch) | |
tree | 83ea8498096769ab79210cb24ff36c9633801510 | |
parent | e43230623231c9a11b9632c28b63454d7f8cde04 (diff) |
LINARO: PACKAGING: provide optional complete flavour hdr pkg
add do_complete_flavour_headers = true
to
debian.linaro/rules.d/armel.mk
and the flavour header package will contain all
the headers from the common header package
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r-- | debian/rules.d/2-binary-arch.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 1d4748448ed..1a211f85f86 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -45,6 +45,7 @@ install-%: dbgpkgdir = $(CURDIR)/debian/$(bin_pkg_name)-$*-dbgsym install-%: basepkg = $(hdrs_pkg_name) install-%: hdrdir = $(CURDIR)/debian/$(basepkg)-$*/usr/src/$(basepkg)-$* install-%: target_flavour = $* +install-%: | install-headers install-%: checks-% dh_testdir dh_testroot @@ -203,6 +204,9 @@ ifeq ($(arch),powerpc) endif # Script to symlink everything up $(SHELL) $(DROOT)/scripts/link-headers "$(hdrdir)" "$(basepkg)" "$*" +ifeq ($(do_complete_flavour_headers),true) + rsync -a debian/$(basepkg)/usr debian/$(basepkg)-$* +endif # Setup the proper asm symlink rm -f $(hdrdir)/include/asm ln -s asm-$(asm_link) $(hdrdir)/include/asm |