]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
set INSTALLDIR in global.mk instead of platform/Makefile.inc
authorAntti Kantee <pooka@iki.fi>
Thu, 22 Oct 2015 21:29:13 +0000 (21:29 +0000)
committerAntti Kantee <pooka@iki.fi>
Thu, 22 Oct 2015 21:29:13 +0000 (21:29 +0000)
global.mk
platform/Makefile.inc

index 2fe2da6859cb7e27b4d77b61c914f8278ed781dd..274f9349b99e1e73a50e29500b017c86a3a4f108 100644 (file)
--- a/global.mk
+++ b/global.mk
@@ -17,3 +17,9 @@ CFLAGS+= -Werror
 endif
 
 LDFLAGS.hw.x86_64= -z max-page-size=0x1000
+
+ifeq (${BUILDRR},true)
+INSTALLDIR=     ${RROBJ}/dest.stage
+else
+INSTALLDIR=     ${RRDEST}
+endif
index 3101d810db79ce4bcf841569365a5f2a0d988871..940ca345a9f547a0b5a44a0a021c60869fb2e7ff 100644 (file)
@@ -90,12 +90,6 @@ tests: ${MAINOBJ} commonlibs
        ../../tests/buildtests.sh ${PLATFORM}
        ../../tests/runtests.sh ${PLATFORM_DEFAULT_TESTER}
 
-ifeq (${BUILDRR},true)
-INSTALLDIR=    ${RROBJ}/dest.stage
-else
-INSTALLDIR=    ${RRDEST}
-endif
-
 .PHONY: installkern
 installkern:
        install -m 0444 ${MAINOBJ} ${INSTALLDIR}/lib