diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-18 21:17:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-18 21:17:53 +0000 |
commit | 52fc121ac6444a506e2378225194faf5067008e4 (patch) | |
tree | 0cb19e0cbd0ca1deaeea6aba5022d4675a8b8111 /nuttx/configs/c5471evm/Make.defs | |
parent | e77fe99962337e339262ea579487eeb3ff50c4b4 (diff) | |
download | px4-nuttx-52fc121ac6444a506e2378225194faf5067008e4.tar.gz px4-nuttx-52fc121ac6444a506e2378225194faf5067008e4.tar.bz2 px4-nuttx-52fc121ac6444a506e2378225194faf5067008e4.zip |
Integrated mknxflat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1905 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/c5471evm/Make.defs')
-rw-r--r-- | nuttx/configs/c5471evm/Make.defs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/configs/c5471evm/Make.defs b/nuttx/configs/c5471evm/Make.defs index 4153ec2ce..3751f7c30 100644 --- a/nuttx/configs/c5471evm/Make.defs +++ b/nuttx/configs/c5471evm/Make.defs @@ -59,7 +59,7 @@ ifeq ($(ARCHCCMAJOR),4) else ARCHCPUFLAGS = -mapcs-32 -mcpu=arm7tdmi -msoft-float -fno-builtin endif -ARCHPICFLAGS = -fpic +ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10 ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow ARCHDEFINES = ARCHINCLUDES = -I. -isystem $(TOPDIR)/include @@ -67,6 +67,7 @@ ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/ld.script CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \ $(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe +CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS) CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES) AFLAGS = $(CFLAGS) -D__ASSEMBLY__ |