mbox series

[0/4] kbuild: remove 'addtree' and 'flags' magic

Message ID 20190513062217.20750-1-yamada.masahiro@socionext.com (mailing list archive)
Headers show
Series kbuild: remove 'addtree' and 'flags' magic | expand

Message

Masahiro Yamada May 13, 2019, 6:22 a.m. UTC
The 'addtree' and 'flags' are longstanding PITA.

When we discussed this in kbuild ML,
(https://patchwork.kernel.org/patch/9632347/)
we agreed to get rid of this hack.

This required lots of efforts to send many fixups
to each subsystem.

I did it, all the per-subsystem fixups were merged
except media subsystem.

I will apply all the remaining fixups,
and delete 'addtree' and 'flags' magic.

I have tested this series for a long time,
and addressed all the reported issues.



Masahiro Yamada (4):
  media: remove unneeded header search paths
  media: prefix header search paths with $(srctree)/
  treewide: prefix header search paths with $(srctree)/
  kbuild: remove 'addtree' and 'flags' magic for header search paths

 arch/mips/pnx833x/Platform                    |  2 +-
 arch/powerpc/Makefile                         |  2 +-
 arch/sh/Makefile                              |  4 +--
 arch/x86/kernel/Makefile                      |  2 +-
 arch/x86/mm/Makefile                          |  2 +-
 arch/xtensa/boot/lib/Makefile                 |  2 +-
 drivers/hid/intel-ish-hid/Makefile            |  2 +-
 drivers/media/common/b2c2/Makefile            |  4 +--
 drivers/media/dvb-frontends/cxd2880/Makefile  |  2 --
 drivers/media/i2c/smiapp/Makefile             |  2 +-
 drivers/media/mmc/siano/Makefile              |  3 +--
 drivers/media/pci/b2c2/Makefile               |  2 +-
 drivers/media/pci/bt8xx/Makefile              |  5 ++--
 drivers/media/pci/cx18/Makefile               |  4 +--
 drivers/media/pci/cx23885/Makefile            |  4 +--
 drivers/media/pci/cx88/Makefile               |  4 +--
 drivers/media/pci/ddbridge/Makefile           |  4 +--
 drivers/media/pci/dm1105/Makefile             |  2 +-
 drivers/media/pci/mantis/Makefile             |  2 +-
 drivers/media/pci/netup_unidvb/Makefile       |  2 +-
 drivers/media/pci/ngene/Makefile              |  4 +--
 drivers/media/pci/pluto2/Makefile             |  2 +-
 drivers/media/pci/pt1/Makefile                |  4 +--
 drivers/media/pci/pt3/Makefile                |  4 +--
 drivers/media/pci/smipcie/Makefile            |  5 ++--
 drivers/media/pci/ttpci/Makefile              |  4 +--
 drivers/media/platform/sti/c8sectpfe/Makefile |  5 ++--
 drivers/media/radio/Makefile                  |  2 --
 drivers/media/spi/Makefile                    |  4 +--
 drivers/media/usb/as102/Makefile              |  2 +-
 drivers/media/usb/au0828/Makefile             |  4 +--
 drivers/media/usb/b2c2/Makefile               |  2 +-
 drivers/media/usb/cx231xx/Makefile            |  5 ++--
 drivers/media/usb/em28xx/Makefile             |  4 +--
 drivers/media/usb/go7007/Makefile             |  2 +-
 drivers/media/usb/pvrusb2/Makefile            |  4 +--
 drivers/media/usb/siano/Makefile              |  2 +-
 drivers/media/usb/tm6000/Makefile             |  4 +--
 drivers/media/usb/ttusb-budget/Makefile       |  2 +-
 drivers/media/usb/usbvision/Makefile          |  2 --
 drivers/net/ethernet/chelsio/libcxgb/Makefile |  2 +-
 drivers/target/iscsi/cxgbit/Makefile          |  6 ++---
 drivers/usb/storage/Makefile                  |  2 +-
 fs/ocfs2/dlm/Makefile                         |  3 +--
 fs/ocfs2/dlmfs/Makefile                       |  2 +-
 fs/xfs/Makefile                               |  4 +--
 net/bpfilter/Makefile                         |  2 +-
 scripts/Kbuild.include                        |  8 ------
 scripts/Makefile.host                         | 12 ++++-----
 scripts/Makefile.lib                          | 26 ++++++-------------
 scripts/dtc/Makefile                          |  6 ++---
 scripts/genksyms/Makefile                     |  4 +--
 scripts/kconfig/Makefile                      |  4 +--
 53 files changed, 85 insertions(+), 119 deletions(-)