]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - dts/Makefile
kbuild: use Linux Kernel build scripts
[karo-tx-uboot.git] / dts / Makefile
index d81f32d914de1f8d9df6e0a8399c52628ec5c2b6..cc6ecf66eb50c2d2769ae9c784747fbef0184f7f 100644 (file)
@@ -36,7 +36,7 @@ process_lds = \
        $(1) | sed -r -n 's/^OUTPUT_$(2)[ ("]*([^")]*).*/\1/p'
 
 # Run the compiler and get the link script from the linker
-GET_LDS = $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--verbose 2>&1
+GET_LDS = $(CC) $(c_flags) $(ld_flags) -Wl,--verbose 2>&1
 
 $(obj)/dt.o: $(DT_BIN)
        # We want the output format and arch.