diff options
| author | Atish Patra <atish.patra@wdc.com> | 2019-01-09 00:49:10 -0800 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2019-01-18 10:05:12 +0530 |
| commit | cf83b6e438ec0ba7fc3337f5b516da37ec5314c8 (patch) | |
| tree | 76b81f1b3d7f646393e1e8753e1192300b328773 | |
| parent | 57d5eaa5fb7d43684af2514aee14c7f2356fa5cb (diff) | |
| download | opensbi-cf83b6e438ec0ba7fc3337f5b516da37ec5314c8.tar.gz opensbi-cf83b6e438ec0ba7fc3337f5b516da37ec5314c8.tar.bz2 opensbi-cf83b6e438ec0ba7fc3337f5b516da37ec5314c8.zip | |
platform: Include libfdt & libc.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | platform/common/libfdt/objects.mk | 1 | ||||
| -rw-r--r-- | platform/sifive/fu540/config.mk | 4 |
3 files changed, 6 insertions, 0 deletions
@@ -96,6 +96,7 @@ GENFLAGS += -DOPENSBI_MINOR=$(MINOR) GENFLAGS += -I$(platform_dir)/include GENFLAGS += -I$(platform_common_dir)/include GENFLAGS += -I$(include_dir) +GENFLAGS += $(platform-common-genflags-y) GENFLAGS += $(platform-genflags-y) GENFLAGS += $(firmware-genflags-y) diff --git a/platform/common/libfdt/objects.mk b/platform/common/libfdt/objects.mk index 1ae1cacd..bd58e30d 100644 --- a/platform/common/libfdt/objects.mk +++ b/platform/common/libfdt/objects.mk @@ -13,3 +13,4 @@ $(foreach file, $(libfdt_files), \ $(eval CFLAGS_$(file) = -I$(src)/../../common/libfdt)) platform-common-objs-$(PLATFORM_INCLUDE_LIBFDT) += $(addprefix libfdt/,$(libfdt_files)) +platform-common-genflags-$(PLATFORM_INCLUDE_LIBFDT) += -I$(platform_common_dir)/libfdt/ diff --git a/platform/sifive/fu540/config.mk b/platform/sifive/fu540/config.mk index 07419b64..ffcbff81 100644 --- a/platform/sifive/fu540/config.mk +++ b/platform/sifive/fu540/config.mk @@ -26,3 +26,7 @@ FW_JUMP_FDT_ADDR=0x82200000 FW_PAYLOAD=y FW_PAYLOAD_OFFSET=0x200000 FW_PAYLOAD_FDT_ADDR=0x82200000 + +# External Libraries to include +PLATFORM_INCLUDE_LIBFDT=y +PLATFORM_INCLUDE_LIBC=y |
