]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
flashimage.mk add linuxrc only for nevis
authorMarkham <markham001@gmx.de>
Mon, 28 Mar 2016 16:04:45 +0000 (18:04 +0200)
committerMarkham <markham001@gmx.de>
Mon, 28 Mar 2016 16:04:45 +0000 (18:04 +0200)
make/flashimage.mk

index 4794941caae802a513c030c96bd43db924c9fb88..7b94186d62bfe604ac05b9789daa4462dd29b77f 100755 (executable)
@@ -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; \