diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2011-04-25 20:29:47 +0100 |
---|---|---|
committer | Robin Watts <robin@ghostscript.com> | 2011-04-25 19:48:00 +0000 |
commit | 1aa36eb18c490095e3bc6d3ee271f697055402e7 (patch) | |
tree | 97c923657b713ab6be5291f07ea71edea21480fe /Makerules | |
parent | a45ae4ceb7bd8cbcd2f6d2ed608e8451f6b9dd9a (diff) | |
download | mupdf-1aa36eb18c490095e3bc6d3ee271f697055402e7.tar.xz |
Add libs target, and webos OS settings.
Add libs (to allow for building of libraries without apps, such
as will be required for the WebOS bindings).
Add 2 webos OS setups to the Makerules file to match the 2 default
webos configurations used in the PDK.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -64,3 +64,21 @@ CFLAGS += -O3 -mfpu=neon -mcpu=cortex-a8 -mfloat-abi=softfp -ftree-vectorize -ff CROSSCOMPILE=yes NOX11=yes endif + +ifeq "$(OS)" "webos-pre-cross" +CC = arm-none-linux-gnueabi-gcc +LD = arm-none-linux-gnueabi-gcc +AR = arm-none-linux-gnueabi-ar +CFLAGS += -O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -fsingle-precision-constant +CROSSCOMPILE=yes +NOX11=yes +endif + +ifeq "$(OS)" "webos-pixi-cross" +CC = arm-none-linux-gnueabi-gcc +LD = arm-none-linux-gnueabi-gcc +AR = arm-none-linux-gnueabi-ar +CFLAGS += -O3 -mcpu=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -ffast-math -fsingle-precision-constant +CROSSCOMPILE=yes +NOX11=yes +endif |