mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-01 21:02:27 +00:00
extra: usb_updater: include config.h
board.h and config-chip.h should only be called from config.h, otherwise some #define may not be set properly. BUG=chromium:746471 BRANCH=none TEST=Found a bug while compiling OTP changes (c/580289/) (https://luci-milo.appspot.com/buildbot/chromiumos.tryserver/ no_vmtest_pre_cq/81548) The size of the serial number string is set in config.h when CONFIG_USB_SERIALNO is needed. Compile with ec-utils with cr50_onboard USE flag set. Change-Id: I5a2306bd0dc1dea29265226f2986829b768cfb61 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/581887 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
51ea502041
commit
734ebcbbb4
@@ -30,7 +30,7 @@ endif
|
||||
#
|
||||
LIBS += $(shell $(PKG_CONFIG) --libs libusb-1.0)
|
||||
CFLAGS += $(shell $(PKG_CONFIG) --cflags libusb-1.0)
|
||||
CFLAGS += -I../../include -I../../util
|
||||
CFLAGS += -I../../include -I../../util -I../../test
|
||||
|
||||
BOARD ?= cr50
|
||||
LIBS_g = $(shell $(PKG_CONFIG) --libs libcrypto)
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
#define __packed __attribute__((packed))
|
||||
#endif
|
||||
|
||||
#include "config_chip.h"
|
||||
#include "board.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "compile_time_macros.h"
|
||||
#include "misc_util.h"
|
||||
|
||||
Reference in New Issue
Block a user