OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # |
2 | # Copyright (C) 2006-2011 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | include $(TOPDIR)/rules.mk |
||
8 | |||
9 | # UML only makes sense on linux |
||
10 | ifeq ($(HOST_OS),Linux) |
||
11 | |||
12 | ARCH:=$(shell uname -m | sed \ |
||
13 | -e 's/i[3-9]86/i386/' \ |
||
14 | -e 's/mipsel/mips/' \ |
||
15 | -e 's/mipseb/mips/' \ |
||
16 | -e 's/powerpc/ppc/' \ |
||
17 | -e 's/sh[234]/sh/' \ |
||
18 | -e 's/armeb/arm/' \ |
||
19 | ) |
||
20 | BOARD:=uml |
||
21 | BOARDNAME:=User Mode Linux |
||
22 | FEATURES:=squashfs ext4 audio source-only |
||
23 | MAINTAINER:=Florian Fainelli <florian@openwrt.org> |
||
24 | |||
25 | KERNEL_PATCHVER:=4.9 |
||
26 | |||
27 | include $(INCLUDE_DIR)/target.mk |
||
28 | |||
29 | define Kernel/Patch |
||
30 | mkdir -p $(LINUX_DIR)/arch/um/include/uapi |
||
31 | mv $(LINUX_DIR)/arch/um/include/asm $(LINUX_DIR)/arch/um/include/uapi/ |
||
32 | $(Kernel/Patch/Default) |
||
33 | endef |
||
34 | |||
35 | LINUX_TARGET_CONFIG:=$(CURDIR)/config/$(ARCH) |
||
36 | |||
37 | DEFAULT_PACKAGES += wpad-mini kmod-mac80211-hwsim mkf2fs e2fsprogs |
||
38 | |||
39 | endif |
||
40 | |||
41 | $(eval $(call BuildTarget)) |