aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs
Commit message (Expand)AuthorAgeFilesLines
* treewide: make dependency on kmod-usb-net selectiveAdrian Schmutzler2020-08-101-1/+1
* kernel: unify CONFIG_GPIO_SYSFS in kernel configsFelix Fietkau2020-08-061-1/+0
* kernel: bump 5.4 to 5.4.28Petr Štetiar2020-03-281-7/+0
* mxs: fix user led for OLinuXino boardsMichael Heimpold2020-03-171-0/+61
* treewide: remove maintainer variable from targetsPetr Štetiar2020-03-161-1/+0
* kernel: 5.4: remove some dup config options already set in genericYousong Zhou2020-03-101-1/+0
* mxs: switch to kernel 5.4Michael Heimpold2020-03-082-1/+1
* mxs: gen_sdcard_ext4_ext4.sh: use /bin/shRosen Penev2019-12-311-1/+1
* mxs: gen_sdcard_vfat_ext4.sh: use /bin/shRosen Penev2019-12-311-1/+1
* treewide: kernel config: remove runtime optionsPetr Štetiar2019-11-241-2/+0
* mxs: start a console on USB gadget serial portsMichael Heimpold2019-11-091-0/+1
* mxs: switch to askconsoleMichael Heimpold2019-11-091-1/+1
* mxs: add support and switch to kernel 4.19Michael Heimpold2019-11-093-76/+19
* treewide: replace backticks by $(...) in gen_*_img.sh scriptsAdrian Schmutzler2019-09-292-2/+2
* mxs: disable unused serial driversMichael Heimpold2019-03-111-3/+1
* mxs: use generic sysinfo board detectionMichael Heimpold2018-11-283-44/+2
* kernel: bump 4.14 to 4.14.75Koen Vandeputte2018-10-101-3/+3
* kernel: enable THIN_ARCHIVES by defaultSergey Ryazanov2018-05-221-1/+0
* kernel: enable FUTEX_PI by defaultSergey Ryazanov2018-05-221-1/+0
* kernel: disable DRM_LIB_RANDOM by defaultSergey Ryazanov2018-05-221-1/+0
* kernel: disable DMA_{NOOP|VIRT}_OPS by defaultSergey Ryazanov2018-05-221-2/+0
* kernel: disable ARCH_WANTS_THP_SWAP by defaultSergey Ryazanov2018-05-221-1/+0
* mxs: drop support for 4.9Michael Heimpold2018-02-203-486/+0
* mxs: enable LRADC driverMichael Heimpold2018-02-201-2/+2
* mxs: bump to use 4.14 by defaultZoltan HERPAI2018-02-201-1/+1
* mxs: add support for 4.14Zoltan HERPAI2018-02-202-0/+370
* mxs: rename files to files-4.9Michael Heimpold2018-02-131-0/+0
* treewide: drop target board_name functionsMathias Kresin2017-07-151-9/+0
* treewide: use the generic board_name functionMathias Kresin2017-07-152-4/+3
* treewide: populate boardname and model earlierMathias Kresin2017-07-151-0/+0
* mxs: drop 4.4 supportMichael Heimpold2017-06-276-1231/+0
* mxs: add support for 4.9 and switch overMichael Heimpold2017-06-273-1/+348
* mxs: enable nvmem supportFelix Fietkau2017-02-101-0/+2
* mxs: remove stale references to obsolete kernel module packagesMichael Heimpold2017-01-284-12/+4
* mxs: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-2/+2
* mxs: fix image build issuesFelix Fietkau2017-01-251-2/+2
* mxs: gzip ext4 imagesFelix Fietkau2017-01-131-0/+3
* mxs: remove modules.mk, select drivers in the kernel configFelix Fietkau2017-01-102-99/+11
* mxs: remove obsolete kernel package depending on linux 3.18Felix Fietkau2017-01-101-21/+0
* mxs: enable the chipidea usb driver in the kernel config instead of packaging itFelix Fietkau2017-01-101-6/+9
* tools: remove old mkdosfs symlink from dosfstoolsÁlvaro Fernández Rojas2016-10-121-1/+1
* mxs: unconditionally install kernel images/dtb files into rootfs (needed by b...Felix Fietkau2016-07-202-18/+4
* mxs: delete old kernel versionsFelix Fietkau2016-05-1210-4475/+0
* image / basefiles: make console password configurableJohn Crispin2016-04-181-1/+1
* kernel: update kernel 4.4 to version 4.4.4Hauke Mehrtens2016-03-051-1/+1
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-254-17/+11
* mxs: bump to 4.4Zoltan Herpai2016-01-301-1/+1
* mxs: enable regulator in 4.4 configZoltan Herpai2016-01-301-2/+2
* mxs: forward-port regulator patches into 4.4Zoltan Herpai2016-01-305-0/+846
* mxs: initial 4.4 supportZoltan Herpai2016-01-192-0/+380
; $(LINUX_DIR)/.config echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZO),CONFIG_INITRAMFS_COMPRESSION_LZO=y\nCONFIG_RD_LZO=y,# CONFIG_INITRAMFS_COMPRESSION_LZO is not set\n# CONFIG_RD_LZO is not set)" >> $(LINUX_DIR)/.config echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ),CONFIG_INITRAMFS_COMPRESSION_XZ=y\nCONFIG_RD_XZ=y,# CONFIG_INITRAMFS_COMPRESSION_XZ is not set\n# CONFIG_RD_XZ is not set)" >> $(LINUX_DIR)/.config echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4),CONFIG_INITRAMFS_COMPRESSION_LZ4=y\nCONFIG_RD_LZ4=y,# CONFIG_INITRAMFS_COMPRESSION_LZ4 is not set\n# CONFIG_RD_LZ4 is not set)" >> $(LINUX_DIR)/.config endef else endif define Kernel/SetNoInitramfs mv $(LINUX_DIR)/.config $(LINUX_DIR)/.config.old grep -v INITRAMFS $(LINUX_DIR)/.config.old > $(LINUX_DIR)/.config echo 'CONFIG_INITRAMFS_SOURCE=""' >> $(LINUX_DIR)/.config endef define Kernel/Configure/Default $(LINUX_CONF_CMD) > $(LINUX_DIR)/.config.target # copy CONFIG_KERNEL_* settings over to .config.target awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' $(TOPDIR)/.config >> $(LINUX_DIR)/.config.target echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target echo "# CONFIG_KALLSYMS_ALL is not set" >> $(LINUX_DIR)/.config.target echo "# CONFIG_KALLSYMS_UNCOMPRESSED is not set" >> $(LINUX_DIR)/.config.target $(SCRIPT_DIR)/metadata.pl kconfig $(TMP_DIR)/.packageinfo $(TOPDIR)/.config $(KERNEL_PATCHVER) > $(LINUX_DIR)/.config.override $(SCRIPT_DIR)/kconfig.pl 'm+' '+' $(LINUX_DIR)/.config.target /dev/null $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config $(call Kernel/SetNoInitramfs) rm -rf $(KERNEL_BUILD_DIR)/modules $(_SINGLE) [ -d $(LINUX_DIR)/user_headers ] || $(MAKE) $(KERNEL_MAKEOPTS) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install $(SH_FUNC) grep '=[ym]' $(LINUX_DIR)/.config | LC_ALL=C sort | md5s > $(LINUX_DIR)/.vermagic endef define Kernel/Configure/Initramfs $(call Kernel/SetInitramfs) endef define Kernel/CompileModules/Default rm -f $(LINUX_DIR)/vmlinux $(LINUX_DIR)/System.map +$(MAKE) $(KERNEL_MAKEOPTS) modules endef OBJCOPY_STRIP = -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id # AMD64 shares the location with x86 ifeq ($(LINUX_KARCH),x86_64) IMAGES_DIR:=../../x86/boot endif define Kernel/CopyImage $(KERNEL_CROSS)objcopy -O binary $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL)$(1) $(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).elf $(CP) $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux.debug $(foreach k, \ $(if $(KERNEL_IMAGES),$(KERNEL_IMAGES),$(filter-out dtbs,$(KERNELNAME))), \ $(CP) $(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/$(IMAGES_DIR)/$(k) $(KERNEL_BUILD_DIR)/$(k)$(1); \ ) endef define Kernel/CompileImage/Default rm -f $(TARGET_DIR)/init +$(MAKE) $(KERNEL_MAKEOPTS) $(if $(KERNELNAME),$(KERNELNAME),all) modules $(call Kernel/CopyImage) endef ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) define Kernel/CompileImage/Initramfs $(call Kernel/Configure/Initramfs) $(CP) $(GENERIC_PLATFORM_DIR)/base-files/init $(TARGET_DIR)/init rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio* +$(MAKE) $(KERNEL_MAKEOPTS) $(if $(KERNELNAME),$(KERNELNAME),all) modules $(call Kernel/CopyImage,-initramfs) endef else define Kernel/CompileImage/Initramfs endef endif define Kernel/Clean/Default rm -f $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/.configured rm -f $(LINUX_KERNEL) $(_SINGLE)$(MAKE) -C $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) clean endef