blob: fa9f5f1b3d97411c234470965f0639c875151df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PKGDIR ?= ../..
L4DIR ?= $(PKGDIR)
# Force these include files to appear in a special subfolder of dde/
INSTALL_INC_PREFIX = linux-headers
include $(L4DIR)/mk/include.mk
#SUFFIX_amd64 = x86_64
#SUFFIX_amd64 = i386 #hack!
#SUFFIX_x86 = x86
#SUFFIX_arm = arm
#
#SUFFIX_rv = realview
#SUFFIX_int = integrator
# macro to establish a symlink to a dir if not already existing
#MAKELINK = if [ ! $1 -ef $2 ] ; then ln -$(if $(VERBOSE),v)sf $2 $1 ; fi
#
#ARCH = $(BUILD_ARCH)
#PLAT = rv
#
#all::
# $(VERBOSE)$(MKDIR) $(INSTALLDIR_LOCAL)/$(ARCH)/$(INSTALL_INC_PREFIX)
# $(VERBOSE)$(call MAKELINK, \
# $(INSTALLDIR_LOCAL)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm, \
# $(INSTALLDIR_LOCAL)/$(INSTALL_INC_PREFIX)/asm-$(SUFFIX_$(ARCH)))
#ifeq ($(BUILD_ARCH),arm)
# $(VERBOSE)$(call MAKELINK, \
# $(INSTALLDIR_LOCAL)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm/arch, \
# $(INSTALLDIR_LOCAL)/$(INSTALL_INC_PREFIX)/asm-$(SUFFIX_$(ARCH))/arch-$(SUFFIX_$(PLAT)))
#endif
#
#install::
# $(VERBOSE)$(MKDIR) $(INSTALLDIR)/$(ARCH)/$(INSTALL_INC_PREFIX)
# $(VERBOSE)$(call MAKELINK, \
# $(INSTALLDIR)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm \
# $(INSTALLDIR)/$(ARCH)/$(INSTALL_INC_PREFIX)/asm-$(SUFFIX_$(ARCH)))
|