]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
buildroot: Declare external sources in a better way
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Sep 2015 06:45:15 +0000 (08:45 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Sep 2015 06:45:15 +0000 (08:45 +0200)
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 [deleted file]
tests/cyclictest/root/.gitignore
tests/cyclictest/root/GNUmakefile

diff --git a/tests/cyclictest/root/.br-external b/tests/cyclictest/root/.br-external
deleted file mode 100644 (file)
index 0a888bb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-BR2_EXTERNAL ?= ../../tests/cyclictest/root/packages
index 9409512a849e731ccc3f2ca47145b0627e153988..2e27a069e46b8808f698d60585f36f885a2c62be 100644 (file)
@@ -2,7 +2,6 @@
 !config_base
 !.gitignore
 !GNUmakefile
-!.br-external
 !overlay/
 !overlay/**
 !packages/
index 160ef09ecafff6c0d3f36064623d07e064774e00..049fd37de9fd30e0c7c4bc5579dcd9ccb8a4e69a 100644 (file)
@@ -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)))