kwbimage: Make the Makefile pass in CONFIG_SYS_SPI_U_BOOT_OFFS
We can't use config.h directly as some platforms include headers that aren't safe to use in normal Linux userland. Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
5c123f5fbf
commit
e35c6c7978
@ -115,6 +115,10 @@ ifdef CONFIG_FIT_SIGNATURE
|
|||||||
HOST_EXTRACFLAGS += -DCONFIG_FIT_SIGNATURE
|
HOST_EXTRACFLAGS += -DCONFIG_FIT_SIGNATURE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_SYS_SPI_U_BOOT_OFFS
|
||||||
|
HOSTCFLAGS_kwbimage.o += -DCONFIG_SYS_SPI_U_BOOT_OFFS=$(CONFIG_SYS_SPI_U_BOOT_OFFS)
|
||||||
|
endif
|
||||||
|
|
||||||
# MXSImage needs LibSSL
|
# MXSImage needs LibSSL
|
||||||
ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),)
|
ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),)
|
||||||
HOSTLOADLIBES_mkimage += -lssl -lcrypto
|
HOSTLOADLIBES_mkimage += -lssl -lcrypto
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <image.h>
|
#include <image.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "kwbimage.h"
|
#include "kwbimage.h"
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
#define ALIGN_SUP(x, a) (((x) + (a - 1)) & ~(a - 1))
|
#define ALIGN_SUP(x, a) (((x) + (a - 1)) & ~(a - 1))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user