Subversion Repositories svnkaklik

Rev

Rev 391 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 391 Rev 392
Line 46... Line 46...
46
		$(DISABLE_LARGEFILE) \
46
		$(DISABLE_LARGEFILE) \
47
	);
47
	);
48
	touch $@
48
	touch $@
49
 
49
 
50
$(PKG_BUILD_DIR)/.built:
50
$(PKG_BUILD_DIR)/.built:
-
 
51
	rm -rf $(PKG_INSTALL_DIR)
-
 
52
	mkdir -p $(PKG_INSTALL_DIR)/usr/bin
51
	$(MAKE) -C $(PKG_BUILD_DIR) \
53
	$(MAKE) -C $(PKG_BUILD_DIR)/src \
52
		CC=$(TARGET_CC)
54
		$(TARGET_CONFIGURE_OPTS) \
-
 
55
		prefix="$(PKG_INSTALL_DIR)/usr"
-
 
56
	$(CP) $(PKG_BUILD_DIR)/indi/src $(PKG_INSTALL_DIR)/usr/bin
53
	touch $@
57
	touch $@
54
 
58
 
55
$(IPKG_STRACE): 
59
$(IPKG_INDISERVER):
56
	mkdir -p $(IDIR_STRACE)/usr/sbin
60
	install -d -m0755 $(IDIR_INDISERVER)/usr/bin
57
	cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_STRACE)/usr/sbin/
61
	$(CP) $(PKG_INSTALL_DIR)/usr/bin/indiserver $(IDIR_INDISERVER)/usr/bin
58
	$(STRIP) $(IDIR_STRACE)/usr/sbin/*
62
	$(RSTRIP) $(IDIR_INDISERVER)
59
	$(IPKG_BUILD) $(IDIR_STRACE) $(PACKAGE_DIR)
63
	$(IPKG_BUILD) $(IDIR_INDISERVER) $(PACKAGE_DIR)
60
 
64
 
61
mostlyclean:
65
mostlyclean:
62
	$(MAKE) -C $(PKG_BUILD_DIR) clean
66
	$(MAKE) -C $(PKG_BUILD_DIR) clean
63
	rm -f $(PKG_BUILD_DIR)/.built
67
	rm -f $(PKG_BUILD_DIR)/.built