[leaf-commits] src/bering-uclibc4/source/dhcdrop buildtool.mk, 1.1.1.1, 1.2

Andrew <[email protected]> Wed, 08 Dec 2010 21:14:01 +0000
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/dhcdrop
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31246

Modified Files:
	buildtool.mk 
Log Message:
moved configure script call to 'build'


Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/dhcdrop/buildtool.mk,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** buildtool.mk	26 Apr 2010 09:02:34 -0000	1.1.1.1
--- buildtool.mk	8 Dec 2010 21:13:59 -0000	1.2
***************
*** 5,16 ****
  TARGET_DIR:=$(BT_BUILD_DIR)/dhcdrop
                          
! $(DIR)/Makefile:
  	bzcat $(SOURCE) | tar -xvf -
  	(cd $(DIR) ; CC=$(TARGET_CC) CFLAGS=$(CFLAGS) LD=$(TARGET_LD) \
  		./configure  --prefix=/usr )
  
! source: $(DIR)/Makefile
                                                                   
! build: $(DIR)/Makefile
  	mkdir -p $(TARGET_DIR)
  	mkdir -p $(TARGET_DIR)/usr/sbin
--- 5,19 ----
  TARGET_DIR:=$(BT_BUILD_DIR)/dhcdrop
                          
! $(DIR)/.source:
  	bzcat $(SOURCE) | tar -xvf -
+ 	touch $(DIR)/.source
+ 	
+ $(DIR)/Makefile:
  	(cd $(DIR) ; CC=$(TARGET_CC) CFLAGS=$(CFLAGS) LD=$(TARGET_LD) \
  		./configure  --prefix=/usr )
  
! source: $(DIR)/.source
                                                                   
! $(DIR)/.build: $(DIR)/Makefile
  	mkdir -p $(TARGET_DIR)
  	mkdir -p $(TARGET_DIR)/usr/sbin
***************
*** 20,28 ****
--- 23,35 ----
  	rm -rf $(TARGET_DIR)/usr/share
  	cp -a $(TARGET_DIR)/* $(BT_STAGING_DIR)
+ 	touch $(DIR)/.build
  
+ build: $(DIR)/.build
                                                                                           
  clean:
  	make -C $(DIR) distclean
  	rm -rf $(TARGET_DIR)
+ 	rm $(DIR)/Makefile
+ 	rm $(DIR)/.build
                                                                                                                   
  srcclean: clean


------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com