Merge branch 'audit.b32' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit...
[pandora-kernel.git] / scripts / Makefile.headersinst
index 07004c4..6a026f6 100644 (file)
@@ -7,7 +7,7 @@
 #
 # ==========================================================================
 
-UNIFDEF := unifdef -U__KERNEL__
+UNIFDEF := scripts/unifdef -U__KERNEL__
 
 # Eliminate the contents of (and inclusions of) compiler.h
 HDRSED  := sed         -e "s/ inline / __inline__ /g" \
@@ -97,7 +97,7 @@ quiet_cmd_unifdef       = UNIFDEF $(patsubst $(INSTALL_HDR_PATH)/%,%,$@)
                                   | $(HDRSED) > $@ || :
 
 quiet_cmd_check                  = CHECK   $(patsubst $(INSTALL_HDR_PATH)/$(_dst)/.check.%,$(_dst)/%,$@)
-      cmd_check                  = $(srctree)/scripts/hdrcheck.sh              \
+      cmd_check                  = $(CONFIG_SHELL) $(srctree)/scripts/hdrcheck.sh \
                               $(INSTALL_HDR_PATH)/include $(subst /.check.,/,$@) $@
 
 quiet_cmd_remove         = REMOVE  $(_dst)/$@