Add watchdog timer control register bit fields for QCA
[oweals/u-boot_mod.git] / Makefile
index 30d2df518fcb17fc334d82d18fcc47e229f0e7e4..82def5fbf16327972e0cc104c8454e9e52d0ded3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,15 @@ ifndef CROSS_COMPILE
 endif
 export CROSS_COMPILE
 
+# By default, optimization for size (-Os) is enabled, set below option
+# to n or remove it if you want only basic optimization (-O/-O1)
+# BUILD_OPTIMIZED = n
+
+ifneq ($(BUILD_OPTIMIZED), n)
+  BUILD_OPTIMIZED = y
+endif
+export BUILD_OPTIMIZED
+
 # ==========================================================================
 
 # =======================
@@ -103,7 +112,7 @@ endef
 
 # $(1): file extension
 define img_name
-u-boot_mod__$(shell date +"%Y%m%d")__$(call git_branch_hash)__$@$(if \
+u-boot_mod__$@__$(shell date +"%Y%m%d")__$(call git_branch_hash)$(if \
 $(filter $(IMG_RAM),1),__RAM-LOAD-ONLY)$(if $(1),.$(1))
 endef
 
@@ -226,7 +235,8 @@ COMMON_ETHS27_TARGETS = \
        tp-link_tl-wr841n_v10 \
        tp-link_tl-wr841n_v11 \
        tp-link_tl-wr841n_v8 \
-       tp-link_tl-wr841n_v9
+       tp-link_tl-wr841n_v9 \
+       tp-link_tl-wr842n_v3
 
 $(COMMON_ETHS27_TARGETS):
        @$(call build,123,1,ETH_CONFIG=_s27)