aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2015-09-28 08:45:15 +0200
committerMichal Sojka <sojkam1@fel.cvut.cz>2015-09-28 08:45:15 +0200
commit0a28394c83a0fcd858baba3260455c3507a51f35 (patch)
treeebb46c4678cde8545ac4fccc27494181de35cb88 /tests
parentc462eb260716d2e9cd4971dccbf44f5e889ed774 (diff)
downloadlinux-conf-perf-0a28394c83a0fcd858baba3260455c3507a51f35.tar.gz
linux-conf-perf-0a28394c83a0fcd858baba3260455c3507a51f35.tar.bz2
linux-conf-perf-0a28394c83a0fcd858baba3260455c3507a51f35.zip
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/cyclictest/root/.br-external1
-rw-r--r--tests/cyclictest/root/.gitignore1
-rw-r--r--tests/cyclictest/root/GNUmakefile1
3 files changed, 1 insertions, 2 deletions
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)))