/[soft]/drakx/trunk/Makefile.config
ViewVC logotype

Contents of /drakx/trunk/Makefile.config

Parent Directory Parent Directory | Revision Log Revision Log


Revision 693 - (show annotations) (download)
Fri Mar 18 21:33:51 2011 UTC (13 years, 6 months ago) by rtp
File size: 617 byte(s)
- import stage1/drakxtools arm support

1
2 _DISTRIB_NAME := $(shell sed -n '/^.*distribution=\([^,]*\),.*/s//\1/p' /etc/product.id)
3 DISTRIB_NAME = "$(_DISTRIB_NAME)"
4 DISTRIB_VERSION = $(shell sed -n '/^.*version=\([^,]*\),.*/s//\1/p' /etc/product.id)
5 DISTRIB_TYPE = $(shell sed -n '/^.*type=\([^,]*\),.*/s//\1/p' /etc/product.id)
6 DISTRIB_DESCR = "$(_DISTRIB_NAME) release $(DISTRIB_VERSION)"
7
8
9 # not config, but useful everywhere :)
10 ARCH := $(patsubst i%86,i386,$(shell uname -m))
11 ARCH := $(patsubst sparc%,sparc,$(ARCH))
12 ARCH := $(patsubst arm%,arm,$(ARCH))
13
14 PKG_ARCH := $(patsubst i386,i586,$(ARCH))
15
16 ifeq (x86_64, $(ARCH))
17 LIB = lib64
18 else
19 LIB = lib
20 endif

  ViewVC Help
Powered by ViewVC 1.1.30