diff options
author | John Rigby <john.rigby@linaro.org> | 2012-02-15 10:20:08 -0700 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-03-17 17:08:53 -0600 |
commit | 86ba1cdcffa5605bc12c4e3315cd66193e93a1a1 (patch) | |
tree | 472bf6d0a37edb17d37666e0b03ab6808c47b126 | |
parent | 55c8d75b92fcff629ce2f5b6696fdfbd4de85404 (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 |