mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-08 06:18:22 +01:00
Merge pull request #200 from XevoInc/fix-kernel-fragments
linux: fix kernel config fragment support
This commit is contained in:
commit
c351ae2786
@ -8,6 +8,10 @@ inherit kernel
|
||||
|
||||
require linux.inc
|
||||
|
||||
# Since we're not using git, this doesn't make a difference, but we need to fill
|
||||
# in something or kernel-yocto.bbclass will fail.
|
||||
KBRANCH ?= "master"
|
||||
|
||||
# Pull in the devicetree files into the rootfs
|
||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||
|
||||
|
@ -8,6 +8,8 @@ inherit kernel
|
||||
|
||||
require linux.inc
|
||||
|
||||
KBRANCH ?= "master"
|
||||
|
||||
# Pull in the devicetree files into the rootfs
|
||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||
|
||||
|
@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
INC_PR = "r0"
|
||||
|
||||
inherit kernel siteinfo
|
||||
inherit kernel kernel-yocto siteinfo
|
||||
|
||||
# Enable OABI compat for people stuck with obsolete userspace
|
||||
ARM_KEEP_OABI ?= "0"
|
||||
@ -22,6 +22,8 @@ LOGO_SIZE ?= '${@base_conditional("MACHINE_GUI_CLASS", "bigscreen", "vga", "qvga
|
||||
# accordingly.
|
||||
|
||||
LOCALVERSION ?= ""
|
||||
KCONFIG_MODE ?= "alldefconfig"
|
||||
KMACHINE ?= "${MACHINE}"
|
||||
|
||||
#kernel_conf_variable CMDLINE "\"${CMDLINE} ${CMDLINE_DEBUG}\""
|
||||
kernel_conf_variable() {
|
||||
@ -35,7 +37,6 @@ kernel_conf_variable() {
|
||||
}
|
||||
|
||||
do_configure_prepend() {
|
||||
echo "" > ${B}/.config
|
||||
CONF_SED_SCRIPT=""
|
||||
|
||||
#
|
||||
@ -111,9 +112,6 @@ do_configure_prepend() {
|
||||
kernel_conf_variable CMDLINE \"${CMDLINE_NFSROOT_USB} ${CMDLINE_DEBUG}\"
|
||||
fi
|
||||
|
||||
sed -e "${CONF_SED_SCRIPT}" \
|
||||
< '${WORKDIR}/defconfig' >>'${B}/.config'
|
||||
|
||||
yes '' | oe_runmake -C ${S} O=${B} oldconfig
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user