X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/dda0649ef37ceb08df09c0dbc15f27cbdc8285d5..fb4d0a4ce7137bb95bf193b3c44ab5b7e86561bc:/include/package.mk diff --git a/include/package.mk b/include/package.mk index 9f45a441a..d90bec887 100644 --- a/include/package.mk +++ b/include/package.mk @@ -49,6 +49,7 @@ define Download/default endef define Build/DefaultTargets + $(if $(QUILT),$(Build/Quilt)) $(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)) $(call Build/Autoclean) @@ -120,6 +121,10 @@ define libtool_fixup_libdir $(SED) "s,^libdir='/usr/lib',libdir='$(strip $(1))/usr/lib',g" endef +define pkg_install_files + $(foreach install_file,$(3),$(INSTALL_DIR) $(2)/`dirname $(install_file)`; $(CP) $(1)/$(install_file) $(2)/`dirname $(install_file)`;) +endef + define Build/Prepare $(call Build/Prepare/Default,) endef