From 0a28394c83a0fcd858baba3260455c3507a51f35 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 28 Sep 2015 08:45:15 +0200 Subject: buildroot: Declare external sources in a better way Previously used relative path in .br-external was always rewritten to an absolute path. This was annoying as git reported that this file was changed. --- tests/cyclictest/root/.br-external | 1 - tests/cyclictest/root/.gitignore | 1 - tests/cyclictest/root/GNUmakefile | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 tests/cyclictest/root/.br-external diff --git a/tests/cyclictest/root/.br-external b/tests/cyclictest/root/.br-external deleted file mode 100644 index 0a888bb..0000000 --- a/tests/cyclictest/root/.br-external +++ /dev/null @@ -1 +0,0 @@ -BR2_EXTERNAL ?= ../../tests/cyclictest/root/packages diff --git a/tests/cyclictest/root/.gitignore b/tests/cyclictest/root/.gitignore index 9409512..2e27a06 100644 --- a/tests/cyclictest/root/.gitignore +++ b/tests/cyclictest/root/.gitignore @@ -2,7 +2,6 @@ !config_base !.gitignore !GNUmakefile -!.br-external !overlay/ !overlay/** !packages/ diff --git a/tests/cyclictest/root/GNUmakefile b/tests/cyclictest/root/GNUmakefile index 160ef09..049fd37 100644 --- a/tests/cyclictest/root/GNUmakefile +++ b/tests/cyclictest/root/GNUmakefile @@ -1,4 +1,5 @@ export SRCARCH=$(CONF_KERNEL_ARCH) +export BR2_EXTERNAL=$(CURDIR)/packages lastword = $(word $(words $(1)),$(1)) makedir := $(dir $(call lastword,$(MAKEFILE_LIST))) -- cgit v1.2.3