3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/ttcp
9 PKG_IPK_DIR
:=$(PKG_BUILD_DIR
)
10 PKG_IPK
:=$(PACKAGE_DIR
)/$(PKG_NAME
)_
$(PKG_RELEASE
)_
$(ARCH
).ipk
12 $(PKG_BUILD_DIR
)/usr
/bin
/ttcp
:
13 mkdir
-p
$(PKG_BUILD_DIR
)/usr
/bin
14 $(TARGET_CC
) -o
$@ ttcp.c
17 $(PKG_IPK
): $(PKG_BUILD_DIR
)/usr
/bin
/ttcp
18 $(SCRIPT_DIR
)/make-ipkg-dir.sh
$(PKG_IPK_DIR
) $(PKG_NAME
).control
$(PKG_RELEASE
) $(ARCH
)
19 $(IPKG_BUILD
) $(PKG_IPK_DIR
) $(PACKAGE_DIR
)
21 $(IPKG_STATE_DIR
)/info/$(PKG_NAME
).list
:
22 $(IPKG
) install $(PKG_IPK
)
27 install: $(IPKG_STATE_DIR
)/info/$(PKG_NAME
).list
30 rm -rf
$(PKG_BUILD_DIR
)
This page took 0.048393 seconds and 5 git commands to generate.