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-20 23:29:13 -0600 |
commit | 0080ce67a14558a83232de2d7f516645f0a7635d (patch) | |
tree | f806ab862776f21baefc4c2c6535b67434605641 | |
parent | bf9c30bc2af9e9b0e3d3d27a3852daa531024f59 (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 8793898428e..26b991137f4 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -48,6 +48,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 @@ -206,6 +207,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 |