[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Adding x32 support to kernel package

Hi, over the past week or two I've been working on bootstrapping Debian 
packages for x32.  As of now, linux-libc-dev is the last remaining package 
before I have enough built (at least with by-hand builds) to be able to do a 

So, I've been trying to add x32 support to the linux-2.6 version in 
experimental, but I'm stuck.  I tried copying debian/config/amd64 to 
debian/config/x32 and debian/installer/amd64 to debian/installer/x32, and 
regenerating debian/control, but the new architecture still isn't registering 
in debian/rules.gen:

/usr/bin/make -f debian/rules.gen source_x32
make[1]: Entering directory `/home/lfs/src/debian/linux-2.6/linux-2.6-3.4.1'
make[1]: *** No rule to make target `source_x32'.  Stop.
make[1]: Leaving directory `/home/lfs/src/debian/linux-2.6/linux-2.6-3.4.1'
make: *** [debian/stamps/source-base] Error 2

According to debian/rules, it looks like debian/rules.gen is auto-generated by 
debian/bin/gencontrol.py, along with debian/control.  So -- what am I missing 
that I need to get x32 rules generated?

Also, could I request that CONFIG_X86_X32 be enabled for amd64?
Daniel Schepler

Reply to: