Makefile_upgrade.inc: Handle some recently added files better.
authorSascha Wildner <saw@online.de>
Thu, 20 Sep 2018 09:01:10 +0000 (11:01 +0200)
committerSascha Wildner <saw@online.de>
Thu, 20 Sep 2018 09:01:10 +0000 (11:01 +0200)
<bus/pccard/cardinfo.h> is one of 4 headers that were removed in
3aef805084f3d031ffbf02b8a00333a755c4677c so add them all.

<linux/linux_input.h> was never in our tree, so it is outside of
Makefile_upgrade.inc's scope.

Makefile_upgrade.inc

index 0cf6718..44efa38 100644 (file)
@@ -473,6 +473,10 @@ TO_REMOVE+=/etc/rc.d/archdep
 TO_REMOVE+=/usr/share/man/man4/sata.4.gz
 TO_REMOVE+=/usr/share/man/man9/cpu_switch.9.gz
 TO_REMOVE+=/usr/share/man/man9/mi_switch.9.gz
+TO_REMOVE+=/usr/include/pccard/cardinfo.h
+TO_REMOVE+=/usr/include/pccard/cis.h
+TO_REMOVE+=/usr/include/pccard/driver.h
+TO_REMOVE+=/usr/include/pccard/slot.h
 TO_REMOVE+=/usr/libexec/getNAME
 TO_REMOVE+=/usr/share/man/man1/getNAME.1.gz
 TO_REMOVE+=/modules/daemon_saver.ko
@@ -3431,12 +3435,6 @@ TO_REMOVE+=/usr/share/man/man8/mkinitrd.8.gz
 TO_REMOVE+=/rescue/rescue.sbin
 TO_REMOVE+=/usr/share/man/man3/fpresetsticky.3.gz
 
-# Obsolete /usr/include files that blow up the kdump build
-# during a make rescue
-#
-TO_REMOVE+=/usr/include/bus/pccard/cardinfo.h
-TO_REMOVE+=/usr/include/linux/linux_input.h
-
 .if !defined(WANT_INSTALLER)
 TO_REMOVE+=/usr/sbin/dfuibe_installer
 TO_REMOVE+=/usr/sbin/dfuife_curses