diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-01 00:06:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-01 00:06:16 +0000 |
commit | 21c30b6347484f740a6bdb9ef163fa944a619932 (patch) | |
tree | 03d404585db614dd48b88c1c153394380de20c19 | |
parent | d1df56c14d8fecd58d7690ac948351db5cceb3d4 (diff) | |
download | master-187ad058-21c30b6347484f740a6bdb9ef163fa944a619932.tar.gz master-187ad058-21c30b6347484f740a6bdb9ef163fa944a619932.tar.bz2 master-187ad058-21c30b6347484f740a6bdb9ef163fa944a619932.zip |
fix InstallDev bug
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3880 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/rules.mk | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/package/rules.mk b/package/rules.mk index 5d604c5045..e06ddb11c3 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -32,6 +32,10 @@ define Build/DefaultTargets $(PKG_BUILD_DIR)/.dev-installed: $(PKG_BUILD_DIR)/.built $(call Build/InstallDev) touch $$@ + + ifdef Build/InstallDev + compile-targets: $(PKG_BUILD_DIR)/.dev-installed + endif package-clean: FORCE $(call Build/Clean) @@ -241,16 +245,10 @@ define Build/Compile $(call Build/Compile/Default,) endef -define Build/InstallDev -endef - define Build/Clean $(MAKE) clean endef -define Build/UninstallDev -endef - ifneq ($(DUMP),) dumpinfo: FORCE @$(DUMPINFO) @@ -263,11 +261,7 @@ else prepare: $(PKG_BUILD_DIR)/.prepared configure: $(PKG_BUILD_DIR)/.configured -ifdef Build/InstallDev - compile-targets: $(PKG_BUILD_DIR)/.dev-installed -else compile-targets: -endif compile: compile-targets install-targets: |