From: yxj Date: Sat, 29 Jun 2013 06:11:49 +0000 (+0800) Subject: rk screen:fix Makefile,only update lcd.h when the source file is changed X-Git-Tag: firefly_0821_release~6965^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e84b364c5866d13d2e1fa62b53cad9b13b47a271;p=firefly-linux-kernel-4.4.55.git rk screen:fix Makefile,only update lcd.h when the source file is changed --- diff --git a/drivers/video/rockchip/screen/Makefile b/drivers/video/rockchip/screen/Makefile index e415adfa24f4..28cd07302921 100644 --- a/drivers/video/rockchip/screen/Makefile +++ b/drivers/video/rockchip/screen/Makefile @@ -65,7 +65,7 @@ obj-$(CONFIG_LCD_LD089WU1_MIPI) += lcd_LD089WU1_mipi.o quiet_cmd_gen = GEN $@ - cmd_gen = cp -a $< $@ + cmd_gen = cmp -s $< $@ || cp $< $@ lcd-obj := $(filter lcd_%.o,$(obj-y)) lcd-cfile := $(patsubst %.o,%.c,$(lcd-obj))