From e84b364c5866d13d2e1fa62b53cad9b13b47a271 Mon Sep 17 00:00:00 2001 From: yxj Date: Sat, 29 Jun 2013 14:11:49 +0800 Subject: [PATCH] rk screen:fix Makefile,only update lcd.h when the source file is changed --- drivers/video/rockchip/screen/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.34.1