In kbuild-2.5-release-1.12, some of the script files are checked for the correct permissions (see below for scripts/Makefile-2.5 fragment). Instead of trying to change the permissions of the source tree (which might be owned by another user, eg. aegis), would it be possible to _copy_ these files to the KBUILD_OBJTREE directory and then change the permissions ?
Cheers, Brendan Simon. # The patch command does not set execute permission on scripts, which is a big # nuisance. A tar ball will have the correct permissions in the source tree, a # patched tree will not. So whenever a user does make *config, check and # correct the problem permissions. Yes, this writes to the source tree but I # don't see any alternative. The write is only done once and only if patch has # corrupted the source tree permissions. KAO $(config_targets): correct_permissions .PHONY: correct_permissions correct_permissions: @[ -x $(scripts_srctree)lilo_new_kernel ] || chmod a+x $(scripts_srctree)lilo_new_kernel @[ -x $(scripts_srctree)docgen ] || chmod a+x $(scripts_srctree)docgen @[ -x $(scripts_srctree)kernel-doc ] || chmod a+x $(scripts_srctree)kernel-doc @[ -x $(scripts_srctree)gen-all-syms ] || chmod a+x $(scripts_srctree)gen-all-syms _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel