~ubuntu-branches/ubuntu/vivid/sflphone/vivid

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/build/os-linux-kernel.mak

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-30 11:40:56 UTC
  • mfrom: (4.1.18 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130630114056-0np50jkyqo6vnmii
Tags: 1.2.3-2
* changeset_r92d62cfc54732bbbcfff2b1d36c096b120b981a5.diff 
  - fixes automatic endian detection 
* Update Vcs: fixes vcs-field-not-canonical

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
include $(KERNEL_DIR)/.config
 
3
 
 
4
#
 
5
# Basic kernel compilation flags.
 
6
#
 
7
export OS_CFLAGS   := $(CC_DEF)PJ_LINUX_KERNEL=1 -D__KERNEL__  \
 
8
                      -I$(KERNEL_DIR)/include -iwithprefix include \
 
9
                      -nostdinc -msoft-float
 
10
 
 
11
#
 
12
# Additional kernel compilation flags are taken from the kernel Makefile
 
13
# itself.
 
14
#
 
15
 
 
16
KERNEL_CFLAGS := \
 
17
    $(shell cd $(KERNEL_DIR) ; \
 
18
    make script SCRIPT='@echo $$(CFLAGS) $$(CFLAGS_MODULE)' $(KERNEL_ARCH))
 
19
 
 
20
export OS_CFLAGS += $(KERNEL_CFLAGS)
 
21
 
 
22
#                     -DMODULE -I$(KERNEL_DIR)/include  -nostdinc \
 
23
#                     -Wstrict-prototypes \
 
24
#                     -Wno-trigraphs -fno-strict-aliasing -fno-common \
 
25
#                     -msoft-float -m32 -fno-builtin-sprintf -fno-builtin-log2\
 
26
#                     -fno-builtin-puts -mpreferred-stack-boundary=2 \
 
27
#                     -fno-unit-at-a-time -march=i686 -mregparm=3 \
 
28
#                     -iwithprefix include
 
29
 
 
30
#export OS_CFLAGS += -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" \
 
31
#                   -D_LARGEFILE64_SOURCE -I$(KERNEL_DIR)/arch/um/include \
 
32
#                   -Derrno=kernel_errno \
 
33
#                   -I$(KERNEL_DIR)/arch/um/kernel/tt/include \
 
34
#                   -I$(KERNEL_DIR)/arch/um/kernel/skas/include \
 
35
 
 
36
 
 
37
export OS_CXXFLAGS :=
 
38
 
 
39
export OS_LDFLAGS  :=
 
40
 
 
41
export OS_SOURCES  :=