summaryrefslogtreecommitdiff
path: root/build/os-linux-kernel.mak
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2005-11-01 16:42:51 +0000
committerBenny Prijono <bennylp@teluu.com>2005-11-01 16:42:51 +0000
commit81ecc233996dcddfbef707bd9a5099f5d9e5eb13 (patch)
treec735c382ff2dac0179b96505c4192ee70185372d /build/os-linux-kernel.mak
parentb5a1af6f999820564ead4867b1e5d5574778ee56 (diff)
Added suppor /and fix things for SunOS port
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@2 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'build/os-linux-kernel.mak')
-rw-r--r--build/os-linux-kernel.mak86
1 files changed, 43 insertions, 43 deletions
diff --git a/build/os-linux-kernel.mak b/build/os-linux-kernel.mak
index f9b3e1fa..f5591161 100644
--- a/build/os-linux-kernel.mak
+++ b/build/os-linux-kernel.mak
@@ -1,43 +1,43 @@
-
-include $(KERNEL_DIR)/.config
-
-#
-# Basic kernel compilation flags.
-#
-export OS_CFLAGS := $(CC_DEF)PJ_LINUX_KERNEL=1 -D__KERNEL__ \
- -I$(KERNEL_DIR)/include -iwithprefix include \
- -nostdinc -msoft-float
-
-#
-# Additional kernel compilation flags are taken from the kernel Makefile
-# itself.
-#
-
-KERNEL_CFLAGS := \
- $(shell cd $(KERNEL_DIR) ; \
- make script SCRIPT='@echo $$(CFLAGS) $$(CFLAGS_MODULE)' $(KERNEL_ARCH))
-
-export OS_CFLAGS += $(KERNEL_CFLAGS)
-
-# -DMODULE -I$(KERNEL_DIR)/include -nostdinc \
-# -Wstrict-prototypes \
-# -Wno-trigraphs -fno-strict-aliasing -fno-common \
-# -msoft-float -m32 -fno-builtin-sprintf -fno-builtin-log2\
-# -fno-builtin-puts -mpreferred-stack-boundary=2 \
-# -fno-unit-at-a-time -march=i686 -mregparm=3 \
-# -iwithprefix include
-
-#export OS_CFLAGS += -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" \
-# -D_LARGEFILE64_SOURCE -I$(KERNEL_DIR)/arch/um/include \
-# -Derrno=kernel_errno \
-# -I$(KERNEL_DIR)/arch/um/kernel/tt/include \
-# -I$(KERNEL_DIR)/arch/um/kernel/skas/include \
-
-
-export OS_CXXFLAGS :=
-
-export OS_LDFLAGS :=
-
-export OS_SOURCES :=
-
-
+
+include $(KERNEL_DIR)/.config
+
+#
+# Basic kernel compilation flags.
+#
+export OS_CFLAGS := $(CC_DEF)PJ_LINUX_KERNEL=1 -D__KERNEL__ \
+ -I$(KERNEL_DIR)/include -iwithprefix include \
+ -nostdinc -msoft-float
+
+#
+# Additional kernel compilation flags are taken from the kernel Makefile
+# itself.
+#
+
+KERNEL_CFLAGS := \
+ $(shell cd $(KERNEL_DIR) ; \
+ make script SCRIPT='@echo $$(CFLAGS) $$(CFLAGS_MODULE)' $(KERNEL_ARCH))
+
+export OS_CFLAGS += $(KERNEL_CFLAGS)
+
+# -DMODULE -I$(KERNEL_DIR)/include -nostdinc \
+# -Wstrict-prototypes \
+# -Wno-trigraphs -fno-strict-aliasing -fno-common \
+# -msoft-float -m32 -fno-builtin-sprintf -fno-builtin-log2\
+# -fno-builtin-puts -mpreferred-stack-boundary=2 \
+# -fno-unit-at-a-time -march=i686 -mregparm=3 \
+# -iwithprefix include
+
+#export OS_CFLAGS += -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" \
+# -D_LARGEFILE64_SOURCE -I$(KERNEL_DIR)/arch/um/include \
+# -Derrno=kernel_errno \
+# -I$(KERNEL_DIR)/arch/um/kernel/tt/include \
+# -I$(KERNEL_DIR)/arch/um/kernel/skas/include \
+
+
+export OS_CXXFLAGS :=
+
+export OS_LDFLAGS :=
+
+export OS_SOURCES :=
+
+