X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=a606202c67351bc0f4fdd237754b4625cad9a269;hb=de51efe7cd2fcda6a9aa7f0be0482d2578155c09;hp=78611d9adc7211c28f263e2109252da882d877dd;hpb=1b6e1688bd215cd7c9cb75650fa815a1ec6567e1;p=firefly-linux-kernel-4.4.55.git diff --git a/Makefile b/Makefile index 78611d9adc72..a606202c6735 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 32 -EXTRAVERSION = .11 +EXTRAVERSION = .27 NAME = Man-Eating Seals of Antiquity # *DOCUMENTATION* @@ -180,8 +180,15 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ # Default value for CROSS_COMPILE is not to prefix executables # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile export KBUILD_BUILDHOST := $(SUBARCH) -ARCH ?= $(SUBARCH) -CROSS_COMPILE ?= +#ARCH ?= $(SUBARCH) +#CROSS_COMPILE ?= +ARCH ?= arm +ifneq ($(wildcard ../toolchain/arm-eabi-4.4.0),) +CROSS_COMPILE ?= ../toolchain/arm-eabi-4.4.0/bin/arm-eabi- +endif +ifneq ($(wildcard ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0),) +CROSS_COMPILE ?= ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- +endif # Architecture as present in compile.h UTS_MACHINE := $(ARCH) @@ -1593,3 +1600,7 @@ FORCE: # Declare the contents of the .PHONY variable as phony. We keep that # information in a variable so we can use it in if_changed and friends. .PHONY: $(PHONY) + + +%.o: %.uu prepare scripts FORCE + $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)