From 24240907069e69a6153408e76ab795a1fd8e5818 Mon Sep 17 00:00:00 2001 From: Markham Date: Mon, 28 Mar 2016 18:04:45 +0200 Subject: [PATCH] flashimage.mk add linuxrc only for nevis --- make/flashimage.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/flashimage.mk b/make/flashimage.mk index 4794941..7b94186 100755 --- a/make/flashimage.mk +++ b/make/flashimage.mk @@ -48,7 +48,9 @@ flash-prepare: $(MAKE) flash-customize tar zcf $(BUILD_TMP)/rootfs.tar.gz -C $(BUILD_TMP)/install .; \ rm -fr $(BUILD_TMP)/install/oldroot - cp -a $(SCRIPTS)/linuxrc $(BUILD_TMP)/install + if [ "$(PLATFORM)" = "nevis" ]; then \ + cp -a $(SCRIPTS)/linuxrc $(BUILD_TMP)/install; \ + fi flash: $(D)/mtd-utils echo "/dev/console c 0600 0 0 5 1 0 0 0" > $(BUILD_TMP)/devtable; \ -- 2.39.5