diff options
author | Michael Brown | 2008-10-17 19:24:04 +0200 |
---|---|---|
committer | Michael Brown | 2008-10-17 19:24:04 +0200 |
commit | d9c38d14d678a6aba6d6d52cb4ba079c38fe3a96 (patch) | |
tree | c132cd2a06f0f0b868168c3cbf3a36bb918915dc /src/Makefile.housekeeping | |
parent | [romprefix] Sanity-check the runtime segment address for PCI 3 (diff) | |
download | ipxe-d9c38d14d678a6aba6d6d52cb4ba079c38fe3a96.tar.gz ipxe-d9c38d14d678a6aba6d6d52cb4ba079c38fe3a96.tar.xz ipxe-d9c38d14d678a6aba6d6d52cb4ba079c38fe3a96.zip |
[build] Fix building on FreeBSD
FreeBSD requires the object format to be specified as elf_i386_fbsd,
rather than elf_i386.
Based on a patch from Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 7054cdcf..067ac826 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -54,6 +54,14 @@ echo : ############################################################################### # +# Determine host OS +# +HOST_OS := $(shell uname -s) +hostos : + @$(ECHO) $(HOST_OS) + +############################################################################### +# # Check for tools that can cause failed builds # .toolcheck : |