Message ID | 20130516193138.GA392@p100.box (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Thu, May 16, 2013 at 09:32:20PM +0200, Helge Deller wrote: > please add to stable kernel v3.9 > this patch is a merge of upstream commits > 93782eba49e23c3f311a6b05a19ba15927ec4e8b > and > 6880b0150a7c25fd75c5ece80abc49ebf53c38c1 I prefer to take the original upstream patches, so I've just applied both of these, instead of your merge. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 05/17/2013 08:25 PM, Greg KH wrote: > On Thu, May 16, 2013 at 09:32:20PM +0200, Helge Deller wrote: >> please add to stable kernel v3.9 >> this patch is a merge of upstream commits >> 93782eba49e23c3f311a6b05a19ba15927ec4e8b >> and >> 6880b0150a7c25fd75c5ece80abc49ebf53c38c1 > > I prefer to take the original upstream patches, so I've just applied > both of these, instead of your merge. That's absolutely fine. Thanks! Helge -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 113e282..1976900 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -23,26 +23,21 @@ NM = sh $(srctree)/arch/parisc/nm CHECKFLAGS += -D__hppa__=1 LIBGCC = $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) -MACHINE := $(shell uname -m) -ifeq ($(MACHINE),parisc*) -NATIVE := 1 -endif - ifdef CONFIG_64BIT UTS_MACHINE := parisc64 CHECKFLAGS += -D__LP64__=1 -m64 -WIDTH := 64 +CC_ARCHES = hppa64 else # 32-bit -WIDTH := +CC_ARCHES = hppa hppa2.0 hppa1.1 endif -# attempt to help out folks who are cross-compiling -ifeq ($(NATIVE),1) -CROSS_COMPILE := hppa$(WIDTH)-linux- -else - ifeq ($(CROSS_COMPILE),) - CROSS_COMPILE := hppa$(WIDTH)-linux-gnu- - endif +ifneq ($(SUBARCH),$(UTS_MACHINE)) + ifeq ($(CROSS_COMPILE),) + CC_SUFFIXES = linux linux-gnu unknown-linux-gnu + CROSS_COMPILE := $(call cc-cross-prefix, \ + $(foreach a,$(CC_ARCHES), \ + $(foreach s,$(CC_SUFFIXES),$(a)-$(s)-))) + endif endif OBJCOPY_FLAGS =-O binary -R .note -R .comment -S