diff options
author | Andres Salomon <dilinger@debian.org> | 2008-04-25 22:38:45 -0400 |
---|---|---|
committer | Andres Salomon <dilinger@debian.org> | 2008-04-25 22:38:45 -0400 |
commit | 45057ac49873de98f6970e4961fc758d12b051b9 (patch) | |
tree | 7903c4a871320f8e31a6feb9312fb9cd366c3664 /Makefile | |
parent | f18876d4f17e169bacc047b54135f6ef08cfeda6 (diff) | |
download | lwn-45057ac49873de98f6970e4961fc758d12b051b9.tar.gz lwn-45057ac49873de98f6970e4961fc758d12b051b9.zip |
build: fix missing x86-specific help output
Normally 'make help' spits out architecture-specific targets (including
things like foo_defconfig). However, it looks like ARCH was never changed
to SRCARCH during the x86 transition; the makefile still looks in
arch/i386/configs for arch-specific config files (if ARCH is i386, that is).
This changes it to use SRCARCH, which makes it properly display things
like i386_defconfig and x86_64_defconfig.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1170,7 +1170,7 @@ rpm: include/config/kernel.release FORCE # Brief documentation of the typical targets used # --------------------------------------------------------------------------- -boards := $(wildcard $(srctree)/arch/$(ARCH)/configs/*_defconfig) +boards := $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*_defconfig) boards := $(notdir $(boards)) help: @@ -1217,9 +1217,9 @@ help: @echo 'Documentation targets:' @$(MAKE) -f $(srctree)/Documentation/DocBook/Makefile dochelp @echo '' - @echo 'Architecture specific targets ($(ARCH)):' + @echo 'Architecture specific targets ($(SRCARCH)):' @$(if $(archhelp),$(archhelp),\ - echo ' No architecture specific help defined for $(ARCH)') + echo ' No architecture specific help defined for $(SRCARCH)') @echo '' @$(if $(boards), \ $(foreach b, $(boards), \ |