build: Unbreak out of tree builds

This commit is contained in:
mintsuki 2022-02-21 00:40:15 +01:00
parent 7cad56aa4f
commit 44c524ec60
5 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -31,7 +31,7 @@
/config.log
/autom4te.cache
/GNUmakefile
/common/config.h
/config.h
/common-bios
/common-uefi32
/common-uefi64

View File

@ -197,7 +197,7 @@ dist:
.PHONY: distclean
distclean: clean
rm -rf toolchain ovmf* config.log config.status GNUmakefile common/config.h
rm -rf toolchain ovmf* config.log config.status GNUmakefile config.h
.PHONY: maintainer-clean
maintainer-clean: distclean

View File

@ -63,6 +63,7 @@ override INTERNAL_CFLAGS := \
-DCOM_OUTPUT=$(COM_OUTPUT) \
-DE9_OUTPUT=$(E9_OUTPUT) \
-I../freestanding_headers \
-I'$(call SHESCAPE,$(BUILDDIR))/..' \
-I. \
-I../stivale \
-I'$(call SHESCAPE,$(BUILDDIR))/tinf'

View File

@ -237,5 +237,5 @@ AC_SUBST(LIMINE_COPYRIGHT, [$LIMINE_COPYRIGHT])
AC_PREFIX_DEFAULT(/usr/local)
AC_CONFIG_FILES(GNUmakefile common/config.h)
AC_CONFIG_FILES(GNUmakefile config.h)
AC_OUTPUT