summaryrefslogtreecommitdiff
path: root/package/open-iscsi/patches/patch-usr_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-23 17:12:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-23 17:12:14 +0100
commit937473821b259ed94969e62daa2ec60f5f2a9ffc (patch)
treee65a8238d6a68bc6aea4717a683a6b882143e957 /package/open-iscsi/patches/patch-usr_Makefile
parent28adc48e65f44c7be5a007568ffaf7cf12df2833 (diff)
add preliminary support for a new hardware profile for OVH.net iscsi server
- add open-iscsi package - add a hardware profile for x86_64 target architecture - add CPU support for x86/x86_64 targets for hardware profiles
Diffstat (limited to 'package/open-iscsi/patches/patch-usr_Makefile')
-rw-r--r--package/open-iscsi/patches/patch-usr_Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/open-iscsi/patches/patch-usr_Makefile b/package/open-iscsi/patches/patch-usr_Makefile
new file mode 100644
index 000000000..af7106fd8
--- /dev/null
+++ b/package/open-iscsi/patches/patch-usr_Makefile
@@ -0,0 +1,19 @@
+--- open-iscsi-2.0-871.orig/usr/Makefile 2009-07-11 05:55:58.000000000 +0200
++++ open-iscsi-2.0-871/usr/Makefile 2010-11-22 23:23:09.000000000 +0100
+@@ -1,6 +1,6 @@
+ # This Makefile will work only with GNU make.
+
+-OSNAME=$(shell uname -s)
++OSNAME=Linux
+
+ # allow users to override these
+ # eg to compile for a kernel that you aren't currently running
+@@ -55,7 +55,7 @@ iscsiadm: $(COMMON_SRCS) $(FW_BOOT_SRCS)
+
+ iscsistart: $(IPC_OBJ) $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
+ iscsistart.o statics.o
+- $(CC) $(CFLAGS) -static $^ -o $@
++ $(CC) $(CFLAGS) $^ -o $@
+ clean:
+ rm -f *.o $(PROGRAMS) .depend $(LIBSYS)
+