summaryrefslogtreecommitdiff
path: root/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-18 21:17:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-18 21:17:53 +0000
commit52fc121ac6444a506e2378225194faf5067008e4 (patch)
tree0cb19e0cbd0ca1deaeea6aba5022d4675a8b8111 /nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs
parente77fe99962337e339262ea579487eeb3ff50c4b4 (diff)
downloadpx4-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/mcu123-lpc214x/usbstorage/Make.defs')
-rw-r--r--nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs b/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs
index e544917d4..de475239c 100644
--- a/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs
+++ b/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs
@@ -93,15 +93,17 @@ endif
ARCHCFLAGS = -fno-builtin
ARCHCXXFLAGS = -fno-builtin -fno-exceptions
-ARCHPICFLAGS = -fpic
+ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
ARCHWARNINGSXX = -Wall -Wshadow
ARCHDEFINES =
CFLAGS = $(ARCHCFLAGS) $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe
+CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS)
CXXFLAGS = $(ARCHCXXFLAGS) $(ARCHWARNINGSXX) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(ARCHXXINCLUDES) $(ARCHDEFINES) -pipe
+CXXPICFLAGS = $(ARCHPICFLAGS) $(CXXFLAGS)
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES)
AFLAGS = $(CFLAGS) -D__ASSEMBLY__