2010-07-29 23:46:31 +00:00
|
|
|
# Make rules for configuration files.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
CFG = kernel-$(VERSION)
|
|
|
|
|
|
|
|
CONFIGFILES = \
|
|
|
|
$(CFG)-i686.config $(CFG)-i686-debug.config \
|
|
|
|
$(CFG)-i686-PAE.config $(CFG)-i686-PAEdebug.config \
|
|
|
|
$(CFG)-x86_64.config $(CFG)-x86_64-debug.config \
|
2011-08-16 14:31:26 +00:00
|
|
|
$(CFG)-s390x.config \
|
2012-05-23 12:07:40 +00:00
|
|
|
$(CFG)-armv5tel-kirkwood.config \
|
2012-05-08 23:06:18 +00:00
|
|
|
$(CFG)-armv7l.config $(CFG)-armv7hl.config \
|
|
|
|
$(CFG)-armv7l-imx.config $(CFG)-armv7hl-imx.config \
|
|
|
|
$(CFG)-armv7l-omap.config $(CFG)-armv7hl-omap.config \
|
|
|
|
$(CFG)-armv7l-tegra.config $(CFG)-armv7hl-tegra.config \
|
2010-07-29 23:46:31 +00:00
|
|
|
$(CFG)-ppc.config $(CFG)-ppc-smp.config \
|
|
|
|
$(CFG)-sparc64.config \
|
2012-08-09 00:25:31 +00:00
|
|
|
$(CFG)-ppc64.config $(CFG)-ppc64p7.config $(CFG)-ppc64-debug.config
|
2010-07-29 23:46:31 +00:00
|
|
|
|
2012-11-07 22:47:48 +00:00
|
|
|
PLATFORMS = x86 x86_64 powerpc powerpc32 powerpc64 s390x sparc64 arm
|
2010-07-29 23:46:31 +00:00
|
|
|
TEMPFILES = $(addprefix temp-, $(addsuffix -generic, $(PLATFORMS)))
|
|
|
|
|
|
|
|
configs: $(CONFIGFILES)
|
|
|
|
@rm -f kernel-*-config
|
|
|
|
@rm -f $(TEMPFILES)
|
|
|
|
@rm -f temp-generic temp-*-generic temp-*-generic-tmp
|
|
|
|
|
|
|
|
# Augment the clean target to clean up our own cruft
|
|
|
|
clean ::
|
|
|
|
@rm -fv $(CONFIGFILES) $(TEMPFILES) temp-generic kernel-$(VERSION)*config
|
|
|
|
|
|
|
|
temp-generic: config-generic
|
|
|
|
cat config-generic config-nodebug > temp-generic
|
|
|
|
|
|
|
|
temp-debug-generic: config-generic
|
|
|
|
cat config-generic config-debug > temp-debug-generic
|
|
|
|
|
2012-10-26 14:38:35 +00:00
|
|
|
temp-armv7: config-armv7 temp-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-08-16 14:31:26 +00:00
|
|
|
temp-arm-generic: config-arm-generic temp-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2012-04-11 23:08:59 +00:00
|
|
|
temp-armv7l-omap: config-arm-omap temp-arm-generic
|
2011-08-16 14:31:26 +00:00
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-08-16 16:33:15 +00:00
|
|
|
temp-armv7l-tegra: config-arm-tegra temp-arm-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-12-09 19:29:38 +00:00
|
|
|
temp-armv5tel-kirkwood: config-arm-kirkwood temp-arm-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
|
|
|
temp-armv7l-imx: config-arm-imx temp-arm-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-08-09 23:32:10 +00:00
|
|
|
temp-x86-32: config-x86-32-generic config-x86-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-08-09 23:32:10 +00:00
|
|
|
temp-x86-32-generic: temp-x86-32 temp-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-08-09 23:32:10 +00:00
|
|
|
temp-x86-debug-generic: temp-x86-32 temp-debug-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-08-09 23:32:10 +00:00
|
|
|
temp-x86-64: config-x86_64-generic config-x86-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
|
|
|
temp-x86_64-generic: temp-x86-64 temp-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
|
|
|
temp-x86_64-debug-generic: temp-x86-64 temp-debug-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
|
|
|
temp-sparc64-generic: config-sparc64-generic temp-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
|
|
|
temp-powerpc-generic: config-powerpc-generic temp-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
|
|
|
temp-powerpc-debug-generic: config-powerpc-generic temp-debug-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
|
|
|
temp-powerpc32-generic: config-powerpc32-generic temp-powerpc-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2012-08-09 00:25:31 +00:00
|
|
|
temp-powerpc64-generic: config-powerpc64 temp-powerpc-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2010-07-29 23:46:31 +00:00
|
|
|
temp-s390-generic: config-s390x temp-generic
|
|
|
|
perl merge.pl $^ > $@
|
|
|
|
|
2011-08-09 23:32:10 +00:00
|
|
|
kernel-$(VERSION)-i686-PAE.config: config-i686-PAE temp-x86-32-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ i386 > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-i686-PAEdebug.config: config-i686-PAE temp-x86-debug-generic
|
|
|
|
perl merge.pl $^ i386 > $@
|
|
|
|
|
2011-08-09 23:32:10 +00:00
|
|
|
kernel-$(VERSION)-i686.config: /dev/null temp-x86-32-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ i386 > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-i686-debug.config: /dev/null temp-x86-debug-generic
|
|
|
|
perl merge.pl $^ i386 > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-x86_64.config: /dev/null temp-x86_64-generic
|
|
|
|
perl merge.pl $^ x86_64 > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-x86_64-debug.config: /dev/null temp-x86_64-debug-generic
|
|
|
|
perl merge.pl $^ x86_64 > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-sparc64.config: /dev/null temp-sparc64-generic
|
|
|
|
perl merge.pl $^ sparc64 > $@
|
|
|
|
|
2012-08-09 00:25:31 +00:00
|
|
|
kernel-$(VERSION)-ppc64.config: /dev/null temp-powerpc64-generic
|
|
|
|
perl merge.pl $^ powerpc > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-ppc64-debug.config: temp-powerpc64-generic temp-powerpc-debug-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ powerpc > $@
|
|
|
|
|
2012-08-09 00:25:31 +00:00
|
|
|
kernel-$(VERSION)-ppc64p7.config: config-powerpc64p7 temp-powerpc64-generic
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ powerpc > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-s390x.config: config-s390x temp-s390-generic
|
|
|
|
perl merge.pl $^ s390 > $@
|
|
|
|
|
2012-05-08 23:06:18 +00:00
|
|
|
kernel-$(VERSION)-armv5tel-kirkwood.config: /dev/null temp-armv5tel-kirkwood
|
2012-02-06 22:22:38 +00:00
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
2012-11-30 11:21:28 +00:00
|
|
|
kernel-$(VERSION)-armv7l.config: /dev/null temp-armv7
|
2011-12-09 19:29:38 +00:00
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-armv7l-imx.config: /dev/null temp-armv7l-imx
|
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
2012-04-11 23:08:59 +00:00
|
|
|
kernel-$(VERSION)-armv7l-omap.config: /dev/null temp-armv7l-omap
|
2010-07-29 23:46:31 +00:00
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
2011-08-16 16:33:15 +00:00
|
|
|
kernel-$(VERSION)-armv7l-tegra.config: /dev/null temp-armv7l-tegra
|
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
2012-10-26 14:38:35 +00:00
|
|
|
kernel-$(VERSION)-armv7hl.config: /dev/null temp-armv7
|
2012-05-08 23:06:18 +00:00
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
2011-12-09 19:29:38 +00:00
|
|
|
kernel-$(VERSION)-armv7hl-imx.config: /dev/null temp-armv7l-imx
|
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
2012-04-11 23:08:59 +00:00
|
|
|
kernel-$(VERSION)-armv7hl-omap.config: /dev/null temp-armv7l-omap
|
2011-08-12 05:37:40 +00:00
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-armv7hl-tegra.config: /dev/null temp-armv7l-tegra
|
|
|
|
perl merge.pl $^ arm > $@
|
|
|
|
|
2010-07-29 23:46:31 +00:00
|
|
|
kernel-$(VERSION)-ppc.config: /dev/null temp-powerpc32-generic
|
|
|
|
perl merge.pl $^ powerpc > $@
|
|
|
|
|
|
|
|
kernel-$(VERSION)-ppc-smp.config: config-powerpc32-smp temp-powerpc32-generic
|
|
|
|
perl merge.pl $^ powerpc > $@
|