From 744033b17fb5a61a1bbe2245153b0269c6088776 Mon Sep 17 00:00:00 2001 From: Abhijit Mahajani Date: Thu, 29 Sep 2016 12:57:03 +0530 Subject: [PATCH] uboot-envtools: add pistachio support Remove 30_uboot-envtools from target/linux/pistachio to proper location. Signed-off-by: Abhijit Mahajani --- package/boot/uboot-envtools/Makefile | 4 ++++ .../boot/uboot-envtools/files/pistachio | 6 ++++++ 2 files changed, 10 insertions(+) rename target/linux/pistachio/base-files/etc/uci-defaults/30_uboot-envtools => package/boot/uboot-envtools/files/pistachio (71%) mode change 100755 => 100644 diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index a5b0f92310..1307a2d89f 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -105,6 +105,10 @@ ifneq ($(CONFIG_TARGET_oxnas),) $(INSTALL_DIR) $(1)/etc/uci-defaults $(INSTALL_BIN) ./files/oxnas $(1)/etc/uci-defaults/30_uboot-envtools endif +ifneq ($(CONFIG_TARGET_pistachio),) + $(INSTALL_DIR) $(1)/etc/uci-defaults + $(INSTALL_DATA) ./files/pistachio $(1)/etc/uci-defaults/30_uboot-envtools +endif ifneq ($(CONFIG_TARGET_ramips),) $(INSTALL_DIR) $(1)/etc/uci-defaults $(INSTALL_DATA) ./files/ramips $(1)/etc/uci-defaults/30_uboot-envtools diff --git a/target/linux/pistachio/base-files/etc/uci-defaults/30_uboot-envtools b/package/boot/uboot-envtools/files/pistachio old mode 100755 new mode 100644 similarity index 71% rename from target/linux/pistachio/base-files/etc/uci-defaults/30_uboot-envtools rename to package/boot/uboot-envtools/files/pistachio index 5ba817a767..c70448f319 --- a/target/linux/pistachio/base-files/etc/uci-defaults/30_uboot-envtools +++ b/package/boot/uboot-envtools/files/pistachio @@ -1,4 +1,10 @@ #!/bin/sh +# +# Copyright (C) 2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# [ -e /etc/config/ubootenv ] && exit 0