debuggers.hg

view tools/tests/blowfish.mk @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 27e9687c5b3d
children 2b768d52bc7f
line source
2 override XEN_TARGET_ARCH = x86_32
3 XEN_ROOT = ../..
4 CFLAGS =
5 include $(XEN_ROOT)/tools/Rules.mk
7 # Disable PIE/SSP if GCC supports them. They can break us.
8 $(call cc-option-add,CFLAGS,CC,-nopie)
9 $(call cc-option-add,CFLAGS,CC,-fno-stack-protector)
10 $(call cc-option-add,CFLAGS,CC,-fno-stack-protector-all)
12 CFLAGS += -fno-builtin -msoft-float
14 .PHONY: all
15 all: blowfish.bin
17 blowfish.bin: blowfish.c
18 $(CC) $(CFLAGS) -c blowfish.c
19 $(LD) $(LDFLAGS_DIRECT) -N -Ttext 0x100000 -o blowfish.tmp blowfish.o
20 $(OBJCOPY) -O binary blowfish.tmp blowfish.bin
21 rm -f blowfish.tmp