From 85017c40f4efce11edd77e0caac14aed0fd690eb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 27 Apr 2019 19:13:07 +0200 Subject: build: add a config option for enabling a testing version of the target kernel If the target supports a newer kernel version that is not used by default yet, it can be enabled with this option Signed-off-by: Felix Fietkau --- scripts/metadata.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/metadata.pm') diff --git a/scripts/metadata.pm b/scripts/metadata.pm index a338b8caadb..d0883321527 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -131,6 +131,7 @@ sub parse_target_metadata($) { /^Target-Optimization:\s*(.+)\s*$/ and $target->{cflags} = $1; /^CPU-Type:\s*(.+)\s*$/ and $target->{cputype} = $1; /^Linux-Version:\s*(.+)\s*$/ and $target->{version} = $1; + /^Linux-Testing-Version:\s*(.+)\s*$/ and $target->{testing_version} = $1; /^Linux-Release:\s*(.+)\s*$/ and $target->{release} = $1; /^Linux-Kernel-Arch:\s*(.+)\s*$/ and $target->{karch} = $1; /^Default-Subtarget:\s*(.+)\s*$/ and $target->{def_subtarget} = $1; -- cgit v1.2.3 ass='sub'>clone of https://github.com/YosysHQ/yosys
aboutsummaryrefslogtreecommitdiffstats
blob: 2a91173936aa7c3ffaff580999d9f420a39e6551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module example(
	input wire CLK,
	output wire [7:0] LED
);

reg [27:0] ctr;
initial ctr = 0;

always @(posedge CLK)
	ctr <= ctr + 1;

assign LED = ctr[27:20];

endmodule