~ubuntu-branches/ubuntu/raring/sflphone/raring

« back to all changes in this revision

Viewing changes to sflphone-common/libs/pjproject/build/os-linux-kernel.mak

  • Committer: Package Import Robot
  • Author(s): Francois Marier
  • Date: 2011-11-25 13:24:12 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20111125132412-dc4qvhyosk74cd42
Tags: 1.0.1-4
Don't assume that arch:all packages will get built (closes: #649726)

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  := 
42
 
 
43