Add the #1680 fix for GNU make versions
[openwrt.git] / target / linux / uml-2.6 / Makefile
1 #
2 # Copyright (C) 2006 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 include $(INCLUDE_DIR)/host.mk
9
10 # UML only makes sense on linux
11 ifeq ($(HOST_OS),Linux)
12
13 ARCH:=$(shell uname -m | sed \
14 -e 's/i[3-9]86/i386/' \
15 -e 's/mipsel/mips/' \
16 -e 's/mipseb/mips/' \
17 -e 's/powerpc/ppc/' \
18 -e 's/sh[234]/sh/' \
19 -e 's/armeb/arm/' \
20 )
21 BOARD:=uml
22 BOARDNAME:=User Mode Linux
23 FEATURES:=broken
24 LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
25
26 include $(INCLUDE_DIR)/kernel-build.mk
27
28 # include the profiles
29 -include profiles/*.mk
30
31 endif
32
33 $(eval $(call BuildKernel))
This page took 0.043615 seconds and 5 git commands to generate.