MIPS: JZ4740: only detect RAM size if not specified in DT
[firefly-linux-kernel-4.4.55.git] / arch / mips / jz4740 / Makefile
index 7636432af6eeaf6bf3b66ee42a80f432a07e5b61..70a9578cc6db7bd9b78e6f118a7d4118aea68963 100644 (file)
@@ -7,6 +7,8 @@
 obj-y += prom.o time.o reset.o setup.o \
        gpio.o platform.o timer.o serial.o
 
+CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt
+
 # board specific support
 
 obj-$(CONFIG_JZ4740_QI_LB60)   += board-qi_lb60.o