diff options
author | royger <royger@FreeBSD.org> | 2016-06-07 15:34:40 +0800 |
---|---|---|
committer | royger <royger@FreeBSD.org> | 2016-06-07 15:34:40 +0800 |
commit | 565d5485d194a62a3ef2e68414f85d2e49154dcb (patch) | |
tree | f883cf5e953c51e03a5ffd2575055f78c58e5274 | |
parent | a2bfab17fb240454d1d748bc5f572c4bc2aece8a (diff) | |
download | freebsd-ports-gnome-565d5485d194a62a3ef2e68414f85d2e49154dcb.tar.gz freebsd-ports-gnome-565d5485d194a62a3ef2e68414f85d2e49154dcb.tar.zst freebsd-ports-gnome-565d5485d194a62a3ef2e68414f85d2e49154dcb.zip |
xen: add missing file from r416310
Sponsored by: Citrix Systems R&D
-rw-r--r-- | emulators/xen-kernel/files/kconf_arch.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/emulators/xen-kernel/files/kconf_arch.patch b/emulators/xen-kernel/files/kconf_arch.patch new file mode 100644 index 000000000000..d37038b44530 --- /dev/null +++ b/emulators/xen-kernel/files/kconf_arch.patch @@ -0,0 +1,33 @@ +diff --git a/xen/Makefile b/xen/Makefile +index 0d5f240..f232d01 100644 +--- a/xen/Makefile ++++ b/xen/Makefile +@@ -21,8 +21,8 @@ MAKEFLAGS += -rR + + EFI_MOUNTPOINT ?= $(BOOT_DIR)/efi + +-ARCH=$(XEN_TARGET_ARCH) +-SRCARCH=$(shell echo $(ARCH) | sed -e 's/x86.*/x86/' -e s'/arm\(32\|64\)/arm/g') ++KCONF_ARCH=$(XEN_TARGET_ARCH) ++KCONF_SRCARCH=$(shell echo $(KCONF_ARCH) | sed -e 's/x86.*/x86/' -e s'/arm\(32\|64\)/arm/g') + + # Don't break if the build process wasn't called from the top level + # we need XEN_TARGET_ARCH to generate the proper config +@@ -246,14 +246,14 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \ + randconfig + .PHONY: $(kconfig) + $(kconfig): +- $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC=$(HOSTCC) HOSTCXX=$(HOSTCXX) $@ ++ $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(KCONF_ARCH) SRCARCH=$(KCONF_SRCARCH) HOSTCC=$(HOSTCC) HOSTCXX=$(HOSTCXX) $@ + + include/config/%.conf: include/config/auto.conf.cmd $(KCONFIG_CONFIG) +- $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC=$(HOSTCC) HOSTCXX=$(HOSTCXX) silentoldconfig ++ $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(KCONF_ARCH) SRCARCH=$(KCONF_SRCARCH) HOSTCC=$(HOSTCC) HOSTCXX=$(HOSTCXX) silentoldconfig + + # Allow people to just run `make` as before and not force them to configure + $(KCONFIG_CONFIG): +- $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC=$(HOSTCC) HOSTCXX=$(HOSTCXX) defconfig ++ $(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(KCONF_ARCH) SRCARCH=$(KCONF_SRCARCH) HOSTCC=$(HOSTCC) HOSTCXX=$(HOSTCXX) defconfig + + # Break the dependency chain for the first run + include/config/auto.conf.cmd: ; |