| 1 |
dir = usr/lib/debian-installer-startup.d |
| 2 |
|
| 3 |
DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null) |
| 4 |
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) |
| 5 |
|
| 6 |
|
| 7 |
ifeq ($(DEB_HOST_ARCH_CPU),) |
| 8 |
DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) |
| 9 |
ifeq ($(DEB_HOST_ARCH_CPU),x86_64) |
| 10 |
DEB_HOST_ARCH_CPU := amd64 |
| 11 |
endif |
| 12 |
endif |
| 13 |
ifeq ($(DEB_HOST_ARCH_OS),) |
| 14 |
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) |
| 15 |
endif |
| 16 |
|
| 17 |
files = \ |
| 18 |
S10syslog \ |
| 19 |
S20templates \ |
| 20 |
S35term \ |
| 21 |
S50entropy-source |
| 22 |
|
| 23 |
ifeq ($(DEB_HOST_ARCH_OS),linux) |
| 24 |
ifneq (,$(filter i386 amd64,$(DEB_HOST_ARCH_CPU))) |
| 25 |
files += \ |
| 26 |
S40framebuffer-module-linux-x86 |
| 27 |
endif |
| 28 |
|
| 29 |
ifeq ($(DEB_HOST_ARCH_CPU),powerpc) |
| 30 |
files += \ |
| 31 |
S05fancontrol-linux-powerpc \ |
| 32 |
S45keyboard-linux-powerpc |
| 33 |
endif |
| 34 |
|
| 35 |
ifneq (,$(filter alpha,$(DEB_HOST_ARCH_CPU))) |
| 36 |
files += \ |
| 37 |
S40framebuffer-module-linux-alpha \ |
| 38 |
S04countcpus-linux-alpha |
| 39 |
endif |
| 40 |
|
| 41 |
ifneq (,$(filter hppa,$(DEB_HOST_ARCH_CPU))) |
| 42 |
files += \ |
| 43 |
S04countcpus-linux-hppa |
| 44 |
endif |
| 45 |
|
| 46 |
ifneq (,$(filter arm armel armhf,$(DEB_HOST_ARCH_CPU))) |
| 47 |
files += \ |
| 48 |
S40framebuffer-module-linux-armel \ |
| 49 |
S99signal-status |
| 50 |
endif |
| 51 |
|
| 52 |
files += \ |
| 53 |
S01mount \ |
| 54 |
S02module-params \ |
| 55 |
S37speakup |
| 56 |
endif |
| 57 |
|
| 58 |
include ../../../../Makefile.inc |