diff --git a/debian/control b/debian/control index dc19ba9..99faa59 100644 diff --git a/debian/rules b/debian/rules index 92ec033..a4753d8 100755 --- a/debian/rules +++ b/debian/rules @@ -20,6 +20,10 @@ export SHELL=/bin/bash -e # Where do we find the common configuration. export DROOT=debian +ifndef SOURCE_ONLY + SOURCE_ONLY := true +endif + # Common variables for all architectures include $(DROOT)/rules.d/0-common-vars.mk @@ -38,6 +42,16 @@ ifeq ($(DEB_STAGE),stage1) do_flavour_header_package=false endif +ifeq ($(SOURCE_ONLY),true) + do_tools=false + do_doc_package=false + do_source_package=true + do_flavour_image_package=false + do_flavour_header_package=false + do_libc_dev_package=false + do_source_package_content=true +endif + # Debian Build System targets binary: binary-indep binary-arch