Do not try to invoke shebang scripts directly (NFS issues)
authormalc <av1474@comtv.ru>
Sun, 9 Aug 2009 23:40:16 +0000 (03:40 +0400)
committermalc <av1474@comtv.ru>
Sun, 9 Aug 2009 23:41:46 +0000 (03:41 +0400)
Signed-off-by: malc <av1474@comtv.ru>

configure
pc-bios/optionrom/Makefile

index def8948..e5b9431 100755 (executable)
--- a/configure
+++ b/configure
@@ -1775,7 +1775,7 @@ echo "CLOCKLIBS=$CLOCKLIBS" >> $config_host_mak
 
 echo "/* Automatically generated by configure - do not modify */" > $config_host_h
 
-$source_path/create_config < $config_host_mak >> $config_host_h
+$SHELL $source_path/create_config < $config_host_mak >> $config_host_h
 
 if test -f ${config_host_h}~ ; then
   if cmp -s $config_host_h ${config_host_h}~ ; then
@@ -2099,7 +2099,7 @@ fi
 echo "/* Automatically generated by configure - do not modify */" > $config_h
 echo "#include \"../config-host.h\"" >> $config_h
 
-$source_path/create_config < $config_mak >> $config_h
+$SHELL $source_path/create_config < $config_mak >> $config_h
 
 if test -f ${config_h}~ ; then
   if cmp -s $config_h ${config_h}~ ; then
index 7ddc242..7c6f211 100644 (file)
@@ -20,7 +20,7 @@ build-all: multiboot.bin
        $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"  Building $(TARGET_DIR)$@")
 
 %.bin: %.raw
-       $(call quiet-command,$(SRC_PATH)/pc-bios/optionrom/signrom.sh $< $@,"  Signing $(TARGET_DIR)$@")
+       $(call quiet-command,$(SHELL) $(SRC_PATH)/pc-bios/optionrom/signrom.sh $< $@,"  Signing $(TARGET_DIR)$@")
 
 clean:
        $(RM) *.o *.img *.bin *~