]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/mips/config.mk
kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC
[karo-tx-uboot.git] / arch / mips / config.mk
index c3f81b5a180d7a259768679a94f9a2b5755b7586..1899f51872572fd57bc7bf65fd2307f2403c15e0 100644 (file)
@@ -5,7 +5,9 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-CROSS_COMPILE ?= mips_4KC-
+ifeq ($(CROSS_COMPILE),)
+CROSS_COMPILE := mips_4KC-
+endif
 
 # Handle special prefix in ELDK 4.0 toolchain
 ifneq (,$(findstring 4KCle,$(CROSS_COMPILE)))
@@ -50,4 +52,4 @@ PLATFORM_CPPFLAGS             += -msoft-float
 PLATFORM_LDFLAGS               += -G 0 -static -n -nostdlib $(ENDIANNESS)
 PLATFORM_RELFLAGS              += -ffunction-sections -fdata-sections
 LDFLAGS_FINAL                  += --gc-sections -pie
-OBJCFLAGS                      += --remove-section=.dynsym
+OBJCOPYFLAGS                   += --remove-section=.dynsym