From 4590192d8d8be49549f1dddf9f70ec0b5e72cfe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 27 Sep 2018 14:22:47 +0200 Subject: personal-pkgs-repo: try to fix compilation --- personal-pkgs-repo/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'personal-pkgs-repo') diff --git a/personal-pkgs-repo/Makefile b/personal-pkgs-repo/Makefile index a8d0c90..1a19c7a 100644 --- a/personal-pkgs-repo/Makefile +++ b/personal-pkgs-repo/Makefile @@ -32,18 +32,15 @@ define Package/$(PKG_NAME)/install $(INSTALL_CONF) ./files/updater.lua $(1)/etc/updater/conf.d/personal-pkgs.lua endef +BOARD:=unknown ifeq ($(CONFIG_TARGET_PROFILE),"DEVICE_turris-omnia") -BOARD=omnia -else -ifeq ($(CONFIG_TARGET_PROFILE),"TURRIS") -BOARD=turris -else -ifeq ($(CONFIG_TARGET_PROFILE),"DEVICE_cznic-mox") -BOARD:=mox -else -$(error This repository does not support profile: $(CONFIG_TARGET_PROFILE)) + BOARD:=omnia endif +ifeq ($(CONFIG_TARGET_PROFILE),"TURRIS") + BOARD:=turris endif +ifeq ($(CONFIG_TARGET_PROFILE),"DEVICE_cznic-mox") + BOARD:=mox endif define Package/$(PKG_NAME)/postinst -- cgit v1.2.3