diff options
Diffstat (limited to 'recipes-extended/xen/xen.inc')
-rw-r--r-- | recipes-extended/xen/xen.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 002a97bb..3cfb5f3e 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -841,6 +841,9 @@ do_stubs() { | |||
841 | 841 | ||
842 | addtask stubs after do_configure before do_compile | 842 | addtask stubs after do_configure before do_compile |
843 | 843 | ||
844 | # Allow all hypervisor settings in a defconfig | ||
845 | EXTRA_OEMAKE += "XEN_CONFIG_EXPERT=y" | ||
846 | |||
844 | do_configure() { | 847 | do_configure() { |
845 | 848 | ||
846 | #./configure --enable-xsmpolicy does not set XSM_ENABLE must be done manually | 849 | #./configure --enable-xsmpolicy does not set XSM_ENABLE must be done manually |
@@ -848,6 +851,11 @@ do_configure() { | |||
848 | echo "XSM_ENABLE := y" > ${S}/.config | 851 | echo "XSM_ENABLE := y" > ${S}/.config |
849 | fi | 852 | fi |
850 | 853 | ||
854 | if [ -f "${WORKDIR}/defconfig" ]; then | ||
855 | cp "${WORKDIR}/defconfig" "${B}/xen/.config" || \ | ||
856 | bbfatal "Unable to copy defconfig to .config" | ||
857 | fi | ||
858 | |||
851 | # do configure | 859 | # do configure |
852 | oe_runconf | 860 | oe_runconf |
853 | } | 861 | } |