>
> > The series touches also m68k, sh, mips and unicore32.
> > These architectures magically select a cross compiler if ARCH != SUBARCH.
> > Do really need that behavior?
>
> This does remove functionality.
> It allows to build a kernel using e.g. "make ARCH=m68k".
>
> Perhaps this can be moved
On 08/21/2013 07:07:33 AM, Geert Uytterhoeven wrote:
> On Wed, Aug 21, 2013 at 10:19 AM, Richard Weinberger
> wrote:
> > This series is an attempt to remove the SUBARCH make parameter.
> > It as introduced at the times of Linux 2.5 for UML to tell the UML
> > build system what the real architect
As all users of SUBARCH have been removed we can finally get
rid of it.
Signed-off-by: Richard Weinberger
---
Makefile | 15 +++
arch/um/Makefile | 2 +-
2 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/Makefile b/Makefile
index a5a55f4..48bd8fe 100644
--- a/M
Forces the user to specify CROSS_COMPILE at compile time instead
of automatically selecting more or less randomly a cross compiler.
Signed-off-by: Richard Weinberger
---
arch/sh/Makefile | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index aed701c..87
Forces the user to specify CROSS_COMPILE at compile time instead
of automatically selecting more or less randomly a cross compiler.
Signed-off-by: Richard Weinberger
---
arch/mips/Makefile | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 37f9
On Wed, 21 Aug 2013, Richard Weinberger wrote:
> The series touches also m68k, sh, mips and unicore32.
> These architectures magically select a cross compiler if ARCH != SUBARCH.
> Do really need that behavior?
Not precisely that, but it’s very common in m68k land
to just cross-build kernels with
Am 21.08.2013 14:07, schrieb Geert Uytterhoeven:
> On Wed, Aug 21, 2013 at 10:19 AM, Richard Weinberger wrote:
>> This series is an attempt to remove the SUBARCH make parameter.
>> It as introduced at the times of Linux 2.5 for UML to tell the UML
>> build system what the real architecture is.
>>
The old unified defconfig is no longer needed.
Signed-off-by: Richard Weinberger
---
arch/um/defconfig | 901 --
1 file changed, 901 deletions(-)
delete mode 100644 arch/um/defconfig
diff --git a/arch/um/defconfig b/arch/um/defconfig
deleted
>From now on UML does no longer depend on SUBARCH and will
never silently change CONFIG_64BIT.
"make defconfig ARCH=um" produces now a .config with is suitable
for your host arch.
"make i386_defconfig ARCH=um" replaces "make defconfig ARCH=um SUBARCH=i386"
"and make x86_64_defconfig ARCH=um" repl
This series is an attempt to remove the SUBARCH make parameter.
It as introduced at the times of Linux 2.5 for UML to tell the UML
build system what the real architecture is.
But we actually don't need SUBARCH, we can store this information
in the .config file.
i386_defconfig will produce a kernel
Instead of having one defconfig for both i386 and x86_64
we have now two.
This is the first step to get rid of SUBARCH.
This patch is based on: https://lkml.org/lkml/2013/7/4/396
Cc: Ramkumar Ramachandra
Signed-off-by: Richard Weinberger
---
arch/um/configs/i386_defconfig | 954 +
If ARCH doesn't match uname for some definition of match?
Thorsten Glaser wrote:
>On Wed, 21 Aug 2013, Richard Weinberger wrote:
>
>> The series touches also m68k, sh, mips and unicore32.
>> These architectures magically select a cross compiler if ARCH !=
>SUBARCH.
>> Do really need that behavior
Forces the user to specify CROSS_COMPILE at compile time instead
of automatically selecting more or less randomly a cross compiler
Signed-off-by: Richard Weinberger
---
arch/unicore32/Makefile | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/unicore32/Makefile b/arch/unicore32/Makefi
On Wed, Aug 21, 2013 at 10:19 AM, Richard Weinberger wrote:
> This series is an attempt to remove the SUBARCH make parameter.
> It as introduced at the times of Linux 2.5 for UML to tell the UML
> build system what the real architecture is.
>
> But we actually don't need SUBARCH, we can store this
Forces the user to specify CROSS_COMPILE at compile time instead
of automatically selecting more or less randomly a cross compiler.
Signed-off-by: Richard Weinberger
---
arch/m68k/Makefile | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile
index 7f7
15 matches
Mail list logo