File: amd64.mk

package info (click to toggle)
kernel-package 13.014%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,804 kB
  • ctags: 603
  • sloc: perl: 2,972; sh: 689; makefile: 204
file content (65 lines) | stat: -rw-r--r-- 2,718 bytes parent folder | download | duplicates (3)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
######################### -*- Mode: Makefile-Gmake -*- ########################
## amd64.mk ---
## Author           : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com )
## Created On       : Mon Oct 31 18:31:11 2005
## Created On Node  : glaurung.internal.golden-gryphon.com
## Last Modified By : Manoj Srivastava
## Last Modified On : Thu Oct  9 14:18:47 2008
## Last Machine Used: anzu.internal.golden-gryphon.com
## Update Count     : 6
## Status           : Unknown, Use with caution!
## HISTORY          :
## Description      : handle the architecture specific variables.
##
## arch-tag: 0429f056-d3a2-43d3-a02b-78bf0f655633
##
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
##
###############################################################################

IMAGE_SRC_DIR=$(shell if [ $(VERSION) -lt 2 ]; then                     \
                        echo $(KERNEL_ARCH);                            \
        elif [ $(VERSION) -eq 2 ] && [ $(PATCHLEVEL) -lt 6 ]; then      \
                        echo $(KERNEL_ARCH);                            \
        elif [ $(VERSION) -eq 2 ] && [ $(PATCHLEVEL) -eq 6 ] &&         \
                [ $(SUBLEVEL) -lt 26 ]; then                            \
                        echo $(KERNEL_ARCH);                            \
        else                                                            \
                        echo x86;                                       \
        fi)

KERNEL_ARCH=x86_64
DEBCONFIG= $(CONFDIR)/config.$(KPKG_SUBARCH)

ifeq ($(DEB_HOST_ARCH_OS), linux)
  kimage         := vmlinuz
  kelfimagesrc    = vmlinux
  kimagedest	  = $(INT_IMAGE_DESTDIR)/vmlinuz-$(KERNELRELEASE)
  kelfimagedest   = $(INT_IMAGE_DESTDIR)/vmlinux-$(KERNELRELEASE)
  target	  = bzImage
  kimagesrc	  = $(strip arch/$(IMAGE_SRC_DIR)/boot/$(target))
#  ifeq ($(strip $(CONFIG_XEN)$(CONFIG_X86_64_XEN)),)
#  else
#    int_install_vmlinux:=YES
#    ifeq ($(strip $(CONFIG_XEN_PRIVILEGED_GUEST)),)
#    else
#    endif
#  endif
endif

#Local variables:
#mode: makefile
#End: