lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1225304495-28079-1-git-send-email-vapier@gentoo.org>
Date:	Wed, 29 Oct 2008 14:21:35 -0400
From:	Mike Frysinger <vapier@...too.org>
To:	sam@...nborg.org
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] kbuild: include localarch for simple cross overrides

For people banging on kernel trees which are dedicated to a specific arch,
it'd be nice to allow the repo itself to declare the default ARCH (and
CROSS_COMPILE) easily.  Just like the "localversion-*" files, people can
just do:
echo 'ARCH ?= blackfin' > localarch
and the tree will default to 'blackfin' all the time rather than whatever
the build machine happens to be.

Signed-off-by: Mike Frysinger <vapier@...too.org>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index a7f2068..7fa1f81 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
 # make ARCH=ia64
 # Another way is to have ARCH set in the environment.
 # The default ARCH is the host where make is executed.
+-include localarch
 
 # CROSS_COMPILE specify the prefix used for all executables used
 # during compilation. Only gcc and related bin-utils executables
-- 
1.6.0.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ