mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
19 lines
419 B
Makefile
19 lines
419 B
Makefile
|
|
override XEN_TARGET_ARCH = x86_32
|
|
XEN_ROOT = ../..
|
|
CFLAGS =
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
|
|
|
|
CFLAGS += -fno-builtin -msoft-float
|
|
|
|
.PHONY: all
|
|
all: blowfish.bin
|
|
|
|
blowfish.bin: blowfish.c
|
|
$(CC) $(CFLAGS) -c blowfish.c
|
|
$(LD) $(LDFLAGS_DIRECT) -N -Ttext 0x100000 -o blowfish.tmp blowfish.o
|
|
$(OBJCOPY) -O binary blowfish.tmp blowfish.bin
|
|
rm -f blowfish.tmp
|