* [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition
@ 2016-11-22 21:34 Michal Marek
2016-11-22 21:34 ` [PATCH 2/6] arm: " Michal Marek
2017-03-10 17:58 ` [PATCH 1/6] arm64: " Will Deacon
0 siblings, 2 replies; 8+ messages in thread
From: Michal Marek @ 2016-11-22 21:34 UTC (permalink / raw)
To: linux-arm-kernel
The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
expect it to point to the image file in the build directory. The
builddeb script has a workaround for architectures which only provide
the basename, but let's provide a clean interface for packaging tools.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Michal Marek <mmarek@suse.com>
---
arch/arm64/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 3635b8662724..80b6866bcacb 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -94,12 +94,12 @@ libs-y := arch/arm64/lib/ $(libs-y)
core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
# Default target when executing plain make
-KBUILD_IMAGE := Image.gz
+boot := arch/arm64/boot
+KBUILD_IMAGE := $(boot)/Image.gz
KBUILD_DTBS := dtbs
-all: $(KBUILD_IMAGE) $(KBUILD_DTBS)
+all: Image.gz $(KBUILD_DTBS)
-boot := arch/arm64/boot
Image: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
--
2.10.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/6] arm: Use full path in KBUILD_IMAGE definition
2016-11-22 21:34 [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition Michal Marek
@ 2016-11-22 21:34 ` Michal Marek
2017-03-20 13:53 ` Masahiro Yamada
2017-03-10 17:58 ` [PATCH 1/6] arm64: " Will Deacon
1 sibling, 1 reply; 8+ messages in thread
From: Michal Marek @ 2016-11-22 21:34 UTC (permalink / raw)
To: linux-arm-kernel
The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
expect it to point to the image file in the build directory. The
builddeb script has a workaround for architectures which only provide
the basename, but let's provide a clean interface for packaging tools.
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Michal Marek <mmarek@suse.com>
---
arch/arm/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 6be9ee148b78..f3fa2cafca15 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -296,10 +296,11 @@ drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/
libs-y := arch/arm/lib/ $(libs-y)
# Default target when executing plain make
+boot := arch/arm/boot
ifeq ($(CONFIG_XIP_KERNEL),y)
-KBUILD_IMAGE := xipImage
+KBUILD_IMAGE := $(boot)/xipImage
else
-KBUILD_IMAGE := zImage
+KBUILD_IMAGE := $(boot)/zImage
endif
# Build the DT binary blobs if we have OF configured
@@ -307,9 +308,8 @@ ifeq ($(CONFIG_USE_OF),y)
KBUILD_DTBS := dtbs
endif
-all: $(KBUILD_IMAGE) $(KBUILD_DTBS)
+all: $(notdir $(KBUILD_IMAGE)) $(KBUILD_DTBS)
-boot := arch/arm/boot
archprepare:
$(Q)$(MAKE) $(build)=arch/arm/tools include/generated/mach-types.h
--
2.10.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/6] arm: Use full path in KBUILD_IMAGE definition
2016-11-22 21:34 ` [PATCH 2/6] arm: " Michal Marek
@ 2017-03-20 13:53 ` Masahiro Yamada
0 siblings, 0 replies; 8+ messages in thread
From: Masahiro Yamada @ 2017-03-20 13:53 UTC (permalink / raw)
To: linux-arm-kernel
2016-11-23 6:34 GMT+09:00 Michal Marek <mmarek@suse.com>:
> The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
> expect it to point to the image file in the build directory. The
> builddeb script has a workaround for architectures which only provide
> the basename, but let's provide a clean interface for packaging tools.
>
> Cc: Russell King <linux@armlinux.org.uk>
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Michal Marek <mmarek@suse.com>
Applied to linux-kbuild/misc. Thanks!
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition
2016-11-22 21:34 [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition Michal Marek
2016-11-22 21:34 ` [PATCH 2/6] arm: " Michal Marek
@ 2017-03-10 17:58 ` Will Deacon
2017-03-10 21:20 ` Michal Marek
1 sibling, 1 reply; 8+ messages in thread
From: Will Deacon @ 2017-03-10 17:58 UTC (permalink / raw)
To: linux-arm-kernel
Hi Michael,
On Tue, Nov 22, 2016 at 10:34:29PM +0100, Michal Marek wrote:
> The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
> expect it to point to the image file in the build directory. The
> builddeb script has a workaround for architectures which only provide
> the basename, but let's provide a clean interface for packaging tools.
>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Michal Marek <mmarek@suse.com>
> ---
> arch/arm64/Makefile | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
What's the plan for this patch? I'm happy to merge it, but I don't see
the rest of the series queued anywhere.
Thanks,
Will
> diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
> index 3635b8662724..80b6866bcacb 100644
> --- a/arch/arm64/Makefile
> +++ b/arch/arm64/Makefile
> @@ -94,12 +94,12 @@ libs-y := arch/arm64/lib/ $(libs-y)
> core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a
>
> # Default target when executing plain make
> -KBUILD_IMAGE := Image.gz
> +boot := arch/arm64/boot
> +KBUILD_IMAGE := $(boot)/Image.gz
> KBUILD_DTBS := dtbs
>
> -all: $(KBUILD_IMAGE) $(KBUILD_DTBS)
> +all: Image.gz $(KBUILD_DTBS)
>
> -boot := arch/arm64/boot
>
> Image: vmlinux
> $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
> --
> 2.10.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition
2017-03-10 17:58 ` [PATCH 1/6] arm64: " Will Deacon
@ 2017-03-10 21:20 ` Michal Marek
2017-03-18 13:14 ` Masahiro Yamada
0 siblings, 1 reply; 8+ messages in thread
From: Michal Marek @ 2017-03-10 21:20 UTC (permalink / raw)
To: linux-arm-kernel
Dne 10.3.2017 v 18:58 Will Deacon napsal(a):
> Hi Michael,
>
> On Tue, Nov 22, 2016 at 10:34:29PM +0100, Michal Marek wrote:
>> The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
>> expect it to point to the image file in the build directory. The
>> builddeb script has a workaround for architectures which only provide
>> the basename, but let's provide a clean interface for packaging tools.
>>
>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>> Cc: Will Deacon <will.deacon@arm.com>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Signed-off-by: Michal Marek <mmarek@suse.com>
>> ---
>> arch/arm64/Makefile | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> What's the plan for this patch? I'm happy to merge it,
Great, please merge it.
> but I don't see
> the rest of the series queued anywhere.
I'll see what remains and submit the rest via the kbuild tree.
Thanks,
Michal
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition
2017-03-10 21:20 ` Michal Marek
@ 2017-03-18 13:14 ` Masahiro Yamada
2017-03-20 12:13 ` Will Deacon
0 siblings, 1 reply; 8+ messages in thread
From: Masahiro Yamada @ 2017-03-18 13:14 UTC (permalink / raw)
To: linux-arm-kernel
Hi Will, Michal,
2017-03-11 6:20 GMT+09:00 Michal Marek <mmarek@suse.com>:
> Dne 10.3.2017 v 18:58 Will Deacon napsal(a):
>> Hi Michael,
>>
>> On Tue, Nov 22, 2016 at 10:34:29PM +0100, Michal Marek wrote:
>>> The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
>>> expect it to point to the image file in the build directory. The
>>> builddeb script has a workaround for architectures which only provide
>>> the basename, but let's provide a clean interface for packaging tools.
>>>
>>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>>> Cc: Will Deacon <will.deacon@arm.com>
>>> Cc: linux-arm-kernel at lists.infradead.org
>>> Signed-off-by: Michal Marek <mmarek@suse.com>
>>> ---
>>> arch/arm64/Makefile | 6 +++---
>>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> What's the plan for this patch? I'm happy to merge it,
>
> Great, please merge it.
>
>
>> but I don't see
>> the rest of the series queued anywhere.
>
> I'll see what remains and submit the rest via the kbuild tree.
>
> Thanks,
> Michal
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
I like this approach, rather than fixing scripts/package/mkspec.
So, how shall we handle this series?
I am OK with getting 1/6 in through arm64 tree,
but 6/6 will be postponed in the case.
If Will issues Acked-by, I can pick-up the whole series
to linux-kbuild.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition
2017-03-18 13:14 ` Masahiro Yamada
@ 2017-03-20 12:13 ` Will Deacon
2017-03-20 13:52 ` Masahiro Yamada
0 siblings, 1 reply; 8+ messages in thread
From: Will Deacon @ 2017-03-20 12:13 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Mar 18, 2017 at 10:14:41PM +0900, Masahiro Yamada wrote:
> 2017-03-11 6:20 GMT+09:00 Michal Marek <mmarek@suse.com>:
> > Dne 10.3.2017 v 18:58 Will Deacon napsal(a):
> >> On Tue, Nov 22, 2016 at 10:34:29PM +0100, Michal Marek wrote:
> >>> The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
> >>> expect it to point to the image file in the build directory. The
> >>> builddeb script has a workaround for architectures which only provide
> >>> the basename, but let's provide a clean interface for packaging tools.
> >>>
> >>> Cc: Catalin Marinas <catalin.marinas@arm.com>
> >>> Cc: Will Deacon <will.deacon@arm.com>
> >>> Cc: linux-arm-kernel at lists.infradead.org
> >>> Signed-off-by: Michal Marek <mmarek@suse.com>
> >>> ---
> >>> arch/arm64/Makefile | 6 +++---
> >>> 1 file changed, 3 insertions(+), 3 deletions(-)
> >>
> >> What's the plan for this patch? I'm happy to merge it,
> >
> > Great, please merge it.
> >
> >> but I don't see
> >> the rest of the series queued anywhere.
> >
> > I'll see what remains and submit the rest via the kbuild tree.
> >
>
> I like this approach, rather than fixing scripts/package/mkspec.
>
>
> So, how shall we handle this series?
>
>
> I am OK with getting 1/6 in through arm64 tree,
> but 6/6 will be postponed in the case.
>
>
>
> If Will issues Acked-by, I can pick-up the whole series
> to linux-kbuild.
Ok, that works for me too. For the first patch:
Acked-by: Will Deacon <will.deacon@arm.com>
So please take this via linux-kbuild.
Will
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition
2017-03-20 12:13 ` Will Deacon
@ 2017-03-20 13:52 ` Masahiro Yamada
0 siblings, 0 replies; 8+ messages in thread
From: Masahiro Yamada @ 2017-03-20 13:52 UTC (permalink / raw)
To: linux-arm-kernel
2017-03-20 21:13 GMT+09:00 Will Deacon <will.deacon@arm.com>:
> On Sat, Mar 18, 2017 at 10:14:41PM +0900, Masahiro Yamada wrote:
>> 2017-03-11 6:20 GMT+09:00 Michal Marek <mmarek@suse.com>:
>> > Dne 10.3.2017 v 18:58 Will Deacon napsal(a):
>> >> On Tue, Nov 22, 2016 at 10:34:29PM +0100, Michal Marek wrote:
>> >>> The KBUILD_IMAGE variable is used by the rpm and deb-pkg targets, which
>> >>> expect it to point to the image file in the build directory. The
>> >>> builddeb script has a workaround for architectures which only provide
>> >>> the basename, but let's provide a clean interface for packaging tools.
>> >>>
>> >>> Cc: Catalin Marinas <catalin.marinas@arm.com>
>> >>> Cc: Will Deacon <will.deacon@arm.com>
>> >>> Cc: linux-arm-kernel at lists.infradead.org
>> >>> Signed-off-by: Michal Marek <mmarek@suse.com>
>> >>> ---
>> >>> arch/arm64/Makefile | 6 +++---
>> >>> 1 file changed, 3 insertions(+), 3 deletions(-)
>> >>
>> >> What's the plan for this patch? I'm happy to merge it,
>> >
>> > Great, please merge it.
>> >
>> >> but I don't see
>> >> the rest of the series queued anywhere.
>> >
>> > I'll see what remains and submit the rest via the kbuild tree.
>> >
>>
>> I like this approach, rather than fixing scripts/package/mkspec.
>>
>>
>> So, how shall we handle this series?
>>
>>
>> I am OK with getting 1/6 in through arm64 tree,
>> but 6/6 will be postponed in the case.
>>
>>
>>
>> If Will issues Acked-by, I can pick-up the whole series
>> to linux-kbuild.
>
> Ok, that works for me too. For the first patch:
>
> Acked-by: Will Deacon <will.deacon@arm.com>
>
> So please take this via linux-kbuild.
>
> Will
Applied to linux-kbuild/misc. Thanks!
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-03-20 13:53 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-22 21:34 [PATCH 1/6] arm64: Use full path in KBUILD_IMAGE definition Michal Marek
2016-11-22 21:34 ` [PATCH 2/6] arm: " Michal Marek
2017-03-20 13:53 ` Masahiro Yamada
2017-03-10 17:58 ` [PATCH 1/6] arm64: " Will Deacon
2017-03-10 21:20 ` Michal Marek
2017-03-18 13:14 ` Masahiro Yamada
2017-03-20 12:13 ` Will Deacon
2017-03-20 13:52 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).