[leaf-commits] src/bering-uclibc4/source/perf buildtool.cfg, NONE, 1.1 buildtool.mk, NONE, 1.1

Andrew <[email protected]> Sat, 11 Dec 2010 19:07:53 +0000
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/perf
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv17423/perf

Added Files:
	buildtool.cfg buildtool.mk 
Log Message:
added elfutils (for libelf) and perf package


--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
	Server = cvs4-sourceforge
	Directory = perf
	Revision = HEAD
</File>

<Package>
  <perf>
    Version = __KVER__
    Revision = 1

    Help <<EOF
	Preformance monitor
	LRP package by __PACKAGER__, __BUILDDATE__
	EOF

    <Permissions>
      Files = 644
      Directories = 755
    </Permissions>

    <Owner>
      Files = root:root
      Directories = root:root
    </Owner>

    <Contents>
	<File>
		Source = usr/bin/perf
		Filename = usr/bin/perf
		Type = binary
		Permissions = 755
	</File>
    </Contents>
  </perf>
</Package>

--- NEW FILE: buildtool.mk ---
include $(MASTERMAKEFILE)

DIR=perf
SRCDIR=$(BT_LINUX_DIR)-$(BT_KERNEL_RELEASE)/tools/perf
TARGET_DIR=$(BT_BUILD_DIR)/perf

$(DIR)/.source:
	mkdir -p $(DIR)
	touch $(DIR)/.source

$(DIR)/.build: $(DIR)/.source
	mkdir -p $(TARGET_DIR)
	(OUTPUT=../../../../perf/perf/ NO_PERL=1 NO_LIBPERL=1 \
	NO_LIBPYTHON=1 NO_CURL=1 NO_ICONV=1 NO_DWARF=1 \
	CC=$(TARGET_CC) EXTRA_CFLAGS="$(BT_COPT_FLAGS)" \
	make DESTDIR=$(TARGET_DIR)/usr -C $(SRCDIR) install)
	-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(TARGET_DIR)/usr/bin/*
	-rm -rf $(TARGET_DIR)/usr/libexec
	cp -a $(TARGET_DIR) $(BT_STAGING_DIR)
	touch $(DIR)/.build

source: $(DIR)/.source

build: $(DIR)/.build

clean:
	rm -rf $(DIR)/*

srcclean:
	rm -rf $(DIR)


------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev