From: Nikita Shubin Date: Sat, 27 Jul 2019 11:19:51 +0000 (+0300) Subject: linux: 5.3-rc2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=83f1c0107333c4ffe111660c5938e87e07eb3e68;p=ts7250-boot-build.git linux: 5.3-rc2 --- diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4a30113 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "linux"] + path = linux + url = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fc438e6 --- /dev/null +++ b/Makefile @@ -0,0 +1,42 @@ +# -*- GNUMakefile -*- + +# Requirements: +# /bin/bash as SHELL + +export SHELL = /bin/bash + +all: world + +# GNU Make >= 3.82 +# GCC ;) + +TARGET_ARCH ?= x86_64 + +ifndef PARALLEL +ifndef NOPARALLEL +PARALLEL := -j$(shell echo $$((`nproc` + 2))) +endif +endif + +KERNEL_TREE ?= ${CURDIR}/linux + +build-kernel/arch/x86/configs: + mkdir -p $@ + +.PHONY: kernel + +build-kernel/arch/x86/configs/x86_64_qemu_defconfig: | build-kernel/arch/x86/configs configs/x86_64_qemu_defconfig + cp configs/x86_64_qemu_defconfig $@ + +build-kernel/.config: | build-kernel/arch/x86/configs/x86_64_qemu_defconfig + make ARCH=${TARGET_ARCH} -C ${KERNEL_TREE} O=${CURDIR}/build-kernel x86_64_qemu_defconfig + +kernel: build-kernel/.config + make ${PARALLEL} -C ${KERNEL_TREE} O=${CURDIR}/build-kernel ARCH=${TARGET_ARCH} + +clean:: + -make ${PARALLEL} -C build-kernel clean + -make ${PARALLEL} -C ${KERNEL_TREE} mrproper + +distclean:: + -rm -rf build-kernel diff --git a/configs/x86_64_qemu_defconfig b/configs/x86_64_qemu_defconfig new file mode 100644 index 0000000..0f733e8 --- /dev/null +++ b/configs/x86_64_qemu_defconfig @@ -0,0 +1,122 @@ +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_KERNEL_XZ=y +# CONFIG_CROSS_MEMORY_ATTACH is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +# CONFIG_MULTIUSER is not set +# CONFIG_SGETMASK_SYSCALL is not set +# CONFIG_SYSFS_SYSCALL is not set +# CONFIG_FHANDLE is not set +# CONFIG_POSIX_TIMERS is not set +# CONFIG_BUG is not set +# CONFIG_PCSPKR_PLATFORM is not set +# CONFIG_BASE_FULL is not set +# CONFIG_FUTEX is not set +# CONFIG_EPOLL is not set +# CONFIG_SIGNALFD is not set +# CONFIG_TIMERFD is not set +# CONFIG_EVENTFD is not set +# CONFIG_AIO is not set +# CONFIG_IO_URING is not set +# CONFIG_ADVISE_SYSCALLS is not set +# CONFIG_MEMBARRIER is not set +# CONFIG_KALLSYMS is not set +# CONFIG_RSEQ is not set +CONFIG_EMBEDDED=y +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_SLOB=y +# CONFIG_SLAB_MERGE_DEFAULT is not set +# CONFIG_ZONE_DMA is not set +# CONFIG_RETPOLINE is not set +# CONFIG_X86_EXTENDED_PLATFORM is not set +# CONFIG_SCHED_OMIT_FRAME_POINTER is not set +CONFIG_HYPERVISOR_GUEST=y +CONFIG_PARAVIRT=y +# CONFIG_DMI is not set +# CONFIG_X86_MCE is not set +# CONFIG_X86_VSYSCALL_EMULATION is not set +# CONFIG_MICROCODE is not set +# CONFIG_MTRR is not set +# CONFIG_ARCH_RANDOM is not set +# CONFIG_X86_SMAP is not set +# CONFIG_X86_INTEL_UMIP is not set +# CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS is not set +# CONFIG_SECCOMP is not set +# CONFIG_RELOCATABLE is not set +# CONFIG_MODIFY_LDT_SYSCALL is not set +# CONFIG_SUSPEND is not set +# CONFIG_ACPI_SPCR_TABLE is not set +# CONFIG_ACPI_REV_OVERRIDE_POSSIBLE is not set +# CONFIG_ACPI_AC is not set +# CONFIG_ACPI_BATTERY is not set +# CONFIG_ACPI_BUTTON is not set +# CONFIG_ACPI_PROCESSOR is not set +# CONFIG_ACPI_TABLE_UPGRADE is not set +# CONFIG_CPU_IDLE is not set +# CONFIG_ISA_DMA_API is not set +# CONFIG_FIRMWARE_MEMMAP is not set +# CONFIG_STACKPROTECTOR is not set +# CONFIG_VMAP_STACK is not set +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y +# CONFIG_COREDUMP is not set +# CONFIG_SPARSEMEM_VMEMMAP is not set +# CONFIG_COMPACTION is not set +CONFIG_NET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_NET_9P=y +CONFIG_NET_9P_VIRTIO=y +CONFIG_PCI=y +CONFIG_PCI_MSI=y +CONFIG_DEVTMPFS=y +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +# CONFIG_FW_LOADER is not set +# CONFIG_ALLOW_DEV_COREDUMP is not set +CONFIG_VIRTIO_BLK=y +CONFIG_NETDEVICES=y +CONFIG_VIRTIO_NET=y +# CONFIG_DEVMEM is not set +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_VIRTIO_CONSOLE=y +# CONFIG_HW_RANDOM is not set +CONFIG_GPIOLIB=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_MOCKUP=m +# CONFIG_HWMON is not set +# CONFIG_LCD_CLASS_DEVICE is not set +# CONFIG_BACKLIGHT_CLASS_DEVICE is not set +# CONFIG_USB_SUPPORT is not set +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_INPUT=y +# CONFIG_X86_PLATFORM_DEVICES is not set +# CONFIG_IOMMU_SUPPORT is not set +# CONFIG_FILE_LOCKING is not set +# CONFIG_DNOTIFY is not set +# CONFIG_INOTIFY_USER is not set +CONFIG_TMPFS=y +# CONFIG_MISC_FILESYSTEMS is not set +CONFIG_9P_FS=y +# CONFIG_PAGE_TABLE_ISOLATION is not set +CONFIG_PRINTK_TIME=y +CONFIG_DYNAMIC_DEBUG=y +# CONFIG_ENABLE_MUST_CHECK is not set +# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_DEBUG_FS=y +CONFIG_OPTIMIZE_INLINING=y +# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set +CONFIG_STACK_VALIDATION=y +# CONFIG_DEBUG_MISC is not set +# CONFIG_FTRACE is not set +# CONFIG_RUNTIME_TESTING_MENU is not set +# CONFIG_X86_VERBOSE_BOOTUP is not set +# CONFIG_EARLY_PRINTK is not set +# CONFIG_DOUBLEFAULT is not set +# CONFIG_X86_DEBUG_FPU is not set +CONFIG_UNWINDER_GUESS=y diff --git a/linux b/linux new file mode 160000 index 0000000..609488b --- /dev/null +++ b/linux @@ -0,0 +1 @@ +Subproject commit 609488bc979f99f805f34e9a32c1e3b71179d10b