[x86] fix grub installation on target images, regression caused by multi-libc support
[openwrt/crisos.git] / target / Makefile
blob3d36d26718e460396b3655633f71b5f014b8b405
1 #
2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 curdir:=target
9 $(curdir)/builddirs:=linux sdk imagebuilder
10 $(curdir)/builddirs-default:=linux
11 $(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder)
13 $(curdir)/imagebuilder/prepare:=$(curdir)/linux/install
15 $(eval $(call stampfile,$(curdir),target,prereq,.config))
16 $(eval $(call stampfile,$(curdir),target,compile,$(TMP_DIR)/.build))
17 $(eval $(call stampfile,$(curdir),target,install,$(TMP_DIR)/.build))
19 $($(curdir)/stamp-install): $($(curdir)/stamp-compile)
21 $(eval $(call subdir,$(curdir)))