This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk | |
index 2e21392016..1fdd5aa7df 100644 | |
--- a/include/kernel-defaults.mk | |
+++ b/include/kernel-defaults.mk | |
@@ -118,7 +118,7 @@ define Kernel/Configure/Default | |
cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev; \ | |
} | |
$(_SINGLE) [ -d $(LINUX_DIR)/user_headers ] || $(KERNEL_MAKE) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install | |
- grep '=[ym]' $(LINUX_DIR)/.config.set | LC_ALL=C sort | $(MKHASH) md5 > $(LINUX_DIR)/.vermagic | |
+ grep '=[ym]' $(LINUX_DIR)/.config.set | grep -v CONFIG_MTD_SERCOMM_PARTS | LC_ALL=C sort | $(MKHASH) md5 > $(LINUX_DIR)/.vermagic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#define MBYTE 1048576 | |
int main(int argc, char** argv) { | |
if (argc != 2) { | |
fprintf(stderr, "usage: mtest SIZE_IN_MBYTES\n"); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile | |
index 6b83bd27c6..fe193a641e 100644 | |
--- a/package/boot/uboot-sunxi/Makefile | |
+++ b/package/boot/uboot-sunxi/Makefile | |
@@ -138,6 +138,12 @@ define U-Boot/nanopi_m1_plus | |
BUILD_DEVICES:=sun8i-h3-nanopi-m1-plus | |
endef | |
+define U-Boot/nanopi_r1 | |
+ BUILD_SUBTARGET:=cortexa7 |