diff options
Diffstat (limited to 'mk/kernel-vars.mk')
-rw-r--r-- | mk/kernel-vars.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk index 346a26fc9..e726b14da 100644 --- a/mk/kernel-vars.mk +++ b/mk/kernel-vars.mk @@ -8,10 +8,14 @@ KERNEL_MAKE_OPTS+= CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(ARCH) \ HOSTCFLAGS='${CFLAGS_FOR_BUILD}' endif ifeq (${ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54G},y) -ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x400000 +ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x400000 \ + -DBCM47XX_OVERRIDE_NVRAMSIZE=0x10000 \ + -DBCM47XX_OVERRIDE_CFESIZE=0x40000 endif ifeq (${ADK_TARGET_BROADCOM_MODEL_LINKSYS_WRT54GS},y) -ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x800000 +ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x800000 \ + -DBCM47XX_OVERRIDE_NVRAMSIZE=0x20000 \ + -DBCM47XX_OVERRIDE_CFESIZE=0x40000 endif KERNEL_MAKE_ENV+= KCPPFLAGS='${ADK_KCPPFLAGS}' |