maximilian attems
2012-Jul-02 09:49 UTC
[klibc] [PATCH/RFC] kbuild: Fix permissions of headers
Small build fix carried in Debian, triggered by paranoid umask. Signed-off-by: maximilian attems <max at stro.at> --- scripts/Kbuild.install | 1 + 1 file changed, 1 insertion(+) the install lines below seem covered. diff --git a/scripts/Kbuild.install b/scripts/Kbuild.install index 370b54e..78c30aa 100644 --- a/scripts/Kbuild.install +++ b/scripts/Kbuild.install @@ -97,6 +97,7 @@ header: $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. + $(Q)chmod -R a+rX $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(INSTALLROOT)$(mandir)/man1/$(KCROSS)klcc.1 $(Q)$(install-bin) $(objtree)/klcc/$(KCROSS)klcc $(INSTALLROOT)$(bindir) -- 1.7.10