aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2020-02-10 16:33:27 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-01 21:36:00 +0100
commitaf878339ae28391dd7509cd27496fa4ca8d2a339 (patch)
tree729bcc75a16f2fb884c75fcab08b32c3bccd5528 /package/boot
parent66f80020f9a9d2300ad395e173262d79c282903a (diff)
downloadupstream-af878339ae28391dd7509cd27496fa4ca8d2a339.tar.gz
upstream-af878339ae28391dd7509cd27496fa4ca8d2a339.tar.bz2
upstream-af878339ae28391dd7509cd27496fa4ca8d2a339.zip
uboot-mvebu: point to UBOOT_CONFIG when setting options
The BUILD_VARIANT might differ from UBOOT_CONFIG, so point to a file we are actually changing. Being here let's call 'Build/Configure/U-Boot' definition, instead of definig the same command. This'll be more future proof, if U-Boot configuration procedure will change. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-mvebu/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/boot/uboot-mvebu/Makefile b/package/boot/uboot-mvebu/Makefile
index d171daa717..029018b414 100644
--- a/package/boot/uboot-mvebu/Makefile
+++ b/package/boot/uboot-mvebu/Makefile
@@ -42,11 +42,11 @@ UBOOT_TARGETS:= \
Build/Exports:=$(Host/Exports)
define Build/Configure
- # enable additional options beyond clearfog_defconfig
- echo CONFIG_NET_RANDOM_ETHADDR=y >> $(PKG_BUILD_DIR)/configs/$(BUILD_VARIANT)_defconfig
- echo CONFIG_CMD_SETEXPR=y >> $(PKG_BUILD_DIR)/configs/$(BUILD_VARIANT)_defconfig
+ # enable additional options beyond <device>_defconfig
+ echo CONFIG_NET_RANDOM_ETHADDR=y >> $(PKG_BUILD_DIR)/configs/$(UBOOT_CONFIG)_defconfig
+ echo CONFIG_CMD_SETEXPR=y >> $(PKG_BUILD_DIR)/configs/$(UBOOT_CONFIG)_defconfig
- +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIGURE_VARS) $(UBOOT_CONFIG)_config
+ $(call Build/Configure/U-Boot)
endef
define Build/InstallDev