Skip to contentSkip to conversation

cris: proper defconfig setup

PATCH In review Adrian Bunk 4 participants 9 messages Feb 26, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cris: proper defconfig setup

This patch moves the cris defconfigs to arch/cris/configs/ where they belong.

As a side effect they can now directly be used through e.g.
make ARCH=cris artpec_3_defconfig

The default defconfig is set through KBUILD_DEFCONFIG.

---

 arch/cris/Makefile                         |    2 +
 arch/cris/artpec_3_defconfig               |  582 -------------------
 arch/cris/configs/artpec_3_defconfig       |  582 +++++++++++++++++++
 arch/cris/configs/etrax-100lx_v2_defconfig |  580 +++++++++++++++++++
 arch/cris/configs/etraxfs_defconfig        |  585 ++++++++++++++++++++
 arch/cris/defconfig                        |  580 -------------------
 arch/cris/etraxfs_defconfig                |  585 --------------------
 7 files changed, 1749 insertions(+), 1747 deletions(-)

506b62a0e7b1316a0389052692882f568e93ad2a diff --git a/arch/cris/Makefile b/arch/cris/Makefile index 838cd2a..c6f5f5a 100644

arch/cris/Makefile +2 -0
@@ -10,6 +10,8 @@
 # License.  See the file "COPYING" in the main directory of this archive
 # for more details.
 
+KBUILD_DEFCONFIG := etrax-100lx_v2_defconfig
+
 arch-y := v10
 arch-$(CONFIG_ETRAX_ARCH_V10) := v10
 arch-$(CONFIG_ETRAX_ARCH_V32) := v32
arch/cris/artpec_3_defconfig deleted +0 -582

582 lines not on this page · raw message

arch/cris/configs/artpec_3_defconfig new file +582 -0

582 lines not on this page · raw message

arch/cris/configs/etrax-100lx_v2_defconfig new file +580 -0

580 lines not on this page · raw message

arch/cris/configs/etraxfs_defconfig new file +585 -0

585 lines not on this page · raw message

arch/cris/defconfig deleted +0 -580

580 lines not on this page · raw message

arch/cris/etraxfs_defconfig deleted +0 -585

83 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH v2 1/1 cris: proper defconfig setup

This patch moves the cris defconfigs to arch/cris/configs/ where they belong.

As a side effect they can now be used directly through e.g.
make ARCH=cris artpec_3_defconfig

The default defconfig is set through KBUILD_DEFCONFIG.

---

Patch updated after I discovered an additional defconfig in arch/cris/arch-v10/defconfig

 arch/cris/Makefile                         |    2 
 arch/cris/arch-v10/defconfig               |  502 ------------------
 arch/cris/artpec_3_defconfig               |  582 --------------------
 arch/cris/configs/artpec_3_defconfig       |  582 ++++++++++++++++++++
 arch/cris/configs/etrax-100lx_defconfig    |  502 ++++++++++++++++++
 arch/cris/configs/etrax-100lx_v2_defconfig |  580 ++++++++++++++++++++
 arch/cris/configs/etraxfs_defconfig        |  585 +++++++++++++++++++++
 arch/cris/defconfig                        |  580 --------------------
 arch/cris/etraxfs_defconfig                |  585 ---------------------
 9 files changed, 2251 insertions(+), 2249 deletions(-)

f43d92ac3143510427416af956e3a093acc51a00 diff --git a/arch/cris/Makefile b/arch/cris/Makefile index 838cd2a..c6f5f5a 100644

arch/cris/Makefile +2 -0
@@ -10,6 +10,8 @@
 # License.  See the file "COPYING" in the main directory of this archive
 # for more details.
 
+KBUILD_DEFCONFIG := etrax-100lx_v2_defconfig
+
 arch-y := v10
 arch-$(CONFIG_ETRAX_ARCH_V10) := v10
 arch-$(CONFIG_ETRAX_ARCH_V32) := v32
arch/cris/arch-v10/defconfig deleted +0 -502

502 lines not on this page · raw message

arch/cris/artpec_3_defconfig deleted +0 -582

582 lines not on this page · raw message

arch/cris/configs/artpec_3_defconfig new file +582 -0

582 lines not on this page · raw message

arch/cris/configs/etrax-100lx_defconfig new file +502 -0

502 lines not on this page · raw message

arch/cris/configs/etrax-100lx_v2_defconfig new file +580 -0

580 lines not on this page · raw message

arch/cris/configs/etraxfs_defconfig new file +585 -0

244 lines not on this page · raw message

arch/cris/defconfig deleted +0 -580

580 lines not on this page · raw message

arch/cris/etraxfs_defconfig deleted +0 -585

585 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

#2 lore raw
Quoted 6 lines · Adrian Bunk

This patch moves the cris defconfigs to arch/cris/configs/ where they belong.

As a side effect they can now be used directly through e.g.
make ARCH=cris artpec_3_defconfig

Quoted 6 lines

The default defconfig is set through KBUILD_DEFCONFIG.

Patch updated after I discovered an additional defconfig in arch/cris/arch-v10/defconfig

That could probably have been nuked, it's ancient.

I'll put this in my queue. Thanks!

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]

#3 lore raw
Quoted 9 lines · Jesper Nilsson
Quoted 8 lines · Adrian Bunk

This patch moves the cris defconfigs to arch/cris/configs/ where they belong.

As a side effect they can now be used directly through e.g.
make ARCH=cris artpec_3_defconfig

The default defconfig is set through KBUILD_DEFCONFIG.

Quoted 8 lines
Quoted 4 lines

Patch updated after I discovered an additional defconfig in arch/cris/arch-v10/defconfig

That could probably have been nuked, it's ancient.

I'll put this in my queue. Thanks!

If you blindly apply this patch then make sure you do not end up with zero size files. They are disliked by the kerne and make distclean will delete them - and git becomes unhappy.

Sam

#4 lore raw
Quoted 15 lines · Sam Ravnborg
Quoted 14 lines · Jesper Nilsson
Quoted 12 lines · Adrian Bunk

This patch moves the cris defconfigs to arch/cris/configs/ where they belong.

As a side effect they can now be used directly through e.g.
make ARCH=cris artpec_3_defconfig

The default defconfig is set through KBUILD_DEFCONFIG.

Patch updated after I discovered an additional defconfig in arch/cris/arch-v10/defconfig

Quoted 6 lines
Quoted 3 lines

That could probably have been nuked, it's ancient.

I'll put this in my queue. Thanks!

If you blindly apply this patch then make sure you do not end up with zero size files. They are disliked by the kerne and make distclean will delete them - and git becomes unhappy.

At least GNU patch will correctly remove the files with my patch.

Please name the tools that are that broken that they wouldn't apply this patch correctly and don't claim my patch was broken (or shut up).

Quoted 1 line

Sam

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#5 lore raw
Quoted 3 lines

Please name the tools that are that broken that they wouldn't apply this patch correctly and don't claim my patch was broken (or shut up).

It is only one or two weeks ago we ended up with a zero size file in the kernel tree - and I do not know why.
I just wanted to make sure we did not see this happen again.

Sam

#6 lore raw
Quoted 7 lines · Sam Ravnborg
Quoted 3 lines

Please name the tools that are that broken that they wouldn't apply this patch correctly and don't claim my patch was broken (or shut up).

It is only one or two weeks ago we ended up with a zero size file in the kernel tree - and I do not know why.
I just wanted to make sure we did not see this happen again.

Then research first what went wrong in this case.

But it is not funny when you wrongly accuse me publically of sending patches that would remove files in an incorrect way.

Quoted 1 line

Sam

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#7 lore raw
Quoted 5 lines · Adrian Bunk
Quoted 4 lines · Sam Ravnborg
Quoted 3 lines

Please name the tools that are that broken that they wouldn't apply this patch correctly and don't claim my patch was broken (or shut up).

Quoted 8 lines
Quoted 3 lines

It is only one or two weeks ago we ended up with a zero size file in the kernel tree - and I do not know why.
I just wanted to make sure we did not see this happen again.

Then research first what went wrong in this case.

But it is not funny when you wrongly accuse me publically of sending patches that would remove files in an incorrect way.

Maybe it was not obvious in my previous reply - but I did not intent in any way to accuse you of anything.
Sorry for accusing you.

Sam

Acked-by on v1 1/1
#8 lore raw
In reply to Adrian Bunk
Quoted 9 lines · Adrian Bunk

This patch moves the cris defconfigs to arch/cris/configs/ where they belong.

As a side effect they can now directly be used through e.g.
make ARCH=cris artpec_3_defconfig

The default defconfig is set through KBUILD_DEFCONFIG.

Thanks!

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]