mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Patch from Christian Motschke <motschke@itso-berlin.de>:
I had some problems compiling scst due to some bashisms in the Makefiles. As you will know, Debian uses /bin/dash as default shell and /bin/sh is only a link to /bin/dash. I can either change the default shell, (or in my opinion the better solution) use SHELL=/bin/bash in the Makefile. I have made a patch for the Makefiles in question (I hope, that are all Makefiles). git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1496 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
2
Makefile
2
Makefile
@@ -16,6 +16,8 @@
|
||||
#
|
||||
#
|
||||
|
||||
SHELL = /bin/bash
|
||||
|
||||
# Decide to use which kernel src. If not specified, is current running kernel.
|
||||
#export KDIR=/usr/src/linux-2.6
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
# removes any old dependencies. DON'T put your own dependencies here
|
||||
# unless it's something special (not a .c file).
|
||||
|
||||
SHELL=/bin/bash
|
||||
|
||||
SUBDIRS := $(shell pwd)
|
||||
|
||||
#SCST_INC_DIR := /usr/local/include/scst
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
# - install and uninstall must be made as root
|
||||
#
|
||||
|
||||
SHELL=/bin/bash
|
||||
|
||||
#SCST_INC_DIR := /usr/local/include/scst
|
||||
#SCST_DIR := $(SCST_INC_DIR)
|
||||
SCST_INC_DIR := $(SUBDIRS)/../../scst/include
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#
|
||||
#
|
||||
|
||||
SHELL=/bin/bash
|
||||
# Decide to use which kernel src. If not specified, is current running kernel.
|
||||
#export KDIR=/usr/src/linux-2.6
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
# - install and uninstall must be made as root
|
||||
#
|
||||
|
||||
SHELL=/bin/bash
|
||||
|
||||
DEV_HANDLERS_DIR = dev_handlers
|
||||
|
||||
ifneq ($(PATCHLEVEL),)
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
# - install and uninstall must be made as root
|
||||
#
|
||||
|
||||
SHELL=/bin/bash
|
||||
|
||||
ifneq ($(PATCHLEVEL),)
|
||||
SCST_INC_DIR := $(SUBDIRS)/../include
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
SHELL=/bin/bash
|
||||
|
||||
SRCS_F = fileio.c common.c debug.c
|
||||
OBJS_F = $(SRCS_F:.c=.o)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user