summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/Makefile.target
diff options
context:
space:
mode:
authorRajithaY <rajithax.yerrumsetty@intel.com>2017-04-25 03:31:15 -0700
committerRajitha Yerrumchetty <rajithax.yerrumsetty@intel.com>2017-05-22 06:48:08 +0000
commitbb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch)
treeca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/openbios/Makefile.target
parenta14b48d18a9ed03ec191cf16b162206998a895ce (diff)
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to kvmfornfv repo and make use of the updated latest qemu for the execution of all testcase Change-Id: I1280af507a857675c7f81d30c95255635667bdd7 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/openbios/Makefile.target')
-rw-r--r--qemu/roms/openbios/Makefile.target86
1 files changed, 0 insertions, 86 deletions
diff --git a/qemu/roms/openbios/Makefile.target b/qemu/roms/openbios/Makefile.target
deleted file mode 100644
index 4c54105a7..000000000
--- a/qemu/roms/openbios/Makefile.target
+++ /dev/null
@@ -1,86 +0,0 @@
-#
-# OpenBIOS Makefile
-# (C) 2004-2009 by the OpenBIOS team
-#
-
-include config.mak
-
-ODIR := .
-HOSTCC := gcc
-
-HOSTCFLAGS+= -O2 -g -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
-HOSTCFLAGS+= -Wall -Wredundant-decls -Wshadow -Wpointer-arith
-HOSTCFLAGS+= -Wstrict-prototypes -Wmissing-declarations -Wundef -Wendif-labels
-HOSTCFLAGS+= -Wstrict-aliasing -Wwrite-strings -Wmissing-prototypes -Wnested-externs
-HOSTCFLAGS+= -W
-# Flags for dependency generation
-HOSTCFLAGS+= -MMD -MP -MT $@ -MF '$(*D)/$(*F).d'
-HOSTINCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel -I$(SRCDIR)/kernel/include -iquote $(ODIR)/target/include
-
-CC := $(TARGET)gcc
-AS := $(TARGET)as
-AR := $(TARGET)ar
-LD := $(TARGET)ld
-NM := $(TARGET)nm
-STRIP := $(TARGET)strip
-RANLIB := $(TARGET)ranlib
-
-CFLAGS+= -Os -g -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH -USWAP_ENDIANNESS
-CFLAGS+= -Wall -Wredundant-decls -Wshadow -Wpointer-arith
-CFLAGS+= -Wstrict-prototypes -Wmissing-declarations -Wundef -Wendif-labels
-CFLAGS+= -Wstrict-aliasing -Wwrite-strings -Wmissing-prototypes -Wnested-externs
-CFLAGS+= -Werror
-# Flags for dependency generation
-CFLAGS+= -MMD -MP -MT $@ -MF '$(*D)/$(*F).d'
-INCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel/include -I$(ODIR)/target/include
-AS_FLAGS+= -g
-
-# FCode tokeniser
-TOKE := toke
-
-quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1))
-
-VPATH_SUFFIXES = %.c %.h %.S %.fs
-set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES),$(eval vpath $(PATTERN) $1)))
-$(call set-vpath, $(SRCDIR))
-
-#
-# pre rules
-#
-
-all: versions dictionaries host-libraries target-libraries host-executables target-executables
-
-versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
-
-$(ODIR)/forth/version.fs:
- $(call quiet-command,true, " GEN $(TARGET_DIR)$@")
- @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \
- ( echo ": builddate \" $$DATE\" ; " ; \
- echo ": version \" $(VERSION)\" ; " ; ) \
- > $(dir $@)/version.fs
-
-$(ODIR)/target/include/openbios-version.h:
- $(call quiet-command,true, " GEN $(TARGET_DIR)$@")
- @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \
- ( echo "#define OPENBIOS_BUILD_DATE \"$$DATE\"" ; \
- echo "#define OPENBIOS_VERSION_STR \"$(VERSION)\"" ; ) \
- > $(dir $@)/openbios-version.h
-
-info:
- @echo "Building OpenBIOS on $(HOSTARCH) for $(ARCH)"
-
-clean:
- @printf "Cleaning up for $(ARCH)..."
- @rm -rf forth.dict.core forthstrap *.dict openbios-*
- @rm -f $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
- @find . -type f \( -name "*~" -o -name '*.o' -o -name '*.d' -o -name '*.a' \) -exec rm \{\} \;
- @echo " ok"
-
-build-verbose: info build
-
-build: all
-
-include rules.mak
-
-# Include automatically generated dependency files
--include $(wildcard $(ODIR)/*.d $(ODIR)/host/kernel/*.d $(ODIR)/target/*/*.d $(ODIR)/target/*/*/*.d $(ODIR)/target/*/*/*/*.d)