[tilegx] linux-libc-dev: Install <arch/*> headers in arch-specific directory

Closes: #823632; thanks to Helmut Grohne
This commit is contained in:
Ben Hutchings 2016-05-17 23:47:17 +01:00
parent 876e9c24a6
commit fcb3296dc1
2 changed files with 4 additions and 0 deletions

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ linux (4.6-1~exp2) UNRELEASED; urgency=medium
* [tilegx] Build a linux-libc-dev package (Closes: #824524; thanks to
Helmut Grohne)
* [tilegx] linux-libc-dev: Install <arch/*> headers in arch-specific
directory (Closes: #823632; thanks to Helmut Grohne)
-- Ben Hutchings <ben@decadent.org.uk> Tue, 17 May 2016 23:33:30 +0100

2
debian/rules.real vendored
View File

@ -345,6 +345,8 @@ install-libc-dev_$(ARCH):
# Move include/asm to arch-specific directory
mkdir -p $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)
mv $(OUT_DIR)/include/asm $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
test -d $(OUT_DIR)/include/arch && \
mv $(OUT_DIR)/include/arch $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
+$(MAKE_SELF) install-base