X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Frpm.am;h=c5929833b57f4577c5f4fd450fc3a66f232c6be5;hb=5085d55817f67e2333366e517c6cc7a6fdda50f7;hp=c352fc582cf9f795ee6b13685fd46efc409ca0f0;hpb=c9c0d073da561bcbefbdf09c87fc75b227415619;p=zfs.git diff --git a/config/rpm.am b/config/rpm.am index c352fc5..c592983 100644 --- a/config/rpm.am +++ b/config/rpm.am @@ -1,18 +1,24 @@ srpm-modules: +if CONFIG_KERNEL $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common +endif srpm-utils: +if CONFIG_USER $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common +endif srpm: srpm-modules srpm-utils rpm-modules: srpm-modules +if CONFIG_KERNEL $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common +endif rpm-utils: srpm-utils +if CONFIG_USER $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common - -rpm-modules: srpm-modules +endif rpm: rpm-modules rpm-utils @@ -68,6 +74,8 @@ rpm-common: --define "require_spldir $(SPL)" \ --define "require_splobj $(SPL_OBJ)" \ --define "require_splver $(SPL_VERSION)" \ + --define "$(DEBUG_ZFS) 1" \ + --define "$(DEBUG_DMU_TX) 1" \ --nodeps --rebuild $$rpmpkg || exit 1; \ cp $$rpmbuild/RPMS/*/* . || exit 1; \ $(RM) -R $$rpmbuild