summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-31 15:04:15 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-31 15:04:15 +0000
commit9826f4ec14ef1d865ecea8963fc3753a6aa071dc (patch)
treeb2c1a7ed3a2a3ef6379eb74f2b49f422468c2e1e /openwrt
parentb4159fc032088794b212322880dea78eadc99c7c (diff)
downloadmtk-20170518-9826f4ec14ef1d865ecea8963fc3753a6aa071dc.zip
mtk-20170518-9826f4ec14ef1d865ecea8963fc3753a6aa071dc.tar.gz
mtk-20170518-9826f4ec14ef1d865ecea8963fc3753a6aa071dc.tar.bz2
only build and install utils here, standardize Makefile
SVN-Revision: 2306
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/shfs/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/openwrt/package/shfs/Makefile b/openwrt/package/shfs/Makefile
index 653bc1c..fd6f3e4 100644
--- a/openwrt/package/shfs/Makefile
+++ b/openwrt/package/shfs/Makefile
@@ -2,16 +2,16 @@
include $(TOPDIR)/rules.mk
-PKG_NAME := shfs
-PKG_VERSION := 0.35
-PKG_RELEASE := 2
-PKG_MD5SUM := 016f49d71bc32eee2b5d11fc1600cfbe
+PKG_NAME:=shfs
+PKG_VERSION:=0.35
+PKG_RELEASE:=2
+PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe
-PKG_SOURCE_URL := @SF/shfs
-PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_CAT := zcat
+PKG_SOURCE_URL:=@SF/shfs
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_CAT:=zcat
-PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk
@@ -28,10 +28,9 @@ $(PKG_BUILD_DIR)/.built:
OFLAGS="$(TARGET_CFLAGS)" \
CC="$(TARGET_CC)" \
LINKER="$(TARGET_CC)" \
- KERNEL="$(LINUX_VERSION)" \
KERNEL_SOURCES="$(LINUX_DIR)" \
ROOT="$(PKG_INSTALL_DIR)" \
- all install
+ utils utils-install
touch $@
$(IPKG_SHFS_UTILS):