summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ff84c5f)
raw | patch | inline | side by side (parent: ff84c5f)
author | Wendy Liang <jliang@xilinx.com> | |
Thu, 7 Jan 2016 19:39:24 +0000 (11:39 -0800) | ||
committer | Wendy Liang <jliang@xilinx.com> | |
Tue, 9 Feb 2016 19:54:53 +0000 (11:54 -0800) |
bm_env.c will be picked when the system is set to generic.
It is not required to set OPENAMP_BAREMETAL macro anymore.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
It is not required to set OPENAMP_BAREMETAL macro anymore.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/Makefile | patch | blob | history | |
lib/system/generic/bm_env.c | patch | blob | history |
diff --git a/lib/Makefile b/lib/Makefile
index 17bac36dada370bf2fe7f9b2c032c0895827e426..5207f28d94b26e465c609bfdeafaebb6c611e63e 100644 (file)
--- a/lib/Makefile
+++ b/lib/Makefile
-include system/$(SYSTEM)/machine/$(MACHINE)/Makefile.platform
-include system/$(SYSTEM)/Makefile.include
-ifeq ($(SYSTEM),generic)
-CFLAGS +=-D"OPENAMP_BAREMETAL=1"
-
ifeq ($(ROLE),master)
CFLAGS+=-D"MASTER=1"
else
CFLAGS+=-D"MASTER=0"
endif
-endif
ifeq ($(BENCHMARK),1)
CFLAGS+=-D"OPENAMP_BENCHMARK_ENABLE"
index 83f104173cc363afd7bdbab75d125e6921355854..fb7da5ae66df6b08a05aff06a764478ff1ade63c 100755 (executable)
*
**************************************************************************/
-#ifdef OPENAMP_BAREMETAL
#include "openamp/env.h"
#include "machine.h"
xchg(plock, 1);
}
-#endif