1 Commits

Author SHA1 Message Date
9dd92ac53e mob next [ci-skip] [ci skip] [skip ci]
lastFile:pkgs/kernel/default.nix
2025-10-14 10:07:38 +07:00
3 changed files with 18 additions and 3 deletions

View File

@@ -98,6 +98,11 @@ stdenv.mkDerivation rec {
checkConfigurationPhase = ''
echo Checking required config items:
echo ======================================================
echo ======================================================
echo ------------------------------------------------------
echo $modulesupport
echo ------------------------------------------------------
if comm -2 -3 <(grep 'CONFIG' ${kconfigFile} |sort) <(grep 'CONFIG' .config|sort) |grep '.' ; then
echo -e "^^^ Some configuration lost :-(\nPerhaps you have mutually incompatible settings, or have disabled options on which these depend.\n"
exit 0
@@ -119,5 +124,9 @@ stdenv.mkDerivation rec {
make modules
cp -a . $modulesupport
cp .config $config
echo ------------------------------------------------------
cat .config
echo $config
echo ------------------------------------------------------
'';
}

View File

@@ -24,6 +24,11 @@ stdenv.mkDerivation {
phases = [ "buildPhase" ];
nativeBuildInputs = [ dtc ];
buildPhase = ''
echo ==================================================
echo ${dtcSearchFlags}
echo ==
echo ${cppDtSearchFlags}
echo ==================================================
${stdenv.cc.targetPrefix}cpp -nostdinc -x assembler-with-cpp ${cppDtSearchFlags} -undef -D__DTS__ -o dtb.tmp ${combined}
dtc ${dtcSearchFlags} -I dts -O dtb -o $out dtb.tmp
# dtc -I dtb -O dts $out

View File

@@ -1,15 +1,16 @@
{
lib,
stdenv,
fetchgit,
fetchFromGitHub,
ppp,
}:
stdenv.mkDerivation rec {
pname = "rp-pppoe";
version = "4.0-plus";
src = fetchgit {
url = "https://codeberg.org/dskoll/rp-pppoe";
src = fetchFromGitHub {
owner = "dfskoll";
repo = "rp-pppoe";
rev = "3c0f6c02279881d723743023634b19b77a7d9f82";
hash = "sha256-RUUbP5j2I2DERQ7RE8xj4Xt1FoQOanMRoMiB1H6Wrdw=";
# rev = "7cfd8c0405d14cf1c8d799d41d8207fd707979c1";