move another DEFAULT:=y and fix a dependency bug
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Jan 2007 17:58:43 +0000 (17:58 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Jan 2007 17:58:43 +0000 (17:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6097 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/yamonenv/Makefile
target/linux/au1000-2.6/Makefile

index b26e071..15afda5 100644 (file)
@@ -24,8 +24,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/yamonenv
   SECTION:=utils
   CATEGORY:=Utilities
-  DEFAULT:=y if LINUX_2_6_AU1000
-  DEPENDS:=@LINUX_2_6_AU1000@
+  DEPENDS:=@LINUX_2_6_AU1000
   TITLE:=YAMON configuration utility
   URL:=http://meshcube.org/nylon/stable/sources/
 endef
index 2f2a92b..25fc776 100644 (file)
@@ -17,6 +17,7 @@ define Target/Description
 endef
 
 include $(INCLUDE_DIR)/kernel-build.mk
+DEFAULT_PACKAGES += yamonenv
 
 define Kernel/BuildImage
        $(call Kernel/BuildImage/Default)