0001-Force-the-definition-of-build-tools.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From f8aa6a0eeaa6ae3fd4dfe2d60118a47a3867c906 Mon Sep 17 00:00:00 2001
  2. From: Paul Kocialkowski <contact@paulk.fr>
  3. Date: Wed, 10 Feb 2016 20:44:09 +0100
  4. Subject: [PATCH] Force the definition of build tools
  5. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
  6. ---
  7. Makefile | 20 ++++++++++----------
  8. 1 file changed, 10 insertions(+), 10 deletions(-)
  9. diff --git a/Makefile b/Makefile
  10. index c4cd006..5244242 100644
  11. --- a/Makefile
  12. +++ b/Makefile
  13. @@ -264,16 +264,16 @@ include $(srctree)/scripts/Kbuild.include
  14. # Make variables (CC, etc...)
  15. -AR ?= $(CROSS_COMPILE)ar
  16. -AS ?= $(CROSS_COMPILE)as
  17. -CC ?= $(CROSS_COMPILE)gcc
  18. -CPP ?= $(CC) -E
  19. -LD ?= $(CROSS_COMPILE)ld
  20. -NM ?= $(CROSS_COMPILE)nm
  21. -STRIP ?= $(CROSS_COMPILE)strip
  22. -OBJCOPY ?= $(CROSS_COMPILE)objcopy
  23. -OBJDUMP ?= $(CROSS_COMPILE)objdump
  24. -INSTALL ?= install
  25. +AR := $(CROSS_COMPILE)ar
  26. +AS := $(CROSS_COMPILE)as
  27. +CC := $(CROSS_COMPILE)gcc
  28. +CPP := $(CC) -E
  29. +LD := $(CROSS_COMPILE)ld
  30. +NM := $(CROSS_COMPILE)nm
  31. +STRIP := $(CROSS_COMPILE)strip
  32. +OBJCOPY := $(CROSS_COMPILE)objcopy
  33. +OBJDUMP := $(CROSS_COMPILE)objdump
  34. +INSTALL := install
  35. AWK = awk
  36. DEPMOD = /sbin/depmod
  37. CHECK = sparse
  38. --
  39. 1.9.1