All pastes #217777 Raw Edit

Anonymous

public text v1 · immutable
#217777 ·published 2006-10-23 20:44 UTC
rendered paste body
Index: package/sdk/files/include/package.mk
===================================================================
--- package/sdk/files/include/package.mk        (revision 5272)
+++ package/sdk/files/include/package.mk        (working copy)
@@ -132,17 +132,7 @@
   INFO_$(1):=$(IPKG_STATE_DIR)/info/$(1).list

   ifdef Package/$(1)/install
-    ifeq ($(CONFIG_PACKAGE_$(1)),y)
-      install-targets: $$(INFO_$(1))
-    endif
-
-    ifneq ($(CONFIG_PACKAGE_$(1)),)
       compile-targets: $$(IPKG_$(1))
-    else
-      compile-targets: $(1)-disabled
-      $(1)-disabled:
-       @echo "WARNING: skipping $(1) -- package not selected"
-    endif
   endif

   ifeq ($(FORCEREBUILD),y)