331-arc-remove-dependency-on-DEVTMPFS.patch 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. From adfbf9e6cad93281cffceab078e7f6f2a8e094f9 Mon Sep 17 00:00:00 2001
  2. From: Alexey Brodkin <abrodkin@synopsys.com>
  3. Date: Thu, 13 Aug 2015 01:56:02 +0300
  4. Subject: [PATCH 1/2] openwrt: arc - remove dependency on DEVTMPFS
  5. OpenWRT builds initramfs so that it doesn't require DEVTMPFS so dropping
  6. this dependency. That helps to escape 2 separate kernel rebuilds with
  7. and without initramfs.
  8. 2 builds happen because OpenWRT first builds kernel and later modules.
  9. When building entire kernel with simple "make" INITRAMFS sets to a real
  10. value and so was triggering DEVTMPFS selection. Then when building only
  11. modules with "make modules" command INITRAMFS is zeroed and so kernel
  12. config was changing that lead to full kernel rebuild.
  13. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
  14. ---
  15. arch/arc/Kconfig | 2 --
  16. 1 file changed, 2 deletions(-)
  17. --- a/arch/arc/Kconfig
  18. +++ b/arch/arc/Kconfig
  19. @@ -12,8 +12,6 @@ config ARC
  20. select BUILDTIME_EXTABLE_SORT
  21. select COMMON_CLK
  22. select CLONE_BACKWARDS
  23. - # ARC Busybox based initramfs absolutely relies on DEVTMPFS for /dev
  24. - select DEVTMPFS if !INITRAMFS_SOURCE=""
  25. select GENERIC_ATOMIC64
  26. select GENERIC_CLOCKEVENTS
  27. select GENERIC_FIND_FIRST_BIT