developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 1 | From 869cc8dec87571972c487aa3c948ed2ba6b94fb2 Mon Sep 17 00:00:00 2001 |
| 2 | From: GuruVinayak P <gp@synamedia.com> |
| 3 | Date: Tue, 3 Nov 2020 19:07:28 +0530 |
| 4 | Subject: [PATCH 1/2] Added support for RDK flavour compilation |
| 5 | |
| 6 | --- |
| 7 | Makefile | 6 ++++++ |
| 8 | 1 file changed, 6 insertions(+) |
| 9 | |
| 10 | diff --git a/Makefile b/Makefile |
| 11 | index 0f5c0f0..3750cf9 100644 |
| 12 | --- a/Makefile |
| 13 | +++ b/Makefile |
| 14 | @@ -86,6 +86,12 @@ ifeq ($(PLATFORM),linux) |
| 15 | |
| 16 | AL_SUPPORTED := yes |
| 17 | HLE_SUPPORTED := yes |
| 18 | + else ifeq ($(FLAVOUR), RDK) |
| 19 | + # AR, CC, LDFLAGS and CFLAGS should come from the recipe |
| 20 | + CCFLAGS := $(CFLAGS) |
| 21 | + |
| 22 | + AL_SUPPORTED := yes |
| 23 | + HLE_SUPPORTED := yes |
| 24 | else ifeq ($(FLAVOUR), arm_wrt1900acx) |
| 25 | CC := $(WRT1900_CROSS)gcc |
| 26 | AR := $(WRT1900_CROSS)ar |
| 27 | -- |
| 28 | 2.7.4 |
| 29 | |