mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Use dependencies for 'make headers_install'.
Re-export header files only if either they or their controlling Kbuild file has actually changed. Also allow for similar dependencies with 'headers_check', once we properly create the dependencies for those. Signed-off-by: David Woodhouse <[email protected]>
This commit is contained in:
parent
b4daf69722
commit
de78912582
3 changed files with 81 additions and 46 deletions
1
Makefile
1
Makefile
|
|
@ -898,7 +898,6 @@ headers_install: include/linux/version.h
|
|||
echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \
|
||||
exit 1 ; fi
|
||||
$(Q)unifdef -Ux /dev/null
|
||||
$(Q)rm -rf $(INSTALL_HDR_PATH)/include
|
||||
$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include
|
||||
|
||||
PHONY += headers_check
|
||||
|
|
|
|||
Loading…
Reference in a new issue