summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/pci-resource
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-05-17 22:44:00 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-05-17 22:54:51 +0200
commit155b75bebc7e70501782e55160d144df212c6f4e (patch)
treec410aa483dbe0aa00d68145f236dff552b112715 /mdk-stage1/pci-resource
parent0acaf5127ede7fc0eac16c950e4a450e76962ff9 (diff)
downloaddrakx-155b75bebc7e70501782e55160d144df212c6f4e.tar
drakx-155b75bebc7e70501782e55160d144df212c6f4e.tar.gz
drakx-155b75bebc7e70501782e55160d144df212c6f4e.tar.bz2
drakx-155b75bebc7e70501782e55160d144df212c6f4e.tar.xz
drakx-155b75bebc7e70501782e55160d144df212c6f4e.zip
fix "make -j"
inspirated by pok's changes @mdv
Diffstat (limited to 'mdk-stage1/pci-resource')
-rw-r--r--mdk-stage1/pci-resource/Makefile25
-rwxr-xr-xmdk-stage1/pci-resource/update-pci-ids.pl27
2 files changed, 0 insertions, 52 deletions
diff --git a/mdk-stage1/pci-resource/Makefile b/mdk-stage1/pci-resource/Makefile
deleted file mode 100644
index c8214ddc1..000000000
--- a/mdk-stage1/pci-resource/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
- #******************************************************************************
- #
- # $Id: Makefile 253685 2009-03-06 14:27:29Z tv $
- #
- # Guillaume Cottenceau (gc)
- #
- # Copyright 2000 Mandriva
- #
- # This software may be freely redistributed under the terms of the GNU
- # public license.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
- #*****************************************************************************
-
-
-all: pci-ids.h
-
-pci-ids.h: /usr/share/ldetect-lst/pcitable.gz update-pci-ids.pl
- perl update-pci-ids.pl > $@ || { rm -f $@; exit 1; }
-
-clean:
- rm -f pci-ids.h
diff --git a/mdk-stage1/pci-resource/update-pci-ids.pl b/mdk-stage1/pci-resource/update-pci-ids.pl
deleted file mode 100755
index 84191a9d6..000000000
--- a/mdk-stage1/pci-resource/update-pci-ids.pl
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/perl
-
-use lib '../kernel';
-use strict;
-use MDK::Common;
-
-
-my %t = (
- network => 'network/main|gigabit|pcmcia|virtual|wireless',
- medias_ide => 'disk/ide',
- medias_other => 'disk/scsi|hardware_raid|sata|virtual bus/firewire',
-);
-
-foreach my $type (keys %t) {
- my @modules = chomp_(`perl ../../kernel/modules.pl pci_modules4stage1 "$t{$type}"`)
- or die "unable to get PCI modules";
-
- print "#ifndef DISABLE_".uc($type)."
-char* ${type}_pci_modules[] = {
-";
- printf qq|\t"%s",\n|, $_ foreach @modules;
- print "};
-unsigned int ${type}_pci_modules_len = sizeof(${type}_pci_modules) / sizeof(char *);
-#endif
-
-";
-}